When upgrading from LMDE 5 to 6, the Linux Mint Debian Edition upgrade tool "mintupgrade" did not work due to some packages being marked as incompatible with LMDE 6. I had to perform the upgrade manually, done in the same way as upgrading a vanilla Debian installation.
I had added repositories for PHP and MariaDB and installed higher versions that were not available in the LMDE 5/Debian 11 default repositories. The "mintupgrade" tool complained that these versions are incompatible with LMDE 6/Debian 12, despite those versions being available in the Debian 12 repositories. The "fix" function of the "mintupgrade" tool was ineffective and seemed to do nothing, so I downgraded the PHP and MariaDB packages, but that did not please "mintupgrade". I removed all PHP and MariaDB packages, which did result in the Mint Upgrade tool no longer complaining about them; however, there was still a vital system package that Mint Upgrade still showed as being incompatible. Removal of that package would have resulted in the removal of dozens of other vital system packages, thus resulting in a broken system. Downgrading the package did not work, either.
I decided to restore my LMDE 5 system from a backup I had made immediately prior to beginning the upgrade process in order to keep the PHP and MariaDB packages that I had uninstalled during the attempted upgrade. I then performed the upgrade manually without using the Mint Upgrade tool whatsoever.
I followed the instructions found here:
https://www.cyberciti.biz/faq/update-upgrade-debian-11-to-debian-12-bookworm/
…and everything worked perfectly. One note is that I first had to upgrade MariaDB using the mariadb_repo_setup script, which required me to manually set the OS type and OS version, as the script was seeing my system as being os-type=lmde and os-version=5, which are not recognized by the script. I had to set --os-type=debian and --os-version=12 as parameters when running the MariaDB repo setup script.
The upgrade process then performed flawlessly, and I rebooted into an LMDE 6 system with no complications whatsoever.
Tags
- Log in to post comments