Unmet dependencies. Try 'apt-get -f install' with no packages

在ubuntu14.04上用sudo apt-get install percona-xtrabackup安装xtrabackup时提示

zhj@my-SERVER:~$ sudo apt-get install percona-xtrabackup



[sudo] password for zhj:

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:

percona-xtrabackup : Depends: libdbd-mysql-perl but it is not going to be insta lled



E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a s olution).

当我输入sudo apt-get -f install percona-xtrabackup时提示相同的错误

解决方法是行执行sudo dpkg --purge percona-xtrabackup,再执行sudo apt-get -f install percona-xtrabackup

 

你可能感兴趣的:(Install)