Erro de dependências não atendido no terminal

1

Olá pessoal estou tentando instalar o tema do macubuntu no meu linux e eu continuei com o seguinte comando: sudo apt-get install macbuntu-os-ithemes-lts-v7

Recebi o seguinte erro:

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:
 macbuntu-os-ithemes-lts-v7 : Depends: gtk2-engines-pixbuf but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Eu tentei resolvê-lo instalando os pacotes requeridos por este comando:

sudo apt-get install gtk2-engines-pixbuf

Mas agora recebo este erro:

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:
 gtk2-engines-pixbuf : Depends: libgtk2.0-0 (= 2.24.30-1ubuntu1) but 2.24.30-1ubuntu1.16.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.

Eu não posso prosseguir mais agora. Qualquer ajuda seria apreciada:)

EDIT: saída de apt-cache policy gtk2-engines-pixbuf

gtk2-engines-pixbuf:
Installed: (none)
Candidate: 2.24.30-1ubuntu1
Version table:
     2.24.30-1ubuntu1 500
        500 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

EDIT 2: Lista de fontes:

deb http://in.archive.ubuntu.com/ubuntu/ xenial main universe restricted multiverse
deb http://archive.ubuntu.com/ubuntu xenial restricted multiverse universe main
# deb-src http://archive.ubuntu.com/ubuntu xenial main universe restricted multiverse
# deb-src http://archive.ubuntu.com/ubuntu xenial universe
# deb-src http://archive.ubuntu.com/ubuntu xenial universe
# deb-src http://archive.ubuntu.com/ubuntu xenial main universe restricted multiverse
deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

etc / apt / sources.list.d:

/etc/apt/sources.list.d/cloudfoundry-cli.list
/etc/apt/sources.list.d/damien-moore-ubuntu-codeblocks-stable-xenial.list
/etc/apt/sources.list.d/damien-moore-ubuntu-codeblocks-stable-xenial.list.save
/etc/apt/sources.list.d/danielrichter2007-ubuntu-grub-customizer-xenial.list
/etc/apt/sources.list.d/danielrichter2007-ubuntu-grub-customizer-xenial.list.save
/etc/apt/sources.list.d/docky-core-ubuntu-stable-xenial.list
/etc/apt/sources.list.d/docky-core-ubuntu-stable-xenial.list.save
/etc/apt/sources.list.d/google-chrome.list
/etc/apt/sources.list.d/google-chrome.list.save
/etc/apt/sources.list.d/google-cloud-sdk.list
/etc/apt/sources.list.d/google-cloud-sdk.list.save
/etc/apt/sources.list.d/jonathonf-ubuntu-python-3_6-xenial.list
/etc/apt/sources.list.d/jonathonf-ubuntu-python-3_6-xenial.list.save
/etc/apt/sources.list.d/mongodb-org-3.2.list
/etc/apt/sources.list.d/mongodb-org-3.2.list.save
/etc/apt/sources.list.d/nodesource.list
/etc/apt/sources.list.d/nodesource.list.save
/etc/apt/sources.list.d/noobslab-ubuntu-macbuntu-xenial.list
/etc/apt/sources.list.d/noobslab-ubuntu-macbuntu-xenial.list.save
/etc/apt/sources.list.d/noobslab-ubuntu-themes-xenial.list
/etc/apt/sources.list.d/noobslab-ubuntu-themes-xenial.list.save
/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list
/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list.save
/etc/apt/sources.list.d/sublime-text.list
/etc/apt/sources.list.d/sublime-text.list.save
/etc/apt/sources.list.d/webupd8team-ubuntu-tor-browser-xenial.list
/etc/apt/sources.list.d/webupd8team-ubuntu-tor-browser-xenial.list.save
    
por Shubham Gupta 17.12.2017 / 11:57

1 resposta

1

macbuntu-os-ithemes-lts-v7 depende de gtk2-engines-pixbuf , que por sua vez depende de libgtk2.0-0 e, além disso, é imperativo que gtk2-engines-pixbuf e libgtk2.0-0 sejam mantidos na mesma versão.

Por motivos que ainda não estão claros, seu sistema queria instalar a versão 2.24.30-1ubuntu1 de gtk2-engines-pixbuf e a versão 2.24.30-1ubuntu1.16.04.2 de libgtk2.0-0 . Como 2.24.30-1ubuntu1.16.04.2 é uma versão superior a 2.24.30-1ubuntu1 , ambos os pacotes devem estar na versão 2.24.30-1ubuntu1.16.04.2 , mas como mostrado por apt-cache policy gtk2-engines-pixbuf , você não tem um repositório que forneça a versão 2.24.30-1ubuntu1.16.04.2 de gtk2-engines-pixbuf .

Por packages.ubuntu.com , esta versão está disponível em xenial-updates/universe , então esta seção do arquivo deve ser ativada, por exemplo, ativando xenial-updates em Software & amp; Atualizações → Atualizações .

    
por fkraiem 17.12.2017 / 14:02