How to update MX correctly ?  [Solved]

Message
Author
User avatar
calixtus06
Posts: 147
Joined: Fri Jul 05, 2019 4:29 am

How to update MX correctly ?  [Solved]

#1 Post by calixtus06 »

I have a question: why does mx linux come with a mx repository that doesn't work and needs to be replaced by a repository found on the site?
Is it necessary to make updates from the terminal ( apt update && apt upgrade) or the simplified tool from the application menu?

Thanks by advance ?
Nico

User avatar
Eadwine Rose
Administrator
Posts: 15131
Joined: Wed Jul 12, 2006 2:10 am

Re: How to update MX correctly ?

#2 Post by Eadwine Rose »

Try MX repo manager and switch locations. We do not maintain all the repos.
MX-23.6_x64 July 31 2023 * 6.1.0-38amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
Mauser
Posts: 1506
Joined: Mon Jun 27, 2016 7:32 pm

Re: How to update MX correctly ?

#3 Post by Mauser »

No on both questions. In the panel it will alert you to any updates. Click on it and enter your password. If you don't see it in the panel type MX Updater in the Whisker menu and it will show up in the panel.
I am command line illiterate. :confused: I copy & paste to the terminal. Liars, Wiseguys, Trolls, and those without manners will be added to my ignore list. :mad:

User avatar
figueroa
Posts: 1106
Joined: Thu Dec 20, 2018 11:20 pm

Re: How to update MX correctly ?

#4 Post by figueroa »

Actually, by default you'll have to enter the root password in the updater dialog box when it asks for a password.
Also, out-of-the-box, your comment/question "why does mx linux come with a mx repository that doesn't work" is not true.
Andy Figueroa
Using Unix from 1984; GNU/Linux from 1993

User avatar
asqwerth
Developer
Posts: 8031
Joined: Sun May 27, 2007 5:37 am

Re: How to update MX correctly ?

#5 Post by asqwerth »

calixtus06 wrote: Tue Sep 15, 2020 4:24 pm...Is it necessary to make updates from the terminal ( apt update && apt upgrade) or the simplified tool from the application menu?

Thanks by advance ?
Nico
Is it really simplified? It's just a graphical frontend.

MX-Updater, the graphical tool, uses the

Code: Select all

apt full-upgrade
or

Code: Select all

apt dist-upgrade
command by default, not apt upgrade.

So if you use apt upgrade from the terminal, you will not get any package updates that require additional packages/dependencies to be installed or uninstalled in order for that update to go through, while you would if you used the GUI updater.

As for the MX repos, it generally depends on your location when you installed MX, because I believe that sets the relevant repo mirror to one closest to your location. The question is whether that mirror is currently in sync, or down for some reason. These mirrors are not maintained by MX.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
calixtus06
Posts: 147
Joined: Fri Jul 05, 2019 4:29 am

Re: How to update MX correctly ?

#6 Post by calixtus06 »

Eadwine Rose wrote: Tue Sep 15, 2020 4:30 pm Try MX repo manager and switch locations. We do not maintain all the repos.
So before an update I ask what is the fastest and then I run the update? Should I do this for mx repositories only or should I do it for debian repositories as well?

User avatar
calixtus06
Posts: 147
Joined: Fri Jul 05, 2019 4:29 am

Re: How to update MX correctly ?

#7 Post by calixtus06 »

figueroa wrote: Tue Sep 15, 2020 6:08 pm Actually, by default you'll have to enter the root password in the updater dialog box when it asks for a password.
Also, out-of-the-box, your comment/question "why does mx linux come with a mx repository that doesn't work" is not true.
Every time I install MX and do updates either with synaptic or with the dialog box, I always get an error message about an Mx repository. So I do an update on the debian repositories (I think) and I have to uncheck the mx repository to get no more error messages. And I go to the mx site to look for the deposit that is fine. I think I'm wrong or that" I mix my brushes" :

Image

User avatar
linexer2016
Posts: 733
Joined: Thu Dec 15, 2016 8:15 pm

Re: How to update MX correctly ?

#8 Post by linexer2016 »

[/quote]

...As for the MX repos, it generally depends on your location when you installed MX, because I believe that sets the relevant repo mirror to one closest to your location. The question is whether that mirror is currently in sync, or down for some reason. These mirrors are not maintained by MX.
[/quote]

asqwerth, this thread has me thinking something I've thought of for some time - if some repos are not maintained by MX does that necessarily provide a vector for altered components (i.e., something in fairness might have happened unintentionally) to get into one's system? It occurs to me that a mirror ideally would be
"authorised" or vetted in some way but perhaps I am worrying or expecting too much?

User avatar
asqwerth
Developer
Posts: 8031
Joined: Sun May 27, 2007 5:37 am

Re: How to update MX correctly ?

#9 Post by asqwerth »

To the OP: Fastest repo may not mean the most in sync repo.

Example is if you're in New Zealand (sorry, Gordon! ) you get assigned the nz mirror upon install, and likely if you later try to reset for fastest mirror. But that mirror is often late in syncing up with main repo based on the various posts I've seen in this forum.

If you are finding that an issue, don't uncheck your mx repo (or you won't get updates from there) . Change to the main mx repo in Utah, or use mirrors with good track record like the HK or Milan ones. I'm guessing Germany mirrors are OK as well.

After you switch mx repo, you need to do a

apt update

Before proceeding with an upgrade.

To linexer:
I'll leave the tech experts to answer the question on how mirrors work and issues of security.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
Rademes
Posts: 17
Joined: Sun Dec 25, 2016 9:52 am

Re: How to update MX correctly ?

#10 Post by Rademes »

calixtus06 wrote: Tue Sep 15, 2020 4:24 pm I have a question: why does mx linux come with a mx repository that doesn't work and needs to be replaced by a repository found on the site?
That is because MX Linux developers can not know, in which country you live. I always change the default repositories in Synaptic package manager before performing first "apt-get dist-upgrade". Please keep in mind, that the default repository and the closest to your location repository sometimes is not the best repository.
For Debian repositories I choose one of Primary Mirrors. In my case it is ftp.se.debian.org/debian/
For MX repository, I suggest you to check, is it available in your selected Debian mirrors server. You can do it in MX Repo Manager. In my case, the MX Repository is on the same mirror as the Debian repository (ftp.acc.umu.se is the same as ftp.se.debian.org).
You should choose the best repository mirrors by yourself.

Post Reply

Return to “General”