Problems installing Replicant SDK, .debs derived from source pkgs gtk+2.0 and libsdl1.2 need rebuilding

Projekt:Trisquel
Version:6.0
Komponente:Packages
Kategorie:Fehlerbericht
Priorität:normal
Zugewiesen:nicht zugewiesen
Status:patch (ready)
Beschreibung

Hello Everyone,

I was trying to use the ReplicantSDK and for the usage they asked the installation of the ia32-libs and libsdl1.2debian packages. The problem is that, during the installation, some dependencies were missing and because of that I couldn't finish the installation.

This is what I get when I'm trying to install those packages

Os pacotes a seguir têm dependências não satisfeitas:
gtk2-engines:i386 : Depende: libgtk2.0-0:i386 (>= 2.19.7-2) mas não vai ser instalado
gtk2-engines-murrine:i386 : Depende: libgtk2.0-0:i386 (>= 2.24.5-4) mas não vai ser instalado
ia32-libs-multiarch:i386 : Depende: gtk2-engines-pixbuf:i386 mas não vai ser instalado
Depende: libcapi20-3:i386 mas não vai ser instalado
Depende: libgail-common:i386 mas não vai ser instalado
Depende: libgtk2.0-0:i386 mas não vai ser instalado
Depende: libsdl1.2debian:i386 mas não vai ser instalado
ibus-gtk:i386 : Depende: libgtk2.0-0:i386 (>= 2.24.5-4) mas não vai ser instalado
libcanberra-gtk-module:i386 : Depende: libgtk2.0-0:i386 (>= 2.24.5-4) mas não vai ser instalado
libcanberra-gtk0:i386 : Depende: libgtk2.0-0:i386 (>= 2.24.0) mas não vai ser instalado
librsvg2-common:i386 : Depende: libgtk2.0-0:i386 (>= 2.21.5) mas não vai ser instalado
libsdl-image1.2:i386 : Depende: libsdl1.2debian:i386 (>= 1.2.10-1) mas não vai ser instalado
libsdl-mixer1.2:i386 : Depende: libsdl1.2debian:i386 (>= 1.2.10-1) mas não vai ser instalado
libsdl-net1.2:i386 : Depende: libsdl1.2debian:i386 (>= 1.2.10-1) mas não vai ser instalado
libsdl-ttf2.0-0:i386 : Depende: libsdl1.2debian:i386 (>= 1.2.10-1) mas não vai ser instalado

And this is what I get when I try to make an upgrade to the System:

aliasbody@LibreBook:~$ sudo apt-get upgrade -f
A ler as listas de pacotes... Pronto
A construir árvore de dependências
A ler a informação de estado... Pronto
A corrigir dependências... Feito
Serão instalados os seguintes NOVOS pacotes:
gtk2-engines-pixbuf:i386 libcapi20-3:i386 libgail-common:i386 libgail18:i386
libgtk2.0-0:i386 libsdl1.2debian:i386
0 pacotes actualizados, 6 pacotes novos instalados, 0 a remover e 0 não actualizados.
233 pacotes não totalmente instalados ou removidos.
É necessário obter 5138 kB de arquivos.
Após esta operação, serão utilizados 9946 kB adicionais de espaço em disco.
Deseja continuar [Y/n]? y
Obter:1 http://es.archive.trisquel.info/trisquel/ toutatis/main libgtk2.0-0 i386 2.24.10-0ubuntu6+6.0trisquel2 [2721 kB]
Obter:2 http://es.archive.trisquel.info/trisquel/ toutatis/main libsdl1.2debian i386 1.2.14-6.4ubuntu3+6.0trisquel1 [220 kB]
Obter:3 http://es.archive.trisquel.info/trisquel/ toutatis/main gtk2-engines-pixbuf i386 2.24.10-0ubuntu6+6.0trisquel2 [1026 kB]
Obter:4 http://es.archive.trisquel.info/trisquel/ toutatis/main libcapi20-3 i386 1:3.25+dfsg1-3wheezy1+6.0trisquel1 [66,6 kB]
Obter:5 http://es.archive.trisquel.info/trisquel/ toutatis/main libgail18 i386 2.24.10-0ubuntu6+6.0trisquel2 [485 kB]
Obter:6 http://es.archive.trisquel.info/trisquel/ toutatis/main libgail-common i386 2.24.10-0ubuntu6+6.0trisquel2 [619 kB]
Obtidos 5138 kB em 2s (2011 kB/s)
(A ler a base de dados ... 152423 ficheiros e directórios actualmente instalados.)
A descompactar libgtk2.0-0:i386 (desde .../libgtk2.0-0_2.24.10-0ubuntu6+6.0trisquel2_i386.deb) ...
dpkg: erro ao processar /var/cache/apt/archives/libgtk2.0-0_2.24.10-0ubuntu6+6.0trisquel2_i386.deb (--unpack):
'./usr/share/doc/libgtk2.0-0/changelog.Debian' is different from the same file on the system
dpkg-deb: erro: o subprocesso colar foi morto pelo sinal (Canal interrompido)
A descompactar libsdl1.2debian:i386 (desde .../libsdl1.2debian_1.2.14-6.4ubuntu3+6.0trisquel1_i386.deb) ...
dpkg: erro ao processar /var/cache/apt/archives/libsdl1.2debian_1.2.14-6.4ubuntu3+6.0trisquel1_i386.deb (--unpack):
'./usr/share/doc/libsdl1.2debian/changelog.Debian.gz' is different from the same file on the system
dpkg-deb: erro: o subprocesso colar foi morto pelo sinal (Canal interrompido)
A descompactar gtk2-engines-pixbuf:i386 (desde .../gtk2-engines-pixbuf_2.24.10-0ubuntu6+6.0trisquel2_i386.deb) ...
dpkg: erro ao processar /var/cache/apt/archives/gtk2-engines-pixbuf_2.24.10-0ubuntu6+6.0trisquel2_i386.deb (--unpack):
'./usr/share/doc/gtk2-engines-pixbuf/changelog.Debian' is different from the same file on the system
Nenhum relatório apport escrito pois MaxReports já foi atingido
A descompactar libcapi20-3:i386 (desde .../libcapi20-3_1%3a3.25+dfsg1-3wheezy1+6.0trisquel1_i386.deb) ...
dpkg: erro ao processar /var/cache/apt/archives/libcapi20-3_1%3a3.25+dfsg1-3wheezy1+6.0trisquel1_i386.deb (--unpack):
'./usr/share/doc/libcapi20-3/changelog.Debian.gz' is different from the same file on the system
Nenhum relatório apport escrito pois MaxReports já foi atingido
A descompactar libgail18:i386 (desde .../libgail18_2.24.10-0ubuntu6+6.0trisquel2_i386.deb) ...
dpkg: erro ao processar /var/cache/apt/archives/libgail18_2.24.10-0ubuntu6+6.0trisquel2_i386.deb (--unpack):
'./usr/share/doc/libgail18/changelog.Debian' is different from the same file on the system
Nenhum relatório apport escrito pois MaxReports já foi atingido
A descompactar libgail-common:i386 (desde .../libgail-common_2.24.10-0ubuntu6+6.0trisquel2_i386.deb) ...
dpkg: erro ao processar /var/cache/apt/archives/libgail-common_2.24.10-0ubuntu6+6.0trisquel2_i386.deb (--unpack):
'./usr/share/doc/libgail-common/changelog.Debian' is different from the same file on the system
Nenhum relatório apport escrito pois MaxReports já foi atingido
dpkg-deb: erro: o subprocesso colar foi morto pelo sinal (Canal interrompido)
Foram encontrados erros enquanto processava:
/var/cache/apt/archives/libgtk2.0-0_2.24.10-0ubuntu6+6.0trisquel2_i386.deb
/var/cache/apt/archives/libsdl1.2debian_1.2.14-6.4ubuntu3+6.0trisquel1_i386.deb
/var/cache/apt/archives/gtk2-engines-pixbuf_2.24.10-0ubuntu6+6.0trisquel2_i386.deb
/var/cache/apt/archives/libcapi20-3_1%3a3.25+dfsg1-3wheezy1+6.0trisquel1_i386.deb
/var/cache/apt/archives/libgail18_2.24.10-0ubuntu6+6.0trisquel2_i386.deb
/var/cache/apt/archives/libgail-common_2.24.10-0ubuntu6+6.0trisquel2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
aliasbody@LibreBook:~$

Best Regards,
Luis Da Costa

Fr, 04/19/2013 - 21:02

This is what I've tried :

sudo apt-get -f --no-install-recommends --fix-broken --fix-missing --ignore-missing --ignore-hold --reinstall install

And this is what I get


