Posiadam Debiana 6.0 i od niedawna spory problem z odinstalowaniem pakietu. Jakiś czas temu, instalując przez apt-get pakiet mysqltuner nie zauważyłem, że wciska mi również instalację mysql-server-5.1 i ten pakiet też zainstalowałem, mimo, że na serwerze działa wersja 5.0.91.
Pakiet mysql-server-5.1 odinstalowałem:
Kod: Zaznacz cały
apt-get remove mysql-server-5.1
dpkg -r
Kod: Zaznacz cały
root@serwer:~# dpkg --purge mysql-server-5.1
dpkg: warning: ignoring request to remove mysql-server-5.1 which isn't installed.
Kod: Zaznacz cały
root@serwer:~# apt-get install gedit
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gedit : Depends: gconf2 (>= 2.28.1-2) but it is not going to be installed
Depends: libatk1.0-0 (>= 1.29.3) but it is not going to be installed
Depends: libcairo2 (>= 1.2.4) but it is not going to be installed
Depends: libenchant1c2a (>= 1.6) but it is not going to be installed
Depends: libgconf2-4 (>= 2.27.0) but it is not going to be installed
Depends: libglib2.0-0 (>= 2.24.0) but it is not going to be installed
Depends: libgtk2.0-0 (>= 2.20.0) but it is not going to be installed
Depends: libgtksourceview2.0-0 (>= 2.10.0) but it is not going to be installed
Depends: libpango1.0-0 (>= 1.14.0) but it is not going to be installed
Depends: libpython2.6 (>= 2.6) but it is not going to be installed
Depends: gedit-common (>= 2.30) but it is not going to be installed
Depends: gedit-common (< 2.31) but it is not going to be installed
Depends: python-gtksourceview2 (>= 2.9.2) but it is not going to be installed
Depends: python-gobject (>= 2.15.4) but it is not going to be installed
Depends: python-gtk2 (>= 2.12.0) but it is not going to be installed
Depends: iso-codes but it is not going to be installed
Recommends: zenity but it is not going to be installed
Recommends: python-gnome2 but it is not going to be installed
mysql-server : Depends: mysql-server-5.1 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Wykonując powyższe zalecenia:
Kod: Zaznacz cały
root@serwer:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libmysqlclient16 mysql-client-5.1 mysql-common mysql-server mysql-server-5.1 mysql-server-core-5.1
Suggested packages:
tinyca
The following packages will be REMOVED:
mysql-client
The following NEW packages will be installed:
mysql-server-5.1
The following packages will be upgraded:
libmysqlclient16 mysql-client-5.1 mysql-common mysql-server mysql-server-core-5.1
5 upgraded, 1 newly installed, 1 to remove and 82 not upgraded.
1 not fully installed or removed.
Need to get 22.2 MB of archives.
After this operation, 14.4 MB of additional disk space will be used.
Jest mi ktoś w stanie podpowiedzieć jak doszczętnie pozbyć się tej wersji pakietu mysql 5.1?