apt-cache política gimp libgegl-0.2-0

1

Eu tentei instalar o Gimp no meu Ubuntu 14.04, mas encontrei um erro:

root@vitor-pc:~# LANG=C apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@vitor-pc:~# LANG=C apt-get install gimp 
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:
gimp : Depends: libgegl-0.2-0 (>= 0.2.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

E eu já tentei essa solução Como resolvo dependências não atendidas? .

No entanto, ainda recebo a mensagem acima.

Como posso consertar isso?

apt-cache policy <package> :

vitor@vitor-pc:~$ LANG=C apt-cache policy gimp libgegl-0.2-0
gimp:
Installed: (none)
Candidate: 2.8.10-0ubuntu1
Version table:
    2.8.10-0ubuntu1 0
    500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages
    2.8.10-0trusty4~ppa 0
    500 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu/   trusty/main i386 Packages
     2.8.8~trusty~NoobsLab.com 0
    500 http://ppa.launchpad.net/noobslab/ppa-gimp/ubuntu/ trusty/main i386   Packages
    libgegl-0.2-0:
    Installed: (none)
    Candidate: 0.2.1-3~trusty~Noobslab.com
    Version table:
    0.2.1-3~trusty~Noobslab.com 0
    500 http://ppa.launchpad.net/noobslab/ppa-gimp/ubuntu/ trusty/main  i386    Packages
 0.2.0-4ubuntu1 0
    500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages

apt-cache policy :

root@vitor-pc:~# LANG=C apt-cache policy
Package files:
100 /var/lib/dpkg/status
 release a=now
 500 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu/ trusty/main i386  Packages
 release v=14.04,o=LP-PPA-otto-kesselgulasch-gimp,a=trusty,n=trusty,l=gimp,c=main
 origin ppa.launchpad.net
 500 http://ppa.launchpad.net/noobslab/ppa-gimp/ubuntu/ trusty/main i386 Packages
 release v=14.04,o=LP-PPA-noobslab-ppa-gimp,a=trusty,n=trusty,l=Gimp,c=main
 origin ppa.launchpad.net
 500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main i386 Packages
 release v=14.04,o=LP-PPA-libreoffice,a=trusty,n=trusty,l=LibreOffice PPA,c=main
 origin ppa.launchpad.net
 500 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/ trusty/main i386 Packages
 release v=14.04,o=LP-PPA-kubuntu-ppa-backports,a=trusty,n=trusty,l=Kubuntu Backports,c=main
 origin ppa.launchpad.net
500 http://ppa.launchpad.net/irie/blender/ubuntu/ trusty/main i386 Packages
 release v=14.04,o=LP-PPA-irie-blender,a=trusty,n=trusty,l=PPA for Blender  2.4 and 2.7,c=main
 origin ppa.launchpad.net
500 http://ppa.launchpad.net/inkscape.dev/trunk/ubuntu/ trusty/main i386 Packages
 release v=14.04,o=LP-PPA-inkscape.dev-trunk,a=trusty,n=trusty,l=Inkscape Trunk,c=main
 origin ppa.launchpad.net
500 http://dl.google.com/linux/chrome/deb/ stable/main i386 Packages
 release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main
 origin dl.google.com
500 http://extras.ubuntu.com/ubuntu/ trusty/main i386 Packages
 release v=14.04,o=LP-PPA-app-review-board,a=trusty,n=trusty,l=Application Review Board PPA,c=main
 origin extras.ubuntu.com
500 http://archive.ubuntu.com/ubuntu/ trusty-security/universe Translation-en
500 http://archive.ubuntu.com/ubuntu/ trusty-security/restricted Translation-en
500 http://archive.ubuntu.com/ubuntu/ trusty-security/multiverse Translation-en
500 http://archive.ubuntu.com/ubuntu/ trusty-security/main Translation-en
500 http://archive.ubuntu.com/ubuntu/ trusty-security/multiverse i386 Packages
 release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=multiverse
 origin archive.ubuntu.com
500 http://archive.ubuntu.com/ubuntu/ trusty-security/universe i386 Packages
 release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=universe
 origin archive.ubuntu.com
500 http://archive.ubuntu.com/ubuntu/ trusty-security/restricted i386 Packages
 release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=restricted
 origin archive.ubuntu.com
500 http://archive.ubuntu.com/ubuntu/ trusty-security/main i386 Packages
 release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=main
 origin archive.ubuntu.com
500 http://archive.ubuntu.com/ubuntu/ trusty-backports/universe Translation-en
500 http://archive.ubuntu.com/ubuntu/ trusty-backports/restricted Translation-en
500 http://archive.ubuntu.com/ubuntu/ trusty-backports/multiverse Translation-en
500 http://archive.ubuntu.com/ubuntu/ trusty-backports/main Translation-en
100 http://archive.ubuntu.com/ubuntu/ trusty-backports/multiverse i386 Packages
 release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=multiverse
 origin archive.ubuntu.com
100 http://archive.ubuntu.com/ubuntu/ trusty-backports/universe i386 Packages
 release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=universe
 origin archive.ubuntu.com
100 http://archive.ubuntu.com/ubuntu/ trusty-backports/restricted i386 Packages
 release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=restricted
 origin archive.ubuntu.com
100 http://archive.ubuntu.com/ubuntu/ trusty-backports/main i386 Packages
 release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=main
 origin archive.ubuntu.com
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe Translation-en
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/restricted Translation-en
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/multiverse Translation-en
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main Translation-en
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/multiverse i386 Packages
 release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=multiverse
 origin archive.ubuntu.com
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe i386 Packages
 release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=universe
 origin archive.ubuntu.com
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/restricted i386 Packages
 release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=restricted
 origin archive.ubuntu.com
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
 release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=main
 origin archive.ubuntu.com
500 http://archive.ubuntu.com/ubuntu/ trusty/universe Translation-pt_BR
500 http://archive.ubuntu.com/ubuntu/ trusty/universe Translation-pt
500 http://archive.ubuntu.com/ubuntu/ trusty/universe Translation-en
500 http://archive.ubuntu.com/ubuntu/ trusty/restricted Translation-pt_BR
500 http://archive.ubuntu.com/ubuntu/ trusty/restricted Translation-pt
500 http://archive.ubuntu.com/ubuntu/ trusty/restricted Translation-en
500 http://archive.ubuntu.com/ubuntu/ trusty/multiverse Translation-pt_BR
500 http://archive.ubuntu.com/ubuntu/ trusty/multiverse Translation-pt
500 http://archive.ubuntu.com/ubuntu/ trusty/multiverse Translation-en
500 http://archive.ubuntu.com/ubuntu/ trusty/main Translation-pt_BR
500 http://archive.ubuntu.com/ubuntu/ trusty/main Translation-pt
500 http://archive.ubuntu.com/ubuntu/ trusty/main Translation-en
500 http://archive.ubuntu.com/ubuntu/ trusty/multiverse i386 Packages
 release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=multiverse
 origin archive.ubuntu.com
500 http://archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages
 release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=universe
 origin archive.ubuntu.com
500 http://archive.ubuntu.com/ubuntu/ trusty/restricted i386 Packages
 release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=restricted
 origin archive.ubuntu.com
500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages
 release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=main
 origin archive.ubuntu.com
 Pinned packages:
    
por Vitor Mazuco 16.07.2014 / 17:19

2 respostas

4

Você tem dois PPAs, provavelmente em seu /etc/apt/sources.list . Eles são

deb http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu/ trusty/main i386  
deb http://ppa.launchpad.net/noobslab/ppa-gimp/ubuntu/ trusty/main i386 

Estes dois se parecem com os PPAs do GIMP, mas como eles são iguais ou menores que a versão do PPA oficial, não há sentido para eles. Então, tire-os.

O problema imediato que você está enfrentando é como um efeito colateral de um desses PPAs, o do noobslab. Isto tem uma versão de libgegl-0.2-0 que é mais recente (0.2.1-3 ~ trusty ~ Noobslab.com) do que a do próprio Ubuntu (0.2.0-4ubuntu1). Por razões que não estão claras para mim, isso está impedindo que libgegl-0.2-0 seja instalado.

Se você quiser diagnosticar isso ainda mais (você provavelmente não faz isso), você pode executar

apt-get install libgegl-0.2-0

sem alterar nada e ver qual saída você recebe.

    
por 16.07.2014 / 17:59
2

Eu não sei se o seu problema ainda existe, mas caso tenha encontrado uma solução que funcionou para mim (Xenial 16.04):

Link para o ubuntuforums.org

O usuário propõe usar o aptitude em vez do apt-get para instalar o gimp.

sudo apt-get install aptitude
sudo aptitude update
sudo aptitude install gimp

Quando eu o instalei dessa forma, pediram-me algumas propostas de tratamento de erros no terminal (o que não posso mais mostrar aqui, infelizmente ...). O primeiro que eu negligenciei (inserindo "n" quando solicitado), mas o segundo que aceitei (inserindo "y" quando solicitado) - e isso funcionou.

Alguns pacotes foram rebaixados, as dependências foram resolvidas e o Gimp foi instalado com sucesso.

    
por 04.07.2016 / 16:46

Tags