[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

Steve Langasek steve.langasek at canonical.com
Sun Apr 1 18:48:55 UTC 2012


David, I see that you have a branch linked for this bug.  The solution
you propose seems to have a couple of issues:

 - The .pot generation appears to no longer happen as part of the source build, ever.  This means that the .pot file may be out of date in the source package, impacting launchpad translation imports.
 - The header is being dropped from the .pot file to avoid introducing skew.  But the header provides important information to translators about whether there's a newer .pot that needs (msg)merged for their translation.

What we want here is for the .pot update target to be called in clean,
but with proper make dependencies so that it's only *actually*
regenerated when there have been source changes.  This is easily done
when using the standard gettextize makefiles, but is going to be
somewhat trickier with these home-grown makefiles for handling multiple
domains.

-- 
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