`
jimlaren
  • 浏览: 42687 次
文章分类
社区版块
存档分类
最新评论

I Tried to Upgrade My System, but I Get an Error

F# 
阅读更多

If you try to install some software or upgrade your computer, and you get an error, the package manager may have tied itself in a knot. To try to resolve this, open a terminal, and run the following commands:

foo@bar:~$ sudo apt-get update
foo@bar:~$ sudo apt-get -f install

The first command updates your package list, and the second command tries to fix your package manager. If this is successful the packages that failed will be installed correctly.

In addition to these commands, you can reconfigure any packages that have not yet been configured by running:

foo@bar:~$ sudo dpkg configure pending
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics