Ubuntu报错修复方法

版权声明:本文为博主原创文章,转载请联系作者 https://blog.csdn.net/u013832707/article/details/78716904

错误内容:

An error occurred, please run Package Manager from the right-click
from the right click window or apt-get in a terminal to see what is
wrong. The error message was: ‘Unknown Error:”(E:The package
google-chrome-stable needs to be reinstalled, but I can’t find an
archive for it.)’This usually means that you have >installed packages
with unmet dependencies

修复方法:

step一 :升级 packages

sudo apt-get update

step二:清除下载的packages

sudo apt-get clean

step三:删除不需要的包(可选,慎重操作!可能会删除系统需要但依赖关系有问题的包。博主没有执行这条命令)

sudo apt-get autoremove

step四:重新配置所有的包

sudo dpkg --configure -a

step五:修复受损的包

sudo apt-get install -f

猜你喜欢

转载自blog.csdn.net/u013832707/article/details/78716904