[Bug 827950] [NEW] Multiarch: dpkg gets confused when installing new packages with the same version

Chris Halse Rogers raof at ubuntu.com
Wed Aug 17 11:21:53 UTC 2011


Public bug reported:

I often install test-build packages locally before uploading to the
archive.  Then, once they're built in the archive, these packages get
replaced by the archive versions.  This seems to confuse dpkg's
multiarch /usr/share handling - for example:

Selecting previously deselected package libglib2.0-0:i386.
Unpacking libglib2.0-0:i386 (from .../libglib2.0-0_2.29.16-0ubuntu2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libglib2.0-0_2.29.16-0ubuntu2_i386.deb (--unpack):
 './usr/share/doc/libglib2.0-0/changelog.Debian.gz' is different from the same file on the system
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to replace libglib2.0-0 2.29.16-0ubuntu2 (using .../libglib2.0-0_2.29.16-0ubuntu2_amd64.deb) ...
Unpacking replacement libglib2.0-0 ...
Selecting previously deselected package libpcre3:i386.

This doesn't occur when upgrading to a different package version.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: dpkg 1.16.0.3ubuntu3 [modified: usr/bin/dpkg-deb]
ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1
Uname: Linux 3.0.0-8-generic x86_64
Architecture: amd64
Date: Wed Aug 17 21:16:12 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110730)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/zsh
SourcePackage: dpkg
UpgradeStatus: Upgraded to oneiric on 2011-08-16 (0 days ago)

** Affects: dpkg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug multiarch oneiric running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/827950

Title:
  Multiarch: dpkg gets confused when installing new packages with the
  same version

Status in “dpkg” package in Ubuntu:
  New

Bug description:
  I often install test-build packages locally before uploading to the
  archive.  Then, once they're built in the archive, these packages get
  replaced by the archive versions.  This seems to confuse dpkg's
  multiarch /usr/share handling - for example:

  Selecting previously deselected package libglib2.0-0:i386.
  Unpacking libglib2.0-0:i386 (from .../libglib2.0-0_2.29.16-0ubuntu2_i386.deb) ...
  dpkg: error processing /var/cache/apt/archives/libglib2.0-0_2.29.16-0ubuntu2_i386.deb (--unpack):
   './usr/share/doc/libglib2.0-0/changelog.Debian.gz' is different from the same file on the system
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Preparing to replace libglib2.0-0 2.29.16-0ubuntu2 (using .../libglib2.0-0_2.29.16-0ubuntu2_amd64.deb) ...
  Unpacking replacement libglib2.0-0 ...
  Selecting previously deselected package libpcre3:i386.

  This doesn't occur when upgrading to a different package version.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: dpkg 1.16.0.3ubuntu3 [modified: usr/bin/dpkg-deb]
  ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1
  Uname: Linux 3.0.0-8-generic x86_64
  Architecture: amd64
  Date: Wed Aug 17 21:16:12 2011
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110730)
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_AU.UTF-8
   SHELL=/bin/zsh
  SourcePackage: dpkg
  UpgradeStatus: Upgraded to oneiric on 2011-08-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/827950/+subscriptions




More information about the foundations-bugs mailing list