Error "trying to overwrite shared changelog.Debian.gz which is different from other instances of package libtasn1-3:amd64"

Bug #1116310 reported by Thomas Hood
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libtasn1-3 (Ubuntu)
New
Undecided
Unassigned

Bug Description

# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  libtasn1-3 libtasn1-3:i386
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/88.2 kB of archives.
After this operation, 1,024 B disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 278803 files and directories currently installed.)
Preparing to replace libtasn1-3:amd64 2.14-2 (using .../libtasn1-3_2.14-2_amd64.deb) ...
Unpacking replacement libtasn1-3:amd64 ...
dpkg: error processing /var/cache/apt/archives/libtasn1-3_2.14-2_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libtasn1-3/changelog.Debian.gz', which is different from other instances of package libtasn1-3:amd64
Preparing to replace libtasn1-3:i386 2.14-2 (using .../libtasn1-3_2.14-2_i386.deb) ...
Unpacking replacement libtasn1-3:i386 ...
dpkg: error processing /var/cache/apt/archives/libtasn1-3_2.14-2_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libtasn1-3/changelog.Debian.gz', which is different from other instances of package libtasn1-3:i386
Errors were encountered while processing:
 /var/cache/apt/archives/libtasn1-3_2.14-2_amd64.deb
 /var/cache/apt/archives/libtasn1-3_2.14-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Thomas Hood (jdthood) wrote :

# apt-cache madison libtasn1-3 libtasn1-3:i386 | grep 2.14
libtasn1-3 | 2.14-2 | http://nl.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
libtasn1-3 | 2.14-2 | http://nl.archive.ubuntu.com/ubuntu/ raring/main Sources
libtasn1-3:i386 | 2.14-2 | http://nl.archive.ubuntu.com/ubuntu/ raring/main i386 Packages

Revision history for this message
Thomas Hood (jdthood) wrote :

I was able to work around this by doing

    dpkg --remove --force-all libtasn1 libtasn1-3:i386
    apt-get install libtasn1 libtasn1-3:i386

Revision history for this message
Thomas Hood (jdthood) wrote :

It is possible that I had one of those packages installed from Debian Experimental already.

I notice that the Raring packages are not identical to the ones in Experimental, even though they have no Ubuntu version suffix. The difference in size is a surprising.

From http://packages.debian.org/experimental/amd64/libtasn1-3/download :

More information on libtasn1-3_2.14-2_amd64.deb:
Exact Size 68308 Byte (66.7 kByte)
MD5 checksum 49532105310e0bf84180de01055ac225
SHA1 checksum 089200efaad605b396159e5943832e6f6a69469a
SHA256 checksum 958e16b5c72b29c061368bf0d2227f532e5c37ed9b9cdcac494860030ecf7009

From http://packages.ubuntu.com/raring/amd64/libtasn1-3/download :

More information on libtasn1-3_2.14-2_amd64.deb:
Exact Size 43872 Byte (42.8 kByte)
MD5 checksum 8cbf858f6480230d783553fd245d3b23
SHA1 checksum bf45103f8926b0594da5b53b92c4bab64fad16c7
SHA256 checksum 160d4c913dbd81a9fd0f32460fe165f3541f83056378fa756689428e6ebdebec

summary: - "Trying to overwrite shared changelog.Debian.gz"
+ Error "trying to overwrite shared changelog.Debian.gz which is different
+ from other instances of package libtasn1-3:amd64"
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.