A ler as listas de pacotes... Pronto
A construir árvore de dependências
A ler a informação de estado... Pronto
A corrigir dependências... Feito
Os seguintes pacotes extra serão instalados:
gtk2-engines-pixbuf:i386 libcapi20-3:i386 libgail-common:i386 libgail18:i386 libgtk2.0-0:i386 libsdl1.2debian:i386
Pacotes sugeridos:
isdnutils-doc:i386
Serão instalados os seguintes NOVOS pacotes:
gtk2-engines-pixbuf:i386 libcapi20-3:i386 libgail-common:i386 libgail18:i386 libgtk2.0-0:i386 libsdl1.2debian:i386
0 pacotes actualizados, 6 pacotes novos instalados, 0 a remover e 0 não actualizados.
233 pacotes não totalmente instalados ou removidos.
É necessário obter 0 B/5138 kB de arquivos.
Após esta operação, serão utilizados 9946 kB adicionais de espaço em disco.
Deseja continuar [Y/n]? Y
(A ler a base de dados ... 152423 ficheiros e directórios actualmente instalados.)
A descompactar libgtk2.0-0:i386 (desde .../libgtk2.0-0_2.24.10-0ubuntu6+6.0trisquel2_i386.deb) ...
dpkg: erro ao processar /var/cache/apt/archives/libgtk2.0-0_2.24.10-0ubuntu6+6.0trisquel2_i386.deb (--unpack):
'./usr/share/doc/libgtk2.0-0/changelog.Debian' is different from the same file on the system
dpkg-deb: erro: o subprocesso colar foi morto pelo sinal (Canal interrompido)
A descompactar libsdl1.2debian:i386 (desde .../libsdl1.2debian_1.2.14-6.4ubuntu3+6.0trisquel1_i386.deb) ...
dpkg: erro ao processar /var/cache/apt/archives/libsdl1.2debian_1.2.14-6.4ubuntu3+6.0trisquel1_i386.deb (--unpack):
'./usr/share/doc/libsdl1.2debian/changelog.Debian.gz' is different from the same file on the system
dpkg-deb: erro: o subprocesso colar foi morto pelo sinal (Canal interrompido)
A descompactar gtk2-engines-pixbuf:i386 (desde .../gtk2-engines-pixbuf_2.24.10-0ubuntu6+6.0trisquel2_i386.deb) ...
dpkg: erro ao processar /var/cache/apt/archives/gtk2-engines-pixbuf_2.24.10-0ubuntu6+6.0trisquel2_i386.deb (--unpack):
'./usr/share/doc/gtk2-engines-pixbuf/changelog.Debian' is different from the same file on the system
A descompactar libcapi20-3:i386 (desde .../libcapi20-3_1%3a3.25+dfsg1-3wheezy1+6.0trisquel1_i386.deb) ...
dpkg: erro ao processar /var/cache/apt/archives/libcapi20-3_1%3a3.25+dfsg1-3wheezy1+6.0trisquel1_i386.deb (--unpack):
'./usr/share/doc/libcapi20-3/changelog.Debian.gz' is different from the same file on the system
Nenhum relatório apport escrito pois MaxReports já foi atingido
A descompactar libgail18:i386 (desde .../libgail18_2.24.10-0ubuntu6+6.0trisquel2_i386.deb) ...
dpkg: erro ao processar /var/cache/apt/archives/libgail18_2.24.10-0ubuntu6+6.0trisquel2_i386.deb (--unpack):
'./usr/share/doc/libgail18/changelog.Debian' is different from the same file on the system
Nenhum relatório apport escrito pois MaxReports já foi atingido
A descompactar libgail-common:i386 (desde .../libgail-common_2.24.10-0ubuntu6+6.0trisquel2_i386.deb) ...
dpkg: erro ao processar /var/cache/apt/archives/libgail-common_2.24.10-0ubuntu6+6.0trisquel2_i386.deb (--unpack):
'./usr/share/doc/libgail-common/changelog.Debian' is different from the same file on the system
Nenhum relatório apport escrito pois MaxReports já foi atingido
dpkg-deb: erro: o subprocesso colar foi morto pelo sinal (Canal interrompido)
Foram encontrados erros enquanto processava:
/var/cache/apt/archives/libgtk2.0-0_2.24.10-0ubuntu6+6.0trisquel2_i386.deb
/var/cache/apt/archives/libsdl1.2debian_1.2.14-6.4ubuntu3+6.0trisquel1_i386.deb
/var/cache/apt/archives/gtk2-engines-pixbuf_2.24.10-0ubuntu6+6.0trisquel2_i386.deb
/var/cache/apt/archives/libcapi20-3_1%3a3.25+dfsg1-3wheezy1+6.0trisquel1_i386.deb
/var/cache/apt/archives/libgail18_2.24.10-0ubuntu6+6.0trisquel2_i386.deb
/var/cache/apt/archives/libgail-common_2.24.10-0ubuntu6+6.0trisquel2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
aliasbody@LibreBook:~$

