@
xseven007 rm 了,也重新更新了,-f 也有带,但仍然是依赖的问题。一个完整的尝试是这样的:
root@v2:~# apt-get -f install mysql-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mysql-client : Depends: mysql-client-5.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@v2:~# apt-get -f install mysql-client-5.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mysql-client-5.5 : Depends: libdbd-mysql-perl (>= 1.2202) but it is not going to be installed
Depends: libdbi-perl but it is not going to be installed
Depends: libterm-readkey-perl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@v2:~# apt-get -f install libdbi-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libdbi-perl : Depends: perlapi-5.18.1
E: Unable to correct problems, you have held broken packages.
root@v2:~# apt-get -f install perlapi-5.18.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package perlapi-5.18.1 is a virtual package provided by:
perl-base 5.18.2-2ubuntu1 [Not candidate version]
E: Package 'perlapi-5.18.1' has no installation candidate