Page 1 of 1
How to update MX correctly ? [Solved]
Posted: Tue Sep 15, 2020 4:24 pm
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
Re: How to update MX correctly ?
Posted: Tue Sep 15, 2020 4:30 pm
by Eadwine Rose
Try MX repo manager and switch locations. We do not maintain all the repos.
Re: How to update MX correctly ?
Posted: Tue Sep 15, 2020 4:31 pm
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.
Re: How to update MX correctly ?
Posted: Tue Sep 15, 2020 6:08 pm
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.
Re: How to update MX correctly ?
Posted: Tue Sep 15, 2020 11:07 pm
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
or
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.
Re: How to update MX correctly ?
Posted: Fri Sep 18, 2020 3:04 am
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?
Re: How to update MX correctly ?
Posted: Fri Sep 18, 2020 3:12 am
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" :

Re: How to update MX correctly ?
Posted: Fri Sep 18, 2020 3:18 am
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?
Re: How to update MX correctly ?
Posted: Fri Sep 18, 2020 3:27 am
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.
Re: How to update MX correctly ?
Posted: Fri Sep 18, 2020 4:24 am
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.
Re: How to update MX correctly ?
Posted: Fri Sep 18, 2020 8:37 am
by linexer2016
asqwerth wrote: Fri Sep 18, 2020 3:27 am
...
To linexer:
I'll leave the tech experts to answer the question on how mirrors work and issues of security.
Fair enough asqwerth, the experts might not necessarily see this post so I will await a response and if appropriate start a new thread. I do think it's a fair question though don't you?
Re: How to update MX correctly ?
Posted: Fri Sep 18, 2020 8:53 am
by asqwerth
Yes, I think it's a good idea to start a new thread and it is a good question.
Re: How to update MX correctly ?
Posted: Fri Sep 18, 2020 9:12 am
by linexer2016
asqwerth wrote: Fri Sep 18, 2020 8:53 am
Yes, I think it's a good idea to start a new thread and it is a good question.
Ok thanks and will now do so

Re: How to update MX correctly ?
Posted: Fri Sep 18, 2020 9:22 am
by dolphin_oracle
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?
most of the mirrors are run by third-parties. sometimes a mirror goes down after we produce an iso. When we update isos, we do try to remove non-working mirrors. I removed several with the 19.2 series. So we either missed one, or they went down later.
the live system tries to guess a close mirror. its not perfect, and it doesn't always select the fastest mirror either because at the time the setup is made, no internet connection exists. but it works more often than it doesn't.