Ubuntu下dpkg安装软件遇到包依赖问题的处理方法

分手后的思念是犯贱 2023-08-17 17:39 239阅读 0赞

造冰箱的大熊猫@cnblogs 2019/9/10

向灵魂工程师致敬!

在Ubuntu环境下通过dpkg命令安装deb包时,如果遇到包依赖问题,如

  1. $sudo dpkg -i xxx.deb
  2. (Reading database ... 227173 files and directories currently installed.)
  3. Preparing to unpack xxx.deb ...
  4. Unpacking xxx (1.0.0) over (1.0.0) ...
  5. dpkg: dependency problems prevent configuration of xxx:
  6. xxx depends on yyy; however:
  7. Package yyy is not installed.

此时,执行“sudo apt-get -f install”命令修复包依赖,然后再使用dpkg安装deb包。

转载于:https://www.cnblogs.com/pandabang/p/11497245.html

发表评论

表情:
评论列表 (有 0 条评论,239人围观)

还没有评论,来说两句吧...

相关阅读