Autor Tópico: Problemas com dependências  (Lida 4645 vezes)

Offline Anastácio

  • Usuário Ubuntu
  • *
  • Mensagens: 5
    • Ver perfil
Problemas com dependências
« Online: 17 de Setembro de 2017, 22:09 »
 apt-get update
Atingido:1 http://br.archive.ubuntu.com/ubuntu xenial InRelease
Ign:2 http://dl.google.com/linux/deb stable InRelease                         
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease                   
Atingido:4 http://security.ubuntu.com/ubuntu xenial-security InRelease         
Atingido:5 http://dl.google.com/linux/deb stable Release                       
Atingido:6 http://archive.canonical.com/ubuntu wily InRelease                 
Ign:7 http://liveusb.info/multisystem/depot all InRelease                     
Atingido:8 http://dl.google.com/linux/chrome/deb stable Release               
Ign:9 http://repo.vivaldi.com/stable/deb stable InRelease                     
Atingido:11 http://liveusb.info/multisystem/depot all Release                 
Atingido:12 http://repo.vivaldi.com/stable/deb stable Release                 
Atingido:16 http://ppa.launchpad.net/flexiondotorg/hal-flash/ubuntu xenial InRelease
Atingido:17 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease
Atingido:18 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu xenial InRelease
Atingido:19 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu wily InRelease
Atingido:20 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Atingido:21 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
Atingido:22 http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu xenial InRelease
Lendo listas de pacotes... Pronto
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target Translations (main/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target Translations (main/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target DEP-11 (main/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/deb stable InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/chrome/deb stable InRelease' doesn't support architecture 'i386'
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target Translations (main/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target Translations (main/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target DEP-11 (main/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
root@#######/home/anastacio# apt-get upgrade
Lendo listas de pacotes... Pronto
Construindo árvore de dependências       
Lendo informação de estado... Pronto
Você pode querer executar 'apt-get -f install' para corrigí-los.
Os pacotes a seguir têm dependências desencontradas:
 adwaita-icon-theme : Depende: libgtk-3-bin mas não está instalado
E: Dependências desencontradas. Tente usar -f.
root@########:/home/anastacio# apt-get -f install
Lendo listas de pacotes... Pronto
Construindo árvore de dependências       
Lendo informação de estado... Pronto
Corrigindo dependências... Pronto
The following additional packages will be installed:
  libgtk-3-bin
Os NOVOS pacotes a seguir serão instalados:
  libgtk-3-bin
0 pacotes atualizados, 1 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
8 pacotes não totalmente instalados ou removidos.
É preciso baixar 0 B/55,3 kB de arquivos.
Depois desta operação, 282 kB adicionais de espaço em disco serão usados.
Você quer continuar? [S/n] s
(Lendo banco de dados ... 22486 ficheiros e directórios actualmente instalados.)
A preparar para desempacotar .../libgtk-3-bin_3.18.9-1ubuntu3_i386.deb ...
A acrescentar 'desvio de /usr/sbin/update-icon-caches para /usr/sbin/update-icon-caches.gtk2 por libgtk-3-bin'
dpkg-divert: erro: renomear envolve sobrescrever '/usr/sbin/update-icon-caches.gtk2' com
  arquivo diferente '/usr/sbin/update-icon-caches', não permitido
dpkg: erro ao processar o arquivo /var/cache/apt/archives/libgtk-3-bin_3.18.9-1ubuntu3_i386.deb (--unpack):
 sub-processo novo script pre-installation retornou estado de saída de erro 2
Erros foram encontrados durante o processamento de:
 /var/cache/apt/archives/libgtk-3-bin_3.18.9-1ubuntu3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Offline Esp

  • Usuário Ubuntu
  • *
  • Mensagens: 98
  • Toda ajuda é bem vinda. Ubuntu 16.04
    • Ver perfil

Offline Anastácio

  • Usuário Ubuntu
  • *
  • Mensagens: 5
    • Ver perfil
Re:Problemas com dependências
« Resposta #2 Online: 18 de Setembro de 2017, 21:19 »
Já fiz isso. Não deu certo não. :(

Offline galactus

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 4.683
    • Ver perfil
Re:Problemas com dependências
« Resposta #3 Online: 20 de Setembro de 2017, 07:28 »
Anastácio, vamos tentar arrumar isso aí! Já temos bastantes tópicos sobre este mesmo problema recorrente aqui no Fórum!  Quebra de pacotes devido a erros no sources.list com inclusão de muitos PPAs.  Achei que você encontraria sua resposta pesquisando aqui!  Mas vamos lá!

Você esta tentando instalar algo ou só atualizando o sistema?

Favor copiar e colar aqui as saídas dos seguintes comandos no terminal:

Código: [Selecionar]
lsb_release -a

grep ^ /etc/apt/sources.list.d/* /etc/apt/sources.list | more

Você tem o synaptic instalado aí?

Se não tiver, favor instalar o mesmo! 

Código: [Selecionar]
apt install synaptic
No aguardo!




Kubuntu 21.10 / Linux Mint XFCE 20.2

Offline Anastácio

  • Usuário Ubuntu
  • *
  • Mensagens: 5
    • Ver perfil
Re:Problemas com dependências
« Resposta #4 Online: 20 de Setembro de 2017, 22:29 »
 lsb_release -a
No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu 16.04.2 LTS
Release:   16.04
Codename:   xenial


 grep ^ /etc/apt/sources.list.d/* /etc/apt/sources.list | more
/etc/apt/sources.list.d/flexiondotorg-ubuntu-hal-flash-xenial.list:deb http://pp
a.launchpad.net/flexiondotorg/hal-flash/ubuntu xenial main
/etc/apt/sources.list.d/flexiondotorg-ubuntu-hal-flash-xenial.list:deb-src http:
//ppa.launchpad.net/flexiondotorg/hal-flash/ubuntu xenial main
/etc/apt/sources.list.d/flexiondotorg-ubuntu-hal-flash-xenial.list.save:deb http
://ppa.launchpad.net/flexiondotorg/hal-flash/ubuntu xenial main
/etc/apt/sources.list.d/flexiondotorg-ubuntu-hal-flash-xenial.list.save:deb-src
http://ppa.launchpad.net/flexiondotorg/hal-flash/ubuntu xenial main
/etc/apt/sources.list.d/google.list:# deb http://dl.google.com/linux/chrome/deb/
 stable main # desabilitado na atualização para xenial
/etc/apt/sources.list.d/google.list:deb http://dl.google.com/linux/chrome/deb/ s
table main
/etc/apt/sources.list.d/google.list.distUpgrade:deb http://dl.google.com/linux/c
hrome/deb/ stable main
/etc/apt/sources.list.d/google.list.save:# deb http://dl.google.com/linux/chrome
/deb/ stable main # desabilitado na atualização para xenial
/etc/apt/sources.list.d/google.list.save:deb http://dl.google.com/linux/chrome/d
eb/ stable main
/etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-xenial.list:deb http://ppa.l
aunchpad.net/nilarimogard/webupd8/ubuntu xenial main
/etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-xenial.list:# deb-src http:/
/ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial main
/etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-xenial.list.save:deb http://
ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial main
/etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-xenial.list.save:# deb-src h
ttp://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial main
/etc/apt/sources.list.d/team-xbmc-ubuntu-ppa-wily.list:deb http://ppa.launchpad.
net/team-xbmc/ppa/ubuntu xenial main # desabilitado na atualização para xenial
/etc/apt/sources.list.d/team-xbmc-ubuntu-ppa-wily.list:deb-src http://ppa.launch
pad.net/team-xbmc/ppa/ubuntu wily main
/etc/apt/sources.list.d/team-xbmc-ubuntu-ppa-wily.list.distUpgrade:deb http://pp
a.launchpad.net/team-xbmc/ppa/ubuntu wily main
/etc/apt/sources.list.d/team-xbmc-ubuntu-ppa-wily.list.distUpgrade:# deb-src htt
p://ppa.launchpad.net/team-xbmc/ppa/ubuntu wily main
/etc/apt/sources.list.d/team-xbmc-ubuntu-ppa-wily.list.save:deb http://ppa.launc
hpad.net/team-xbmc/ppa/ubuntu xenial main # desabilitado na atualização para xen
ial
/etc/apt/sources.list.d/team-xbmc-ubuntu-ppa-wily.list.save:deb-src http://ppa.l
aunchpad.net/team-xbmc/ppa/ubuntu wily main
/etc/apt/sources.list.d/vivaldi.list:### THIS FILE IS AUTOMATICALLY CONFIGURED #
##
/etc/apt/sources.list.d/vivaldi.list:# You may comment out this entry, but any o
ther modifications may be lost.
/etc/apt/sources.list.d/vivaldi.list:deb http://repo.vivaldi.com/stable/deb/ sta
ble main
/etc/apt/sources.list.d/vivaldi.list.save:### THIS FILE IS AUTOMATICALLY CONFIGU
RED ###
/etc/apt/sources.list.d/vivaldi.list.save:# You may comment out this entry, but
any other modifications may be lost.
/etc/apt/sources.list.d/vivaldi.list.save:deb http://repo.vivaldi.com/stable/deb
/ stable main
/etc/apt/sources.list.d/webupd8team-ubuntu-java-xenial.list:deb http://ppa.launc
hpad.net/webupd8team/java/ubuntu xenial main
/etc/apt/sources.list.d/webupd8team-ubuntu-java-xenial.list:# deb-src http://ppa
.launchpad.net/webupd8team/java/ubuntu xenial main
/etc/apt/sources.list.d/webupd8team-ubuntu-java-xenial.list.save:deb http://ppa.
launchpad.net/webupd8team/java/ubuntu xenial main
/etc/apt/sources.list.d/webupd8team-ubuntu-java-xenial.list.save:# deb-src http:
//ppa.launchpad.net/webupd8team/java/ubuntu xenial main
/etc/apt/sources.list.d/webupd8team-ubuntu-sublime-text-3-xenial.list:deb http:/
/ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial main
/etc/apt/sources.list.d/webupd8team-ubuntu-sublime-text-3-xenial.list:# deb-src
http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial main
/etc/apt/sources.list.d/webupd8team-ubuntu-sublime-text-3-xenial.list.save:deb h
ttp://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial main
/etc/apt/sources.list.d/webupd8team-ubuntu-sublime-text-3-xenial.list.save:# deb
-src http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial main
/etc/apt/sources.list.d/webupd8team-ubuntu-tor-browser-xenial.list:deb http://pp
a.launchpad.net/webupd8team/tor-browser/ubuntu xenial main
/etc/apt/sources.list.d/webupd8team-ubuntu-tor-browser-xenial.list:deb-src http:
//ppa.launchpad.net/webupd8team/tor-browser/ubuntu xenial main
/etc/apt/sources.list.d/webupd8team-ubuntu-tor-browser-xenial.list.save:deb http
://ppa.launchpad.net/webupd8team/tor-browser/ubuntu xenial main
/etc/apt/sources.list.d/webupd8team-ubuntu-tor-browser-xenial.list.save:deb-src
http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu xenial main
/etc/apt/sources.list:# See http://help.ubuntu.com/community/UpgradeNotes for ho
w to upgrade to
/etc/apt/sources.list:
/etc/apt/sources.list:# newer versions of the distribution.
/etc/apt/sources.list:deb http://br.archive.ubuntu.com/ubuntu/ xenial main multi
verse universe restricted
/etc/apt/sources.list:deb-src http://br.archive.ubuntu.com/ubuntu/ xenial main m
ultiverse universe restricted
/etc/apt/sources.list:
/etc/apt/sources.list:## Major bug fix updates produced after the final release
of the
/etc/apt/sources.list:## distribution.
/etc/apt/sources.list:
/etc/apt/sources.list:## N.B. software from this repository is ENTIRELY UNSUPPOR
TED by the Ubuntu
/etc/apt/sources.list:## team. Also, please note that software in universe WILL
NOT receive any
/etc/apt/sources.list:## review or updates from the Ubuntu security team.
/etc/apt/sources.list:
/etc/apt/sources.list:## N.B. software from this repository is ENTIRELY UNSUPPOR
TED by the Ubuntu
/etc/apt/sources.list:## team, and may not be under a free licence. Please satis
fy yourself as to
/etc/apt/sources.list:## your rights to use the software. Also, please note that
 software in
/etc/apt/sources.list:## multiverse WILL NOT receive any review or updates from
the Ubuntu
/etc/apt/sources.list:## security team.
/etc/apt/sources.list:
/etc/apt/sources.list:## N.B. software from this repository may not have been te
sted as
/etc/apt/sources.list:## extensively as that contained in the main release, alth
ough it includes
/etc/apt/sources.list:## newer versions of some applications which may provide u
seful features.
/etc/apt/sources.list:## Also, please note that software in backports WILL NOT r
eceive any review
/etc/apt/sources.list:## or updates from the Ubuntu security team.
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu xenial-security main
 multiverse universe restricted
/etc/apt/sources.list:deb-src http://security.ubuntu.com/ubuntu xenial-security
main multiverse universe restricted
/etc/apt/sources.list:deb http://liveusb.info/multisystem/depot all main
/etc/apt/sources.list:
/etc/apt/sources.list:## Uncomment the following two lines to add software from
Canonical's
/etc/apt/sources.list:## 'partner' repository.
/etc/apt/sources.list:## This software is not part of Ubuntu, but is offered by
Canonical and the
/etc/apt/sources.list:## respective vendors as a service to Ubuntu users.
/etc/apt/sources.list:deb http://archive.canonical.com/ubuntu wily partner
/etc/apt/sources.list:deb-src http://archive.canonical.com/ubuntu wily partner
/etc/apt/sources.list:deb http://dl.google.com/linux/deb/ stable main # desabili
tado na atualização para xenial
/etc/apt/sources.list:deb http://liveusb.info/multisystem/depot all main



 apt install synaptic
Lendo listas de pacotes... Pronto
Construindo árvore de dependências       
Lendo informação de estado... Pronto
Você deve querer executar 'apt-get -f install' para corrigí-los:
Os pacotes a seguir têm dependências desencontradas:
 adwaita-icon-theme : Depende: libgtk-3-bin mas não será instalado
 synaptic : Depende: libept1.5.0 mas não será instalado
            Depende: libvte-2.91-0 mas não será instalado
            Depende: libxapian22v5 mas não será instalado
            Recomenda: gksu mas não será instalado ou
                       kdebase-bin mas não será instalado ou
                       policykit-1 mas não será instalado
            Recomenda: libgtk2-perl (>= 1:1.130) mas não será instalado
            Recomenda: rarian-compat mas não será instalado
            Recomenda: xdg-utils mas não será instalado
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target Translations (main/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target Translations (main/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target DEP-11 (main/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:28 and /etc/apt/sources.list:37
E: Dependências desencontradas. Tente 'apt-get -f install' sem nenhum pacote (ou especifique uma solução).


não tem o Synaptic e já tentei instalar e não dá certo

Offline galactus

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 4.683
    • Ver perfil
Re:Problemas com dependências
« Resposta #5 Online: 21 de Setembro de 2017, 08:07 »
Olá Anastácio.

Sinto te informar que existe uma possibilidade grande do seu sistema não poder ser mais corrigido.   

São muitos os PPAs no seu sistema, PPAs com muitos programas que instalaram muitas bibliotecas fora do padrão do Ubuntu.  A coisa está tão feia que ele não quer mais instalar nem mesmo o Synaptic, dando erro de dependências desencontradas para instalar um programa simples que nunca dá erro de dependências quando apenas  os repositórios oficiais do Ubuntu são usados.

Eu pedi pra você tentar instalar o Synaptic para ficar mais fácil de remover os repositórios repetidos e possíveis PPAs do seu sistema em modo gráfico, mas como não é possível instalar o Synaptic, então você teria que seguir instruções para fazer isso em modo texto.   Além disso não tenho como te garantir que a remoção dos PPAs e a volta da lista de repositórios padrão do Ubuntu vá resolver para o seu sistema visto os erros de bibliotecas já instaladas no seu sistema conflitando com pacotes oficiais do sistema!

Resumindo eu pergunto, você ainda quer tentar corrigir a lista de repositórios e torcer para que só isso resolva, sem garantias como eu disse, ou vai preferir reinstalar o Ubuntu do zero e não fazer mais essa bagunça com PPAs e sua lista oficial dos repositórios?


Kubuntu 21.10 / Linux Mint XFCE 20.2

Offline Chamdpital

  • Usuário Ubuntu
  • *
  • Mensagens: 14
    • Ver perfil
Re:Problemas com dependências
« Resposta #6 Online: 23 de Fevereiro de 2018, 20:29 »
Olá Anastácio.

Sinto te informar que existe uma possibilidade grande do seu sistema não poder ser mais corrigido.   

São muitos os PPAs no seu sistema, PPAs com muitos programas que instalaram muitas bibliotecas fora do padrão do Ubuntu.  A coisa está tão feia que ele não quer mais instalar nem mesmo o Synaptic, dando erro de dependências desencontradas para instalar um programa simples que nunca dá erro de dependências quando apenas  os repositórios oficiais do Ubuntu são usados.

Eu pedi pra você tentar instalar o Synaptic para ficar mais fácil de remover os repositórios repetidos e possíveis PPAs do seu sistema em modo gráfico, mas como não é possível instalar o Synaptic, então você teria que seguir instruções para fazer isso em modo texto.   Além disso não tenho como te garantir que a remoção dos PPAs e a volta da lista de repositórios padrão do Ubuntu vá resolver para o seu sistema visto os erros de bibliotecas já instaladas no seu sistema conflitando com pacotes oficiais do sistema!

Resumindo eu pergunto, você ainda quer tentar corrigir a lista de repositórios e torcer para que só isso resolva, sem garantias como eu disse, ou vai preferir reinstalar o Ubuntu do zero e não fazer mais essa bagunça com PPAs e sua lista oficial dos repositórios?

Você pode me explicar como se faz isto por favor?