Upgrading from Ubuntu 11.04 to the next version seems to reinstall Mysql. Any way to ignore MySQL install during OS Update?
Asked
Active
Viewed 1,747 times
1
-
3Related: https://askubuntu.com/questions/592138/how-to-upgrade-ubuntu-release-while-keeping-versions-of-already-installed-packag By the way, 11.04 [crossed the EOL line](https://lists.ubuntu.com/archives/ubuntu-announce/2012-October/000165.html) more than 5 years ago! – Melebius Apr 25 '18 at 12:17
-
2Please kindly backup data and re-install fresh your system is EOL for over 5 years and a lot would have changed since then – George Udosen Apr 25 '18 at 14:27
1 Answers
2
if you want to avoid that apt-get upgrade update certain package, you can "hold" it in the following way:
Hold a package (do not upgrade):
sudo apt-mark hold <package-name>
disable hold (upgrade package the usual way):
sudo apt-mark unhold <package-name>
for MySQL:
sudo apt-mark hold mysql-server
spaceman117X
- 379
- 2
- 11
-
-
-
Never had such issue before. On my Mint18 works just fine: `user@server ~ $ sudo apt-mark hold mysql-server [sudo] password for user: mysql-server set on hold. ` – spaceman117X Apr 25 '18 at 12:44