ubuntu安装包提示错误you might want to run ‘apt-get -f install’ to correct these
问题描述:
ubuntu使用”apt-get install“安装samba程序时遇到错误提示
***you might want to run 'apt-get -f install' to correct these***
解决方案:
使用如下命令修复安装包
$ sudo apt-get --fix-broken install
或者使用命令
$ sudo dpkg --purge xxx
其中xxx为安装失败的程序,错误提示中会给出其名称,不过也有可能是错误提示中未给出的,但之前安装出错的程序。
加粗样式