Error when upgrading MySQL
On routine update/upgrade on every VPS I have. Suddenly I get an error and it's only on one server. I get error on MySQL dependencies. I have tried as shown below,but still failed.
I dont want to reinstall the VPS as it's the main server with DNS and many other stuff. It's Debian 6.
Can anyone help me..
232703:~# apt-get upgrade 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: mysql-server-5.1 : Depends: mysql-client-5.1 (>= 5.1.63-0+squeeze1) but it is not installed E: Unmet dependencies. Try using -f. 232703:~# apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following package was automatically installed and is no longer required: mysql-client-core-5.5 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: mysql-client-5.1 Suggested packages: libterm-readkey-perl The following NEW packages will be installed: mysql-client-5.1 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/9587 kB of archives. After this operation, 22.9 MB of additional disk space will be used. Do you want to continue [Y/n]? (Reading database ... 44662 files and directories currently installed.) Unpacking mysql-client-5.1 (from .../mysql-client-5.1_5.1.63-0+squeeze1_i386.deb) ... dpkg: error processing /var/cache/apt/archives/mysql-client-5.1_5.1.63-0+squeeze1_i386.deb (--unpack): trying to overwrite '/usr/bin/mysqlcheck', which is also in package mysql-client-core-5.5 5.5.25a-1~dotdeb.1 configured to not write apport reports dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/mysql-client-5.1_5.1.63-0+squeeze1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) 232703:~#
Thanks in advance...
Get Free USD10 in DigitalOcean credit https://www.digitalocean.com/?refcode=c224f768eb1c