当我使用sudo dpkg -i code_1.58.2-1626300392_arm64.deb
然后
(Reading database ... 99048 files and directories currently installed.)
Preparing to unpack code_1.58.2-1626300392_arm64.deb ...
Unpacking code:arm64 (1.58.2-1626300392) ...
dpkg: dependency problems prevent configuration of code:arm64:
code:arm64 depends on libnss3 (>= 2:3.26).
code:arm64 depends on apt.
code:arm64 depends on libxkbfile1.
code:arm64 depends on libsecret-1-0.
code:arm64 depends on libgtk-3-0 (>= 3.10.0).
code:arm64 depends on libxss1.
code:arm64 depends on libgbm1.
dpkg: error processing package code:arm64 (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.31.4-3) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for shared-mime-info (1.10-1) ...
Errors were encountered while processing:
code:arm64
答案1
dpkg
无法自动处理依赖项。请apt
改用。
sudo apt install ./code_1.58.2-1626300392_arm64.deb
或者,如果你已经使用安装了它dpkg
,你可以使用
sudo apt install -f