Fr, 04/19/2013 - 21:08

Problem solved ! Just needed to remove the old changelog files on the /usr/share/doc/ folder.

But this need to be solved.

Best Regards,
Luis Da Costa

Di, 06/11/2013 - 12:03
Priorität:normal» critical

To fix this do (when apt-get fails):

sudo apt-get install -fy > /tmp/install.log
cd /
cat /tmp/install.log | grep "different from the same file on the system" | cut -d' ' -f2 | xargs sudo rm
sudo apt-get install -fy

* I am marking this bug as critical as it breaks the system.

So, 06/23/2013 - 16:23

I reported this some time ago, and it was brought up on the forums before that. ia32-libs being broken means no 32-bit binaries can ever be run (trying to run them fails with a vague claim from Bash that they don't exist). Wine also can't be installed as a result.

This was my previous report:

https://trisquel.info/en/issues/7914

Mi, 07/17/2013 - 13:56

I have had the same issues with the system when trying to install multiarch i386. For a while I was getting the same messages when I would try to install updates or fix the bug. But now if I attempt any of the suggested commands, I get the following:

I do not have a phD in computer science and I have no idea how to fix this problem. Any suggestions would be very helpful.

AnhangGröße
Screenshot from 2013-07-17 06:54:11.png 177.49 KB
Fr, 07/19/2013 - 14:53

By "old" do you mean all of the existing changelog files? Will they be replaced by running apt-get install update? I am fairly new to running linux and I don't know how to fix things like this very well.

Fr, 07/26/2013 - 05:21
Titel:Problem installing ia32-libs and libsdl1.2debian» Problems installing 32 bit Trisquelized packages on 64 bit systems

This is a bug in the Trisquel package helpers support code. The package helper command which updates the changelog is generating two different timestamps in the changelog.Debian for i386 and amd64 packages. Thus there is a mismatch in the changelog.Debian or changelog.Debian.gz when the user attempts to install the i386 package on an amd64 system.

Sa, 07/27/2013 - 03:51

There is also a similar symptom in Trisquel 6.0 with a fresh install where /etc/dpkg/dpkg.cfg.d/multiarch is configured incorrectly. It should contain one line which reads

foreign-architecture i386

Do a

sudo apt-get update

after editing

-----
The timestamp in the defect described in my previous post is generated automatically by the dch command (debchange) in function changelog in helpers/config .

Sa, 07/27/2013 - 05:45

Reading the code I find that the defect has already been fixed. From the git log of helpers/config

commit 4bd5b11c2d6e58dab7358a2e772a5a79d0bb276f
Author: Rubén Rodríguez <name at domain>
Date: Mon Mar 18 20:51:18 2013 +0100

Added system to ensure changelogs are identical across archs

It would appear that all that needs doing is for make-gtk+2.0 and make-libsdl1.2 to be re-run and the packages uploaded to the repo.

Sa, 07/27/2013 - 19:43
Titel:Problems installing 32 bit Trisquelized packages on 64 bit systems» Problems installing Replicant SDK, .debs derived from source pkgs gtk+2.0 and libsdl1.2 need rebuilding
Priorität:critical» normal
Status:active» patch (ready)

The fix has been reported to trisquel-devel mailing list here http://listas.trisquel.info/pipermail/trisquel-devel/2013-July/000742.html . Some of my tests were against a text mode install machine i.e. network install and therefore the problem isn't solely with the packages on the install CD.

The following is a modified install procedure which bypasses the problem in my tests.

First download the attached bash script. Then do a

sudo apt-get -f install libsdl1.2debian openjdk-6-jdk

Then run the bash script with

bash ia32-bypass.txt

Finally install ia32-libs with

sudo apt-get install ia32-libs

Returning to normal priority as there is now a bypass. And marking Patch Ready even though there is no code change because the real solution is known and tested.

AnhangGröße
ia32-bypass.txt 1.04 KB
Mo, 10/07/2013 - 04:27

If the above doesn't work for you, then simply follow the recovery procedure in BugRep's first entry in this issue.

Do, 11/07/2013 - 02:02

I documented the installation procedure of ia32-libs-multiarch here, if anyone is still interested.

Fr, 12/27/2013 - 03:38