Page 1 of 1
MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 10:20 am
by asinoro
I try to figure out the way where MX could be upgraded without reinstalling from one main version to the other permanently like Debian without problems. This is a question mainly to developers!
References Points:
1.
https://www.debian.org/releases/stable/ ... ading.html
2.
https://mxlinux.org/migration/
3.
https://mxlinux.org/wiki/system/upgradi ... nstalling/
From the above documentations, since MX Linux is based on Debian stable, I noticed that the biggest problem to the correct and secure upgrade is the obsolete packages. This is because the most MX packages consider obsolete for the Debian database.
So, I thought maybe if they are saved with the app "user-installed-packages", after removing them following the Debian documentation (1.) and the MX documentation point (3.). These basic packages could be installed after the upgrade procedure, avoiding the possibility of conflict with the database of Debian.
For this procedure, probably will need to use the Debian repositories during the upgrade, and after the upgrade the MX repositories.
Is this possible?
The upgrade path I think is the weak point of MX.
Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 10:21 am
by Eadwine Rose
Feel free to help out develop a solution for it

Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 10:31 am
by asinoro
Eadwine Rose wrote: Tue Jul 23, 2024 10:21 am
Feel free to help out develop a solution for it
I would like to do it, but first I don't have another computer to try it, and secondly most important I am not a developer.

Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 10:47 am
by CharlesV
I dont think you would need to be a developer really, however the lack of a second computer could be a problem. If your main computer is strong enough, then a Virtual Machine would be where I would work anyway.
There are many parts to this type of upgrade, but the starting point could be what you outlined. Creating a process of what needs to be done, and then walking through what can be done and what needs more attention and help could be a great spot to start something like this.
Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 11:51 am
by asinoro
CharlesV wrote: Tue Jul 23, 2024 10:47 am
I dont think you would need to be a developer really, however the lack of a second computer could be a problem. If your main computer is strong enough, then a Virtual Machine would be where I would work anyway.
There are many parts to this type of upgrade, but the starting point could be what you outlined. Creating a process of what needs to be done, and then walking through what can be done and what needs more attention and help could be a great spot to start something like this.
Unfortunately, my laptop is weak in processors and RAM, additionally my question to developers has a ground, since MX gives the option to boot from systemd, which probably is better for permanent upgrade, and later to switch to SysVinit. Maybe my question for permanently upgrade path will trigger something that the developers didn't think before. We are humans, not machines!
Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 12:07 pm
by CharlesV
Have you tried the steps as outlined *by the developers* here ?
https://mxlinux.org/wiki/system/upgradi ... nstalling/
The steps are listed and show the path and how to.
Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 12:17 pm
by asinoro
Not yet, and don't ask me why! But the unofficial path means not official, which means not permanent and reliable. This also means, that could work for one user but not for the other, in a percentage not acceptable.
Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 12:25 pm
by Eadwine Rose
Which means: unsupported. Install over it using a new version. Not that hard, if you have made proper backups you'll be done and ready on your new system in 2 hours.
Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 12:28 pm
by anticapitalista
Have you ever tried to do a Debian full upgrade from one release to another?
I'm sure the vast majority of new (Debian desktop) users haven't done so since that Chapter 4 Upgrades from Debian 11 (bullseye) is way beyond most users comprehension.
Re: MX Permanent Secure Upgrade Path? [Solved]
Posted: Tue Jul 23, 2024 12:37 pm
by CharlesV
I have been a tech for windows since 1989 and work with linux since 1994 and I can tell you for a fact that there are FAR too many variables to guarantee what I would call "acceptable percentages".
I cannot tell you how many times I have recovered machines where some application or issue caused a crash at the end of an update, or unpredictable / unstable. The reality is, if you install fresh, and then install applications after that, you are creating the best system you can run - and while it may seem like its "much more work" ... most of the time the result is far better.
The method outlined here to 'install fresh" and then reinstall the applications that you had on the old system (or as many as possible.), is about the best possible solution... and the devs have thought through and created a very good process to minimize the pain of 'reinstall'. Using the MX User Installed Applications tool can really help cut through most of the pain. And the devs have made the installer save and carry your data and configs to the new install. (as outlined in the MX Install docs)
Reading and working with the install this way... provides one of the best 'upgrades' I have seen for linux.
Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 12:46 pm
by asqwerth
I think the OP should accept that the devs are recommending fresh install, and have provided tools like:
1) User Installed Packages;
2) the installer being able to preserve /home while installing);
to help with fresh installs.
For now, I believe that the in-place migration/upgrade path provided is going to remain advice that comes with a caution/warning.
If you go that route, you may have to manually do your own troubleshooting. And all the more so if you have additional/third party repos enabled in your system.
For instance, Fedora - pretty big organisation - has official migration/upgrade path from one release to the next. I have used it every 0.5 years from Fedora 21 to Fedora 39. However, there are some years where I have had to try to sort out issues before the upgrade can go fully through. And this happens even though I disable the RPM Fusion [third party] repo before every migration.
Same with Kubuntu, Netrunner and KDE Neon, each of which I had tried to use the provided upgrade path over 3 consecutive releases. There are always some hiccups you have to solve yourself, maybe remove some packages, etc, before the upgrade can go through. And each of these 3 Ubuntu distros [which I used at different times of my life] always fully broke down after the 3rd migration. Bugs and lagginess just made these distros unpleasant to use after the 3rd migration.
Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 12:49 pm
by MadMax
anticapitalista wrote: Tue Jul 23, 2024 12:28 pm
I'm sure the vast majority of new (Debian desktop) users haven't done so since that Chapter 4 Upgrades from Debian 11 (bullseye) is way beyond most users comprehension.
The trick with that Chapter 4 is to know what parts are important for your system and what parts you can skip (as in: most of it

). But yes, for a beginner who expects something like Mint's updater or comes from Windows, the Debian upgrade path isn't easy at all.
For MX I'm pretty happy with the state of things. If you're feeling adventurous you can always go for the inofficial in-place upgrade which works similar to Debian's regular upgrade procedure, but be prepared that it will probably take longer (i.e. troubleshooting something) than just reinstalling it anyway.
EDIT: Fedora's half-yearly upgrade cycle is the reason I dropped it on my systems for good. It works most of the time, but it's still too much of a hassle to do it twice a year in my opinion. I prefer either stable releases with 2+ years of support or full-rolling like Arch.
Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 12:54 pm
by asinoro
anticapitalista wrote: Tue Jul 23, 2024 12:28 pm
Have you ever tried to do a Debian full upgrade from one release to another?
I'm sure the vast majority of new (Debian desktop) users haven't done so since that Chapter 4 Upgrades from Debian 11 (bullseye) is way beyond most users comprehension.
@anticapitalista, you have proved a very good developer with the antiX and in MX contribution, the point of my question is how MX can be more competitive with other Linux OS, since it is very innovative, but it lacks a very important element. If this is possible to happen, an easy permanent and secure upgrade, why not? Maybe I am completely mistaken, and my question is wrong since I am not a developer.
Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 12:57 pm
by Eadwine Rose
Why should we be more competitive? That is not the goal of MX. It's not a race after all :)
Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 1:06 pm
by asqwerth
MadMax wrote: Tue Jul 23, 2024 12:49 pm
....
EDIT: Fedora's half-yearly upgrade cycle is the reason I dropped it on my systems for good. It works most of the time, but it's still too much of a hassle to do it twice a year in my opinion. I prefer either stable releases with 2+ years of support or full-rolling like Arch.
It's definitely troublesome

