“dependências não atendidas” após a atualização para o Ubuntu 15.10

3

Eu atualizei o ubuntu para o 15.10, então eu tentei compilar um aplicativo gtk e descobri que não tinha o GTK instalado.

Então corri

sudo apt-get install libgtk-3-dev

mas esta é a saída

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.

Como posso consertar isso? Eu não tenho idéia do porque há essas "dependências não satisfeitas" ... algo errado no lado ppa?

    
por Dean 04.03.2016 / 05:08

1 resposta

1

À medida que você recebe a mensagem de erro you have held broken packages ,
execute sudo apt-get install -f , que irá corrigir isso.

Mais informações na página man:

-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.
    
por Severus Tux 04.03.2016 / 05:42