造冰箱的大熊猫@cnblogs 2019/9/10
向灵魂工程师致敬!
在Ubuntu环境下通过dpkg命令安装deb包时,如果遇到包依赖问题,如
$sudo dpkg -i xxx.deb (Reading database ... 227173 files and directories currently installed.) Preparing to unpack xxx.deb ... Unpacking xxx (1.0.0) over (1.0.0) ... dpkg: dependency problems prevent configuration of xxx: xxx depends on yyy; however: Package yyy is not installed.
此时,执行“sudo apt-get -f install”命令修复包依赖,然后再使用dpkg安装deb包。