[Bug 871083] Re: package libpam-modules 1.1.3-2ubuntu1 failed to install/upgrade: ErrorMessage: './usr/share/man/man8/pam_shells.8.gz' is different from the same file on the system

Steve Langasek steve.langasek at canonical.com
Sat Oct 22 18:44:43 UTC 2011


On Sat, Oct 22, 2011 at 03:09:33PM -0000, SwaJime wrote:
> I got this dialog ->
>    ROOT:
>    Could not install '/var/cache/apt/archives/libpam-modules_1.1.3-2ubuntu1_i386.deb'
>    The upgrade will continue but the '/var/cache/apt/archives/libpam-modules_1.1.3-2ubuntu1_i386.deb' package may not be in a working state. Please consider submitting a bug report about it.
>    './usr/share/man/man8/pam_shells.8.gz' is different from the same file on the system

> and now I have this dialog on screen ->
>    ROOT:
>    Could not install the upgrades
>    The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a).

> This doesn't look good ... :-(

You'll need to remove the i386 version of the package with 'dpkg --remove
libpam-modules:i386', then run 'dpkg --configure -a'.  You can reinstall
libpam-modules:i386 once this bug has been fixed.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org

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

Title:
  package libpam-modules 1.1.3-2ubuntu1 failed to install/upgrade:
  ErrorMessage: './usr/share/man/man8/pam_shells.8.gz' is different from
  the same file on the system

Status in “pam” package in Ubuntu:
  Fix Committed
Status in “pam” source package in Oneiric:
  Fix Committed

Bug description:
  SRU justification:
  libpam-modules is not multiarch-coinstallable because of unexplained misgeneration of compressed manpages on the buildds in a previous run.  This makes it impossible to use pam authentication for foreign-arch software due to the uninstallable modules, and also causes unpleasant upgrade issues.

  Test case:
  1) on amd64, enable armel in addition to i386 as a foreign architecture by running:
    echo 'foreign-architecture armel' >> /etc/dpkg/dpkg.cfg.d/multiarch-armel
    echo 'deb [arch=armel] http://ports.ubuntu.com/ubuntu-ports/ oneiric main' >> /etc/apt/sources.list
    apt-get update
  2) try to install libpam-modules for the other two architectures by running 'apt-get install libpam-modules:i386 libpam-modules:armel'
  3) confirm that both packages fail to install.
  4) enable oneiric-proposed (including for armel above).
  5) try to install libpam-modules for all three architectures by running 'apt-get install libpam-modules libpam-modules:i386 libpam-modules:armel'
  6) confirm that the packages install successfully.

  error while updating

  ProblemType: Package
  DistroRelease: Ubuntu 11.10
  Package: libpam-modules 1.1.3-2ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-11.50-generic 2.6.38.8
  Uname: Linux 2.6.38-11-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 1.23-0ubuntu2
  Architecture: amd64
  Date: Sat Oct  8 18:57:52 2011
  ErrorMessage: ErrorMessage: './usr/share/man/man8/pam_shells.8.gz' is different from the same file on the system
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  SourcePackage: pam
  Title: package libpam-modules 1.1.3-2ubuntu1 failed to install/upgrade: ErrorMessage: './usr/share/man/man8/pam_shells.8.gz' is different from the same file on the system
  UpgradeStatus: Upgraded to oneiric on 2011-10-09 (0 days ago)

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




More information about the foundations-bugs mailing list