package nvidia-kernel-common-530 530.41.03-0ubuntu0.20.04.2 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-530 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm trying to fix the issue of the HDMI port I assumed that the problem with the Nvidia driver noting that my GPU is Nvidia GTX 1660TI
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: nvidia-
ProcVersionSign
Uname: Linux 5.15.0-72-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Fri May 19 15:31:13 2023
DpkgTerminalLog:
dpkg: error processing package nvidia-
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
dpkg: too many errors, stopping
ErrorMessage: package is in a very bad inconsistent state; you should reinstall it before attempting a removal
InstallationDate: Installed on 2022-03-08 (437 days ago)
InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python3.8, Python 3.8.10, python-is-python3, 3.8.2-4
RelatedPackageV
dpkg 1.19.7ubuntu3.2
apt 2.0.9
SourcePackage: nvidia-
Title: package nvidia-
UpgradeStatus: No upgrade log present (probably fresh install)
There's two things in your dmesg that stand out to me:
[ 105.970737] Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
and:
[ 102.490697] pcieport 0000:00:1d.0: AER: Corrected error received: 0000:06:00.0 mask=000000c0/ 00002000
[ 102.491022] alx 0000:06:00.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Receiver ID)
[ 102.491028] alx 0000:06:00.0: device [1969:e0b1] error status/
[ 102.491034] alx 0000:06:00.0: [ 6] BadTLP
[ 102.491040] alx 0000:06:00.0: [ 7] BadDLLP
[ 102.491384] pcieport 0000:00:1d.0: AER: Corrected error received: 0000:06:00.0
[ 102.491552] pcieport 0000:00:1d.0: AER: Corrected error received: 0000:06:00.0
[ 102.491884] pcieport 0000:00:1d.0: AER: Corrected error received: 0000:06:00.0
[ 102.492075] pcieport 0000:00:1d.0: AER: Corrected error received: 0000:06:00.0
Maybe the lockdown is more or less exactly what you're trying to do, I'm not sure.
The second looks like hardware failure. It might be insufficient or poor power, or motherboard problems, or card problems, I really don't know.
I hope this helps.