我遵循基于此链接https://docs.mongodb.com/compass/master/install/的命令
1. Download the package:
mongodb-compass_1.15.1_amd64.deb
2. Install Compass:
sudo dpkg -i mongodb-compass_1.15.1_amd64.deb;
(Reading database ... 195489 files and directories currently installed.)
Preparing to unpack mongodb-compass_1.15.1_amd64.deb ...
Unpacking mongodb-compass (1.15.1-1) ...
dpkg: dependency problems prevent configuration of mongodb-compass:
mongodb-compass depends on libgconf-2-4; however:
Package libgconf-2-4 is not installed.
dpkg: error processing package mongodb-compass (--install):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
mongodb-compass“How to fix‘in’error in Ubuntu”有人能帮我解决这个问题吗?
发布于 2019-01-18 15:22:29
如果你检查你的日志,你会看到这个错误:
dpkg:依赖问题导致mongodb-compass无法配置:
mongodb-compass依赖于libgconf-2-4;然而:包
未安装libgconf-2-4。
所以安装libgconf-2-4。
apt-get install libgconf-2-4发布于 2020-11-25 21:16:55
以防有多个包丢失
sudo apt install ...
会很单调乏味。运行后
sudo dpkg -i <package-name>
和获取依赖问题错误,你可以运行
sudo apt --fix-broken install
它将安装所有缺少的依赖项,并在此之后运行
sudo dpkg -i <package-name>
将安装您所需的软件包。
发布于 2020-12-03 07:10:59
先使用sudo apt install -f,然后使用sudo dpkg -i <your file.deb>
https://stackoverflow.com/questions/54247267
复制相似问题