package libpam0g:amd64 1.4.0-11ubuntu2 failed to install/upgrade: package libpam0g:amd64 is already installed and configured

Bug #2011843 reported by Edjard de Souza Mota
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I am just trying to update chrome. I downloade the .deb package but the command to upgrade is showing an error

**************** first attempt via terminal ***********************
$ sudo apt --only-upgrade install google-chrome-stable
[sudo] password for edjard:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
  google-chrome-stable
1 upgraded, 0 newly installed, 0 to remove and 256 not upgraded.
Need to get 0 B/93,9 MB of archives.
After this operation, 2.791 kB of additional disk space will be used.
dpkg: unrecoverable fatal error, aborting:
 loading files list file for package 'git-man': cannot read /var/lib/dpkg/info/git-man.list (Input/output
error)
E: Sub-process /usr/bin/dpkg returned an error code (2)
******************************************************************

Then I decided to upgrade via ubunt software update, and then the error I am reporting make the installation crashes.

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: libpam0g:amd64 1.4.0-11ubuntu2
ProcVersionSignature: Ubuntu 5.15.0-56.62-generic 5.15.64
Uname: Linux 5.15.0-56-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.2
AptdaemonVersion: 1.1.1+bzr982-0ubuntu39
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Mar 16 11:11:39 2023
ErrorMessage: package libpam0g:amd64 is already installed and configured
InstallationDate: Installed on 2022-08-04 (223 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.8
SourcePackage: dpkg
Title: package libpam0g:amd64 1.4.0-11ubuntu2 failed to install/upgrade: package libpam0g:amd64 is already installed and configured
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Edjard de Souza Mota (edjard) wrote :
Revision history for this message
Julian Andres Klode (juliank) wrote :

The error is:

 loading files list file for package 'git-man': cannot read /var/lib/dpkg/info/git-man.list (Input/output error)

This indicates your hard drive is failing (or not properly connected or something). You want to buy a new hard drive and copy your data over before it's totally gone.

Changed in dpkg (Ubuntu):
status: New → Invalid
Revision history for this message
Julian Andres Klode (juliank) wrote :

You can also see that in your dmesg, that your SSD is breaking apart:

[1604923.708864] blk_update_request: critical medium error, dev nvme0n1, sector 12445456 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[1605078.558518] blk_update_request: critical medium error, dev nvme0n1, sector 12445456 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[1605278.255457] blk_update_request: critical medium error, dev nvme0n1, sector 12445456 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[1605438.444747] blk_update_request: critical medium error, dev nvme0n1, sector 12445456 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[1605438.533489] blk_update_request: critical medium error, dev nvme0n1, sector 12445456 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[1605438.602421] blk_update_request: critical medium error, dev nvme0n1, sector 12445456 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[1605438.665225] blk_update_request: critical medium error, dev nvme0n1, sector 12445456 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.