E:需要重新安装 mongodb-org-server 软件包,但我找不到它的存档

E:需要重新安装 mongodb-org-server 软件包,但我找不到它的存档

我正在尝试安装 mongodb compass。当我尝试安装时,我得到了

Preparing to unpack mongodb-compass_1.39.0_amd64.deb ...
Unpacking mongodb-compass (1.39.0) over (1.39.0) ...
dpkg: dependency problems prevent configuration of mongodb-compass:
 mongodb-compass depends on libgconf-2-4 | libgconf2-4; however:
  Package libgconf-2-4 is not installed.
  Package libgconf2-4 is not installed.
 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 mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Errors were encountered while processing:
 mongodb-compass

之后我尝试使用命令安装 libgconf-2-4

sudo apt-get install libgconf-2-4

但出现错误

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: The package mongodb-org-server needs to be reinstalled, but I can't find an archive for it.

我尝试使用以下命令,但均不起作用 sudo rm /var/lib/apt/lists/* -vf sudo apt-get update

我正在使用带有 i5 处理器 16GB 内存的 Ubuntu 22.04.2 LTS。

相关内容