今天在linux上面安裝yum時,出現差錯,
apt-get install yum
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:
phpmyadmin: Depends: php5-mysql but it is not going to be installed or
php5-mysqli but it is not installable
Recommends: mysql-client
yum: Depends: python-urlgrabber but it is not going to be installed
Depends: python-rpm but it is not going to be installed
Depends: python-sqlitecachec but it is not going to be installed
Depends: python-sqlite but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
這是需要執行,
sudo apt-get --fix-broken install
來修復這些安裝包就行了。。
哈哈
搞定