but I like to collect distros as a multibooter. My philosophy for Fedora is
1. upgrade 1 release behind, so when F41 is released, I'll migrate to F40.
2. the day the migration path fails and troubleshooting doesn't work, I won't bother with Fedora anymore. No fresh install!
Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 1:07 pm
by MadMax
I suppose if it was "easy" do develop and integrate into MX the devs would have done it already, since yes, it would be a pretty nice tool in the MX toolkit. The "problem" with an upgrade tool like that is probably, that you'd need to develop it every 2 years almost from scratch and hard-code a lot of it, since it had to consider all of Debian's release-specific design changes.
Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 1:10 pm
by asqwerth
And everyone's system is different. I don't see how the devs can guarantee trouble-free in-place upgrade for every user.
Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 1:30 pm
by asinoro
Eadwine Rose wrote: Tue Jul 23, 2024 12:57 pm
Why should we be more competitive? That is not the goal of MX. It's not a race after all :)
As an honest person, I always say my opinion, which I know sometimes it is not nice! The end Linux user is the one that makes the choice, and distrowatch is an indication!
Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 1:34 pm
by anticapitalista
an easy permanent and secure upgrade, why not
Because it is not possible to guarantee success as there are too many variables to consider.
I actually upgraded antiX on this laptop I'm using from antiX-17 to antiX-19 > antiX-21 and antiX-23.
Each time was not easy as I had to fix various broken packages each time I upgraded.
In the end, I wiped the final upgrade as there were issues I could not fix that was causing boot delays and the desktop was not 'snappy'.
I started with a fresh antiX-23 and now I'm glad I did as the issues were not present.
A point and click UPGADE NOW app would be a disaster IMO
Re: MX Permanent Secure Upgrade Path?
Posted: Tue Jul 23, 2024 1:50 pm
by FullScale4Me
An in-place major version upgrade of ANY current OS that completes without ANY minor issues is a Unicorn. I've never seen it in my 37 years in IT!
CharlesV wrote:The method outlined here to 'install fresh" and then reinstall the applications that you had on the old system (or as many as possible.), is about the best possible solution... and the devs have thought through and created a very good process to minimize the pain of 'reinstall'. Using the MX User Installed Applications tool can really help cut through most of the pain. And the devs have made the installer save and carry your data and configs to the new install. (as outlined in the MX Install docs)
Reading and working with the install this way... provides one of the best 'upgrades' I have seen for linux.
I agree 110% Well said!
asqwerth wrote:For now, I believe that the in-place migration/upgrade path provided is going to remain advice that comes with a caution/warning.
Agree. IMHO the other distros that do NOT give any such caution are doing a disservice to their newbie users.
MadMax wrote: ...If you're feeling adventurous you can always go for the inofficial in-place upgrade which works similar to Debian's regular upgrade procedure, but be prepared that it will probably take longer (i.e. troubleshooting something) than just reinstalling it anyway...
+1 There is ample evidence to support this in the forum, such as requests for help after an upgrade failure.
With the 'Preserve Home' option in the
MX Installer and coupled with the
User Installed Packages tool one can get to >95% completion of a fresh install easily WITHOUT the cruft of old files that can/may cause issues.
What's left in that 5%?
- Other hand action changes (WiFi logon, VPN, boot options, etc)
Users should have a paper backup of the above list
BEFORE starting, regardless of the OS upgrade that was made available.
IMHO the developers of MX Linux have never been in any competition for such an OS as you describe. If a user wants an OS with both guard rails AND training wheels there is always that Linux OS with a name that sounds like candy :-)
Re: MX Permanent Secure Upgrade Path?
Posted: Wed Jul 24, 2024 10:29 pm
by Stevo
It still takes hours for me to do it the Debian way, so I don't see much, if any, advantage over saving my /home along with the custom shortcut scripts I have set up in /usr/local/bin when installing a new MX ISO over the old. My current MX 23 /home dates back to MX 17.
Re: MX Permanent Secure Upgrade Path?
Posted: Thu Jul 25, 2024 6:17 am
by asinoro
Stevo wrote: Wed Jul 24, 2024 10:29 pm
It still takes hours for me to do it the Debian way, so I don't see much, if any, advantage over saving my /home along with the custom shortcut scripts
I have set up in /usr/local/bin when installing a new MX ISO over the old. My current MX 23 /home dates back to MX 17.
Is this the official way of MX for upgrade, or you refer to something else?