我在 PopOs 上安装 Atom 时遇到此错误。
这里发生了什么?
sudo dpkg --install atom-amd64.deb
(Reading database ... 215577 files and directories currently installed.)
Preparing to unpack atom-amd64.deb ...
Unpacking atom (1.41.0) over (1.41.0) ...
dpkg: dependency problems prevent configuration of atom:
atom depends on libgconf-2-4 (>= 3.2.5) | libgconf2-4; however:
Package libgconf-2-4 is not installed.
Package libgconf2-4 is not installed.
dpkg: error processing package atom (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu1) ...
Processing triggers for mime-support (3.63ubuntu1) ...
Errors were encountered while processing:
atom
答案1
您需要该包的依赖项。如果他们可以满意,您可以通过运行来做到这一点:
sudo apt-get install -f