ubuntu安装包提示错误you might want to run 'apt-get -f install' to correct these

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为安装失败的程序,错误提示中会给出其名称,不过也有可能是错误提示中未给出的,但之前安装出错的程序。

加粗样式

发布了23 篇原创文章 · 获赞 3 · 访问量 643

猜你喜欢

转载自blog.csdn.net/weixin_43042467/article/details/102600585
今日推荐