1
dpkg:--dry-run是否不检查依赖关系?
以下实践表明“ dpkg --dry-run”不执行依赖关系检查,或者至少我不知道该怎么做。如果我想确保在安装软件包之前清除依赖关系,该怎么办?非常感谢您的帮助。 $ sudo dpkg -i --dry-run bsdgames_2.17-21_amd64.deb (Reading database ... 120870 files and directories currently installed.) Preparing to replace bsdgames 2.17-21 (using bsdgames_2.17-21_amd64.deb) ... $ echo $? 0 $ sudo dpkg -i bsdgames_2.17-21_amd64.deb (Reading database ... 120870 files and directories currently installed.) Preparing to replace bsdgames 2.17-21 (using …