[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#915557: libx11-xcb1: changelog.Debian.gz is not deleted when removing packag so next install fails



Control: tags -1 + unreproducible

Am 04.12.2018 um 21:19 schrieb Jens Getreu:

> Package: libx11-xcb1
> Version: 2:1.6.4-3+deb9u1
> Severity: important
>
> Dear Maintainer,
>
>
> * What led up to the situation?
>
> My installation of `wine` failed because, the installation of `libx11-xcb1`
> failed.
>
>
> ```
> Unpacking libx11-xcb1:i386 (2:1.6.4-3+deb9u1) ...
> dpkg: error processing archive /tmp/apt-dpkg-
> install-1cFjeB/052-libx11-xcb1_2%3a1.6.4-3+deb9u1_i386.deb (--unpack):
>  trying to overwrite shared '/usr/share/doc/libx11-xcb1/changelog.Debian.gz',
> which is different from other instances of package libx11-xcb1:i386
> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

I cannot reproduce this.  Downloaded both the amd64 and i386 version of
libx11-xcb1 from packages.debian.org, and their
/usr/share/doc/libx11-xcb1/changelog.Debian.gz files are identical:

,----
| $ dpkg-deb -x libx11-xcb1_1.6.4-3+deb9u1_amd64.deb amd64
| $ dpkg-deb -x libx11-xcb1_1.6.4-3+deb9u1_i386.deb i386
| $ diff -sq {amd64,i386}/usr/share/doc/libx11-xcb1/changelog.Debian.gz
| Dateien amd64/usr/share/doc/libx11-xcb1/changelog.Debian.gz und i386/usr/share/doc/libx11-xcb1/changelog.Debian.gz sind identisch.
`----

You can do the same with the files in /var/cache/apt/archives if they
are still there. 

I suspect /usr/share/doc/libx11-xcb1/changelog.Debian.gz has been
corrupted on your system, you may want to fsck(8) your filesystem(s) and
run "dpkg --verify" to look for possible more damage.

> * Workaround?
>
>    rm /usr/share/doc/libx11-xcb1/changelog.Debian.gz
>
> before installing helped.

Indeed, but it also makes it impossible to get at the corrupted version
of this file on your system.  So I think there is not much we can do.

Cheers,
       Sven


Reply to: