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

Posted dxmcu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu安装包提示错误you might want to run ‘apt-get -f install‘ to correct these相关的知识,希望对你有一定的参考价值。

问题描述:

ubuntu使用”apt-get install“安装程序时遇到错误提示

     you might want to run 'apt-get -f install' to correct these

解决方案:

使用如下命令修复安装包(终于解决了,搞了大半天了)

$ sudo apt-get --fix-broken install

或者使用命令

$ sudo dpkg --purge xxx

其中xxx为安装失败的程序,错误提示中会给出其名称,不过也有可能是错误提示中未给出的,但之前安装出错的程序。

以上是关于ubuntu安装包提示错误you might want to run ‘apt-get -f install‘ to correct these的主要内容,如果未能解决你的问题,请参考以下文章

11 Python Libraries You Might Not Know

ubuntu 脚本 修改权限之后还是无法执行如$hello 回复command not found 书上提示 check you PATH请问咋弄

mount: /bak: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<t

fedora18 You might need to install dependency packages for libxcb.

pg_dump: [archiver (db)] query failed: ERROR: out of shared memory HINT: You might need to increas

解决:You might be seeing this error because you‘re using the wrong Compose file version