无法安装 gtk-3-dev:无法纠正问题,您持有损坏的软件包

无法安装 gtk-3-dev:无法纠正问题,您持有损坏的软件包

我在 Ubuntu 19.04 上并一直尝试安装 libgtk-3-dev,但出现以下错误:

~/Downloads/Software $ sudo apt install libgtk-3-dev
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 to resolve the situation:

The following packages have unmet dependencies:
 libgtk-3-dev : Depends: libegl1-mesa-dev but it is not going to be installed
                Depends: libepoxy-dev (>= 1.0) but it is not going to be installed

我尝试使用以下所有方法进行修复:

  • sudo apt update && sudo apt upgrade(一切良好,输出无错误)
  • sudo apt update --fix-missing(一切良好,输出无错误)
  • sudo dpkg --configure -a(空输出,无错误)
  • sudo aptitude install libgtk-3-dev(没有错误,但是包未安装)
  • 通过 UI 进行突触(给出了相同的错误)

什么都没起作用。有什么想法我下一步该尝试什么吗?

相关内容