红联Linux门户
Linux帮助

ubuntu执行apt-get install ruby不能正常install

发布时间:2017-05-18 10:59:49来源:blog.csdn.net/luckgl作者:luckygl17
如遇到如下问题:
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:
git : Depends: liberror-perl but it is not going to be installed
Depends: git-man (> 1:2.7.4) but it is not going to be installed
Depends: git-man (< 1:2.7.4-.) 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 update --> update package informatio
sudo apt-get dist-upgrade --> upgrade packages on system
sudo apt-get -f install --> fix broken packages
 
然后:
sudo apt-get install ruby 一般就可以了。
 
本文永久更新地址:http://www.linuxdiyf.com/linux/30868.html