Versão do libsqlite3-0:amd64 em conflito

Iniciado por asf100, 18 de Setembro de 2012, 17:04

tópico anterior - próximo tópico

asf100

Oi,

Ao tentar instalar qualquer aplicativo com apt-get está dando sempre erro. Já tentei alguns comandos para tentar corrigir como abaixo e não estou conseguindo. Alguém tem alguma idéia?

asf100@mj-117105:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libsqlite3-0:i386
The following packages will be upgraded:
libsqlite3-0:i386
1 upgraded, 0 newly installed, 0 to remove and 290 not upgraded.
2 not fully installed or removed.
Need to get 354 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://br.archive.ubuntu.com/ubuntu/ precise-updates/main libsqlite3-0 i386 3.7.9-2ubuntu1.1 [354 kB]
Fetched 354 kB in 0s (467 kB/s)
dpkg: error processing libsqlite3-0:i386 (--configure):
libsqlite3-0:i386 3.7.9-2ubuntu1 cannot be configured because libsqlite3-0:amd64 is in a different version (3.7.9-2ubuntu1.1)
dpkg: error processing libsqlite3-0 (--configure):
libsqlite3-0:amd64 3.7.9-2ubuntu1.1 cannot be configured because libsqlite3-0:i386 is in a different version (3.7.9-2ubuntu1)
Errors were encountered while processing:
libsqlite3-0:i386
libsqlite3-0
E: Sub-process /usr/bin/dpkg returned an error code (1)
asf100@mj-117105:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libsqlite3-0 : Breaks: libsqlite3-0:i386 (!= 3.7.9-2ubuntu1.1) but 3.7.9-2ubuntu1 is installed
libsqlite3-0:i386 : Breaks: libsqlite3-0 (!= 3.7.9-2ubuntu1) but 3.7.9-2ubuntu1.1 is installed
E: Unmet dependencies. Try using -f.


Um colega de outro forum solicitou as informações abaixo, coloco aqui se alguém precisar também.

asf100@mj-117105:~$ dpkg -l | grep libsqlite
iU  libsqlite3-0                          3.7.9-2ubuntu1.1                        SQLite 3 shared library
iF  libsqlite3-0:i386                     3.7.9-2ubuntu1                          SQLite 3 shared library
asf100@mj-117105:~$ apt-cache policy libsqlite3-0:amd64
libsqlite3-0:
 Instalado: 3.7.9-2ubuntu1.1
 Candidato: 3.7.9-2ubuntu1.1
 Tabela de versão:
*** 3.7.9-2ubuntu1.1 0
       500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
       100 /var/lib/dpkg/status
    3.7.9-2ubuntu1 0
       500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
asf100@mj-117105:~$ LANG=C;apt-cache policy libsqlite3-0:amd64
libsqlite3-0:
 Installed: 3.7.9-2ubuntu1.1
 Candidate: 3.7.9-2ubuntu1.1
 Version table:
*** 3.7.9-2ubuntu1.1 0
       500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
       100 /var/lib/dpkg/status
    3.7.9-2ubuntu1 0
       500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
asf100@mj-117105:~$ LANG=C;apt-cache policy libsqlite3-0:i386
libsqlite3-0:i386:
 Installed: 3.7.9-2ubuntu1
 Candidate: 3.7.9-2ubuntu1.1
 Version table:
    3.7.9-2ubuntu1.1 0
       500 http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
*** 3.7.9-2ubuntu1 0
       500 http://archive.ubuntu.com/ubuntu/ precise/main i386 Packages
       100 /var/lib/dpkg/status
asf100@mj-117105:~$

asf100

Prezados,

Um amigo de outro forum conseguiu resolver o problema.

apt-get download libsqlite3-0:amd64
apt-get download libsqlite3-0:i386
sudo dpkg --force-depends --purge libsqlite3-0:amd64
sudo dpkg --force-depends --purge libsqlite3-0:i386
sudo dpkg --install libsqlite3-0*amd64.deb
sudo dpkg --install libsqlite3-0*i386.deb

Obrigado SteveRiley.

Problema resolvido.