1

Upgrading from Ubuntu 11.04 to the next version seems to reinstall Mysql. Any way to ignore MySQL install during OS Update?

Liron Harel
  • 111
  • 4
  • 3
    Related: 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
  • 2
    Please 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 Answers1

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