Dependency broken in Trisquel 6.0

5 replies [Last post]
tct
tct

I am a member!

Offline
Joined: 10/23/2011

Suddenly, I cannot install software (updates) packages any more in Trisquel. Tested on two computers, with two different mirrors (one official). What just happened? Thanks!

tct@triscel1:~$ sudo apt-get upgrade
Citire liste de pachete... Terminat
Se construiește arborele de dependență
Se citesc informațiile de stare... Terminat
Ați putea să porniți 'apt-get -f install' pentru a corecta acestea.
Următoarele pachete au dependențe neîndeplinite:
gtk2-engines:i386 : Depinde: libgtk2.0-0:i386 (>= 2.19.7-2) dar nu este instalat
gtk2-engines-murrine:i386 : Depinde: libgtk2.0-0:i386 (>= 2.24.5-4) dar nu este instalat
ia32-libs-multiarch:i386 : Depinde: gtk2-engines-pixbuf:i386 dar nu este instalat
Depinde: libgail-common:i386 dar nu este instalat
Depinde: libgtk2.0-0:i386 dar nu este instalat
Depinde: libsdl1.2debian:i386 dar nu este instalat
ibus-gtk:i386 : Depinde: libgtk2.0-0:i386 (>= 2.24.5-4) dar nu este instalat
libcanberra-gtk-module:i386 : Depinde: libgtk2.0-0:i386 (>= 2.24.5-4) dar nu este instalat
libcanberra-gtk0:i386 : Depinde: libgtk2.0-0:i386 (>= 2.24.0) dar nu este instalat
librsvg2-common:i386 : Depinde: libgtk2.0-0:i386 (>= 2.21.5) dar nu este instalat
libsdl-image1.2:i386 : Depinde: libsdl1.2debian:i386 (>= 1.2.10-1) dar nu este instalat
libsdl-mixer1.2:i386 : Depinde: libsdl1.2debian:i386 (>= 1.2.10-1) dar nu este instalat
libsdl-net1.2:i386 : Depinde: libsdl1.2debian:i386 (>= 1.2.10-1) dar nu este instalat
libsdl-ttf2.0-0:i386 : Depinde: libsdl1.2debian:i386 (>= 1.2.10-1) dar nu este instalat
E: Dependențe neîndeplinite. Încercați să folosiți -f.

GustavoCM

I am a member!

Offline
Joined: 11/20/2012

(Re)move the file /etc/dpkg/dpkg.cfg.d/multiarch ; remove every *:i386 package and try again.

tct
tct

I am a member!

Offline
Joined: 10/23/2011

What triggered this? Can't I install 32bit packages anymore?

Anyway, apt fails to find the i386 package, for instance:

tct@triscel1:~$ sudo apt-get remove gtk2-engines:i386
Citire liste de pachete... Terminat
Se construiește arborele de dependență
Se citesc informațiile de stare... Terminat
E: Nu s-a putut localiza pachetul gtk2-engines:i386

What should I do?

BugRep
Offline
Joined: 04/05/2012

You could try:

dpkg --get-selections | grep :i386 | cut -f1 | xargs sudo apt-get --purge remove

It will show you installed 32bit packages. If it looks OK, just add "-y" at the end:

dpkg --get-selections | grep :i386 | cut -f1 | xargs sudo apt-get --purge remove -y

The packages will hopefully be removed.

tct
tct

I am a member!

Offline
Joined: 10/23/2011

No, it's useless, I get the same error about dependency problems I pasted in my first post on this thread. One of my colleagues at Fundația Ceata has successfully reproduced the bug on a fresh install of Trisquel 6.0 by simply installing ia32-libs. Can somebody else try to reproduce it and maybe confirm it's a bug?

BugRep
Offline
Joined: 04/05/2012

It did happen to me. Also when installing ia32-libs.
I actually found out which packages were installed from /var/log/dpkg.log, and removed them.