Package: libxrender1
Version: 1:0.9.7-1+deb7u1+b1
Severity: important

Dear Maintainer,

While trying to install version 1:0.9.7-1+deb7u1+b1 from 
wheezy-security for both amd64 and i386 on a multiarch machine,
I got the following problem:

--------------------- 8< ------------ >8 ---------------------
root@timmy:/var/log/apt# grep libxrender1 term.log
Preparing to replace libxrender1:i386 1:0.9.7-1+deb7u1 (using 
.../libxrender1_1%3a0.9.7-1+deb7u1+b1_i386.deb) ...
De-configuring libxrender1:amd64 ...
Unpacking replacement libxrender1:i386 ...
Preparing to replace libxrender1:amd64 1:0.9.7-1+deb7u1 (using 
.../libxrender1_1%3a0.9.7-1+deb7u1+b1_amd64.deb) ...
Unpacking replacement libxrender1:amd64 ...
dpkg: error processing 
/var/cache/apt/archives/libxrender1_1%3a0.9.7-1+deb7u1+b1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libxrender1/changelog.Debian.gz', 
which is different from other instances of package libxrender1:amd64
 /var/cache/apt/archives/libxrender1_1%3a0.9.7-1+deb7u1+b1_amd64.deb
root@timmy:/var/log/apt# 
--------------------- 8< ------------ >8 ---------------------

The beginning of that file is indeed different in both packages:

--------------------- 8< ------------ >8 ---------------------
libxrender (1:0.9.7-1+deb7u1+b1) wheezy-security; urgency=low, binary-only=yes

  * Binary-only non-maintainer upload for amd64; no source changes.
  * Rebuild against fixed libx11 for DSA 3224

 -- amd64 / i386 Build Daemon (brahms) <buildd_amd64-bra...@buildd.debian.org>  
Tue, 14 May 2013 19:28:26 +0200
--------------------- 8< ------------ >8 ---------------------

--------------------- 8< ------------ >8 ---------------------
libxrender (1:0.9.7-1+deb7u1+b1) wheezy-security; urgency=low, binary-only=yes

  * Binary-only non-maintainer upload for i386; no source changes.
  * Rebuild against fixed libx11 for DSA 3224

 -- amd64 / i386 Build Daemon (x86-grnet-01) 
<buildd_amd64-x86-grnet...@buildd.debian.org>  Tue, 14 May 2013 19:28:26 +0200
--------------------- 8< ------------ >8 ---------------------

I think multiarch requires the files that are in both packages to be
exactly the same to be able to install both.

Since this little bug prevents installation on multiarch machines, I've set
the severity to important.

For now, I've resolved the situation on my machine as follows:

# cd /var/cache/apt/archives
# ls libxrender1_1%3a0.9.7-1+deb7u1+b1_*.deb
libxrender1_1%3a0.9.7-1+deb7u1+b1_amd64.deb
libxrender1_1%3a0.9.7-1+deb7u1+b1_i386.deb
# dpkg --force-overwrite -i libxrender1_1%3a0.9.7-1+deb7u1+b1_*.deb

I'm including this information for other users looking at this bug report
and wishing to have a quick solution. Do this only after the failed upgrade
(which downloads the files to /var/cache/apt/archives and verifies the
signature on the download) and checking that the '*' in the globbing pattern
indeed only matches the two wanted files (I had already determined that, I 
didn't actually do the 'ls' command).

Thanks for your work,

Peter.

-- System Information:
Debian Release: 7.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to