Apt dependency hell
Michael ODonnell
michael.odonnell at comcast.net
Wed Nov 29 14:11:49 EST 2006
You should be able to get a sense of which MYSQL-related packages are
currently installed thus:
function dgrep () { COLUMNS=300 dpkg -l | tr -s '[:blank:]' ' ' | grep $*; }
dgrep -i mysql
...and you should be able to get a sense of which packages are available
to you in the repositor{y,ies} thus:
apt-cache search mysql | fgrep -i mysql | sort
...and you might then be able to make some human-in-the-loop decisions
about which of your current packages you need to get rid of:
apt-get remove mysql-client-4.1 mysql-server-4.1 # ...for example
...before you then explicitly install the ones you want:
apt-get install mysql-server-5.0 mysql-client-5.0 # ...for example
More information about the gnhlug-discuss
mailing list