尝试安装软件包时出现“E:无法更正问题,您持有损坏的软件包”。其他线程均未奏效

尝试安装软件包时出现“E:无法更正问题,您持有损坏的软件包”。其他线程均未奏效

问题

我正在尝试安装 Dolphin Emulator,但每次尝试都会出错。我尝试的所有方法都不起作用,包括许多其他线程的解决方案。

sudo apt-get install dolphin-emu
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created or
been moved out of Incoming.
The following information may help resolve the situation:

The following packages have unmet dependencies:
dolphin-emu : Depends : libstdc++6 (>= 4.9) but 4.8.4-2ubuntu1~14.04
is to be installed
E: Unable to correct problems, you have held broken packages.

我尝试过的

我尝试了许多其他线程的解决方案来解决这个问题。我试过

sudo apt-get clean
sudo apt-get autoclean

sudo aptitude install dolphin-emu

sudo apt-get update
sudo apt-get distro-upgrade
sudo apt-get update
sudo apt-get install dolphin-emu

sudo apt-get -u dist-upgrade

sudo apt-get -f install

另外,我没有与 Dolphin Emulator 相关的软件包。我进入了 Synaptic,当我进入 Synaptic->Custom Filters->Broken 时,什么也没有显示出来。此外,在 Edit->Fix Broken Packages 中也没有任何事情发生。software-properties-gtk,我的所有存储库都已启用。

有人能帮我吗?我在网上搜索了好久,还是没找到。如果能找到我会非常感激。提前谢谢!

答案1

答案很简单。Ubuntu 存储库中没有libstdc++6Trusty 的权限。您需要额外的电力供应协议

sudo add-apt-repository ppa:dolphin-emu/gcc-for-dolphin
sudo apt-get update

相关内容