Cobra Forum

Linux => Installation & Upgrades => Topic started by: kalpana on Oct 07, 2023, 03:27 AM

Title: Unable to upgrade from Ubuntu 20.04 to 22.04 after holding MySQL 5.7
Post by: kalpana on Oct 07, 2023, 03:27 AM
Hi Team,

We are currently in the process of upgrading from Ubuntu 18.04 to Ubuntu 22.04. On our current Ubuntu servers, we have MySQL 5.7.42 installed.

We successfully prevented the upgrade of MySQL during the transition from Ubuntu 18.04 to Ubuntu 20.04. However, we encountered an issue when attempting to do the same during the upgrade from Ubuntu 20.04 to Ubuntu 22.04. We received the following message when trying to issue the 'do-release-upgrade' command:

"do-release-upgradeChecking for a new Ubuntu release
Please install all available updates for your release before upgrading."



To hold the packages, we used the 'apt-mark hold' command and we tried 'aptitude hold' command as well

BR