«Неудовлетворенные зависимости» после обновления до Ubuntu 15.10

Я обновил Ubuntu до 15.10, затем попытался скомпилировать приложение gtk и обнаружил, что у меня не установлен GTK.

Итак, я запустил

sudo apt-get 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
E: Unable to correct problems, you have held broken packages.

Как я могу это исправить? Я понятия не имею, почему существуют эти "неудовлетворенные зависимости" ... что-то не так со стороны ppa?

2
задан 4 March 2016 в 09:26

1 ответ

Поскольку Вы получаете you have held broken packages, сообщение об ошибке,
выполняются sudo apt-get install -f, который зафиксирует его.

[еще 115] информация из страницы справочника:

-f, --fix-broken
           Fix; attempt to correct a system with broken dependencies in place.
           This option, when used with install/remove, can omit any packages
           to permit APT to deduce a likely solution. If packages are
           specified, these have to completely correct the problem. The option
           is sometimes necessary when running APT for the first time; APT
           itself does not allow broken package dependencies to exist on a
           system. It is possible that a system's dependency structure can be
           so corrupt as to require manual intervention (which usually means
           using dpkg --remove to eliminate some of the offending packages).
           Use of this option together with -m may produce an error in some
           situations. Configuration Item: APT::Get::Fix-Broken.
1
ответ дан 4 March 2016 в 19:26
  • 1
    Вы перебрасываетесь парой слов на том, что я должен установить в NetworkManager для моей сети, чтобы заставить его использовать мой сервер для dhcp и dns? – A Gold Man 4 June 2017 в 07:38

Другие вопросы по тегам:

Похожие вопросы: