[Bug 924628] Re: package libapt-pkg4.12 0.8.16~exp12ubuntu3 failed to install/upgrade: './usr/share/locale/ar/LC_MESSAGES/libapt-pkg4.12.mo' is different from the same file on the system

Adam Conrad adconrad at 0c3.net
Sat Mar 31 01:56:18 UTC 2012


It might be fair to note that "debian/rules clean" isn't, actually, a
requirement for generating source packages and if someone does a -S -nc
build of apt, this will fail subtly (ie: in the multiarch case) later,
so you may need to belt-and-suspenders your "fix it properly in
distclean" thing with some way to fail the build if you detect that
things weren't cleaned.  Which could be hard.

That said, due to apt's distclean also being required to do things like
update autoconf and version macros all over the source, and other such
fun, it might be fair to assume that no one would upload apt with a -nc
upload.

Still, up until this proposed change, an -nc upload (from pristine
source) wouldn't produce different results post-build than a normal
upload.  Food for thought, if this makes apt one of the few packages
that absolutely MUST be cleaned pre-source-upload.

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

Title:
  package libapt-pkg4.12 0.8.16~exp12ubuntu3 failed to install/upgrade:
  './usr/share/locale/ar/LC_MESSAGES/libapt-pkg4.12.mo' is different
  from the same file on the system

Status in “apt” package in Ubuntu:
  Triaged
Status in “apt” source package in Precise:
  Triaged

Bug description:
  Unpacking libapt-inst1.4:i386 (from .../libapt-inst1.4_0.8.16~exp12ubuntu3_i386.deb) ...
  dpkg: error processing /var/cache/apt/archives/libapt-inst1.4_0.8.16~exp12ubuntu3_i386.deb (--unpack):
   './usr/share/locale/ar/LC_MESSAGES/libapt-inst1.4.mo' is different from the same file on the system

  Unpacking libapt-pkg4.12:i386 (from .../libapt-pkg4.12_0.8.16~exp12ubuntu3_i386.deb) ...
  dpkg: error processing /var/cache/apt/archives/libapt-pkg4.12_0.8.16~exp12ubuntu3_i386.deb (--unpack):
   './usr/share/locale/ar/LC_MESSAGES/libapt-pkg4.12.mo' is different from the same file on the system

  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: libapt-pkg4.12 0.8.16~exp12ubuntu3
  ProcVersionSignature: Ubuntu 3.2.0-9.16-generic 3.2.1
  Uname: Linux 3.2.0-9-generic x86_64
  ApportVersion: 1.91-0ubuntu1
  Architecture: amd64
  Date: Tue Jan 31 18:58:28 2012
  DpkgTerminalLog:
   Unpacking libapt-pkg4.12 (from .../libapt-pkg4.12_0.8.16~exp12ubuntu3_amd64.deb) ...
   Selecting previously unselected package libapt-pkg4.12:i386.
   Unpacking libapt-pkg4.12:i386 (from .../libapt-pkg4.12_0.8.16~exp12ubuntu3_i386.deb) ...
   dpkg: error processing /var/cache/apt/archives/libapt-pkg4.12_0.8.16~exp12ubuntu3_i386.deb (--unpack):
    './usr/share/locale/ar/LC_MESSAGES/libapt-pkg4.12.mo' is different from the same file on the system
  DuplicateSignature:
   Unpacking libapt-pkg4.12:i386 (from .../libapt-pkg4.12_0.8.16~exp12ubuntu3_i386.deb) ...
   dpkg: error processing /var/cache/apt/archives/libapt-pkg4.12_0.8.16~exp12ubuntu3_i386.deb (--unpack):
    './usr/share/locale/ar/LC_MESSAGES/libapt-pkg4.12.mo' is different from the same file on the system
  ErrorMessage: './usr/share/locale/ar/LC_MESSAGES/libapt-pkg4.12.mo' is different from the same file on the system
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  SourcePackage: apt
  Title: package libapt-pkg4.12 0.8.16~exp12ubuntu3 failed to install/upgrade: './usr/share/locale/ar/LC_MESSAGES/libapt-pkg4.12.mo' is different from the same file on the system
  UpgradeStatus: Upgraded to precise on 2012-01-13 (18 days ago)

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




More information about the foundations-bugs mailing list