package libpam0g:amd64 1.4.0-11ubuntu2 failed to install/upgrade: package libpam0g:amd64 is already installed and configured
| 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-
[sudo] password for edjard:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
google-
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/
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
ProcVersionSign
Uname: Linux 5.15.0-56-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.2
AptdaemonVersion: 1.1.1+bzr982-
Architecture: amd64
CasperMD5CheckR
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/
PythonDetails: N/A
RelatedPackageV
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)

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.