apt: don't report "unable to stat `./usr/share/doc/libpam-runtime/copyright' (which I was about to install): Input/output error" via apport

Bug #791102 reported by Lachuzhnikov Svyatoslav on 2011-06-01
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Medium
Brian Murray

Bug Description

lsb_release -a
LSB Version: core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty

Unpacking replacement libpam-runtime ...
dpkg: error processing /var/cache/apt/archives/libpam-runtime_1.1.2-2ubuntu8.3_all.deb (--unpack):
 unable to stat `./usr/share/doc/libpam-runtime/copyright' (which I was about to install): Input/output error
Errors were encountered while processing:
 /var/cache/apt/archives/libpam-runtime_1.1.2-2ubuntu8.3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: libpam-runtime 1.1.2-2ubuntu8
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Wed Jun 1 10:38:53 2011
ErrorMessage: не удалось получить информацию о «./usr/share/doc/libpam-runtime/copyright» (который должен быть установлен): Input/output error
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
PackageArchitecture: all
SourcePackage: pam
Title: package libpam-runtime 1.1.2-2ubuntu8 failed to install/upgrade: не удалось получить информацию о «./usr/share/doc/libpam-runtime/copyright» (который должен быть установлен): Input/output error
UpgradeStatus: Upgraded to natty on 2011-04-30 (31 days ago)

Related branches

Steve Langasek (vorlon) wrote :

Thank you for taking the time to report this issue and help to improve Ubuntu.

This error message indicates a problem with your filesystem, not with the package you were trying to install. You may need to run a filesystem check of your disk, and should perform appropriate checks that your hardware is not failing.

apport should not offer to report a bug for this error message; reassigning this bug report to apt, so that it can be added to the blacklist of errors that don't get reported against packages.

affects: pam (Ubuntu) → apt (Ubuntu)
Changed in apt (Ubuntu):
status: New → Triaged
summary: - package libpam-runtime 1.1.2-2ubuntu8 failed to install/upgrade: не
- удалось получить информацию о «./usr/share/doc/libpam-runtime/copyright»
- (который должен быть установлен): Input/output error
+ apt: don't report "unable to stat `./usr/share/doc/libpam-
+ runtime/copyright' (which I was about to install): Input/output error"
+ via apport
Changed in apt (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
importance: Undecided → Medium
status: Triaged → In Progress

Thanks, Steve!
Bug may be closed.
I have consistency problem on encrypded filesystem where /usr/shared/doc is linked on my machine.

Changed in apt (Ubuntu):
status: In Progress → Invalid
Brian Murray (brian-murray) wrote :

Thanks for closing the bug however there is still work to be done on apt to ensure that we don't report more of these types of bugs, so I am reopening it.

Changed in apt (Ubuntu):
status: Invalid → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt - 0.8.14.1ubuntu6

---------------
apt (0.8.14.1ubuntu6) oneiric; urgency=low

  [ Brian Murray ]
  * apt-pkg/deb/dpkgpm.cc:
    - prevent reporting of package installation failures due to inaccessible
      local files (LP: #791102, #790040)
    - include /var/log/apt/history.log in apport-package reports so we know
      the context for the package management request

  [ Michael Vogt ]
  * methods/mirror.cc:
    - ignore lines starting with "#" in the mirror file
    - ignore non http urls in the mirrors
    - append the dist (e.g. sid, wheezy) as a query string when
      asking for a suitable mirror
 -- Michael Vogt <email address hidden> Tue, 07 Jun 2011 15:55:07 +0200

Changed in apt (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers