Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 643  / 2 Years ago, tue, february 1, 2022, 7:45:07

Ubuntu 20.04


Long story short: on a new box mysql 8 was installed, then uninstalled and purged, then mysql 5.7 was installed with a fair bit of difficulty via alternative repositories. For reference, here is a link to the recipe I used to install 5.7: https://computingforgeeks.com/how-to-install-mysql-on-ubuntu-focal/


My question: How do I ensure that future upgrade activities will preserve mysql 5.7 and avoid mysql 8 being inadvertently upgraded on top of it?


Thank you for your time.


More From » server

 Answers
6

Lock the package to particular version. I'm not sure how to do this using command line, as I usually use Synaptic to install or remove anything. In Synaptic, select the package in installed packages list and from menu select Package -> Lock version (I'm not sure about the exact English names of menu option, as I'm using a non-English language version of Ubuntu). Packages with locked version will never be updated.


[#2158] Wednesday, February 2, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
deringach

Total Points: 412
Total Questions: 107
Total Answers: 101

Location: Palestine
Member since Tue, Jul 20, 2021
3 Years ago
deringach questions
Sat, Oct 30, 21, 17:38, 3 Years ago
Fri, Oct 21, 22, 16:34, 2 Years ago
Tue, Feb 15, 22, 22:33, 2 Years ago
Tue, Feb 7, 23, 03:57, 1 Year ago
;