在 ubuntu 上安装 libgconf-2-4

anu*_*rag 8 linux ubuntu deb discord

今天我在 USB 驱动器上制作了一个可启动的 ubuntu。我想为我的 ubuntu 下载不和谐,并从不和谐网站下载了该文件。但是,当我尝试安装时,出现缺少依赖项错误。错误是:

dpkg: dependency problems prevent configuration of discord:
 discord depends on libatomic1; however:
  Package libatomic1 is not installed.
 discord depends on libgconf-2-4; however:
  Package libgconf-2-4 is not installed.
 discord depends on libappindicator1; however:
  Package libappindicator1 is not installed.
 discord depends on libc++1; however:
  Package libc++1 is not installed.
Run Code Online (Sandbox Code Playgroud)

当我尝试安装 libgconf-2-4 时,出现另一个错误:

Package libgconf-2-4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libgconf-2-4' has no installation candidate
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个问题?

Ren*_*cha 11

就我而言,我使用的是 ubuntu 20.04,我使用以下两个命令完成了它

apt install libgconf-2-4
Run Code Online (Sandbox Code Playgroud)

如果损坏则执行以下命令

apt --fix-broken install
Run Code Online (Sandbox Code Playgroud)