Ubuntu下每次安装软件都会出现问题 提示 run 'apt-get -f install' 求高手指点

xtong@ubuntu:~$ sudo apt-get install cmatrix[sudo] password for xtong: Reading package lists... DoneBuilding dependency tree Reading state information... DoneYou might want to run 'apt-get -f install' to correct these:The following packages have unmet dependencies: deputy-tinyos : Depends: nesc but it is not going to be installed tinyos-required-avr : Depends: nesc but it is not going to be installed tinyos-required-msp430 : Depends: nesc but it is not going to be installedE: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

在终端下键入 sudo apt-get install -f
你得到信息是说 你的软件不满足依赖关系,需要手动修复
也就是这个命令追问

我修复过 修复后我配置的Tinyos环境 就没了 重新配置好后 再install 还是这个问题
只有这一种解决办法了么?我真心不想重新配置......

追答

我装了一下 一切正常
好奇怪 我在看看

温馨提示:内容为网友见解,仅供参考
第1个回答  2013-12-27
apt-get -f install里面的-f全程是fix-missing software,明白了吗?就是你要安装的软件有些依赖包没有下载到,需要你下载安装上以后,再进行安装。
第2个回答  2013-12-27
似乎是需要软件支持库,不然无法正常使用,所以提示你如果要安装可以加个-f强制安装。
第3个回答  2013-12-26
阿发实打实大师的
相似回答