[Bug 2086800] [NEW] Unable to upgrade due to nvidia driver exception
Luuk Perdaems
2086800 at bugs.launchpad.net
Wed Nov 6 15:42:44 UTC 2024
Public bug reported:
When I try to upgrade the system after updating I get the message that
there is a missing package:
"
~ $ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
linux-modules-nvidia-550-6.8.0-48-generic : Depends: linux-objects-nvidia-550-6.8.0-48-generic (= 6.8.0-48.48+1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
"
When I try the apt --fix-broken install command I get the following return message:
"
~ $ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-6.8.0-45 linux-headers-6.8.0-45-generic linux-image-6.8.0-45-generic linux-modules-6.8.0-45-generic
linux-modules-extra-6.8.0-45-generic linux-modules-nvidia-550-6.8.0-45-generic linux-objects-nvidia-550-6.8.0-45-generic
linux-signatures-nvidia-6.8.0-45-generic linux-tools-6.8.0-45 linux-tools-6.8.0-45-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
linux-objects-nvidia-550-6.8.0-48-generic
The following NEW packages will be installed:
linux-objects-nvidia-550-6.8.0-48-generic
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
7 not fully installed or removed.
Need to get 0 B/54.7 MB of archives.
After this operation, 140 MB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 199775 files and directories currently installed.)
Preparing to unpack .../linux-objects-nvidia-550-6.8.0-48-generic_6.8.0-48.48+1_amd64.deb ...
Unpacking linux-objects-nvidia-550-6.8.0-48-generic (6.8.0-48.48+1) ...
dpkg-deb (subprocess): decompressing archive '/var/cache/apt/archives/linux-objects-nvidia-550-6.8.0-48-generic_6.8.0-48.48+1_amd64.deb' (size=
54722120) member 'data.tar': zstd error: Restored data doesn't match checksum
dpkg-deb: error: <decompress> subprocess returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/linux-objects-nvidia-550-6.8.0-48-generic_6.8.0-48.48+1_amd64.deb (--unpack):
dpkg-deb --fsys-tarfile subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/linux-objects-nvidia-550-6.8.0-48-generic_6.8.0-48.48+1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
"
Listing the drivers also results in an exception:
"""
~ $ ubuntu-drivers list
Traceback (most recent call last):
File "/usr/bin/ubuntu-drivers", line 519, in <module>
greet()
File "/usr/lib/python3/dist-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/decorators.py", line 92, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/ubuntu-drivers", line 460, in list
packages = UbuntuDrivers.detect.system_driver_packages(apt_cache=cache,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 591, in system_driver_packages
for p in packages_for_modalias(apt_cache, alias):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 305, in packages_for_modalias
if p.get_fullname().split(':')[0] == nvamdn:
^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbd in position 14: invalid start byte
"""
1. I am using the following ubuntu version:
"""
No LSB modules are available.
Description: Ubuntu 24.04.1 LTS
Release: 24.04
"""
2. I Dont know how I can detect the version of the ubuntu-drivers
3. I expected that I can at least list the drivers / Upgrade my packages
4. Listing the drivers resulted in a python error / Upgrading my
packages resulted in a decompressing error
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: ubuntu-release-upgrader-core 1:24.04.23
ProcVersionSignature: Ubuntu 6.8.0-47.47-generic 6.8.12
Uname: Linux 6.8.0-47-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 6 16:25:55 2024
InstallationDate: Installed on 2024-08-07 (91 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
PackageArchitecture: all
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: ubuntu-release-upgrader
Symptom: dist-upgrade
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug dist-upgrade noble
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2086800
Title:
Unable to upgrade due to nvidia driver exception
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
When I try to upgrade the system after updating I get the message that
there is a missing package:
"
~ $ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
linux-modules-nvidia-550-6.8.0-48-generic : Depends: linux-objects-nvidia-550-6.8.0-48-generic (= 6.8.0-48.48+1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
"
When I try the apt --fix-broken install command I get the following return message:
"
~ $ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-6.8.0-45 linux-headers-6.8.0-45-generic linux-image-6.8.0-45-generic linux-modules-6.8.0-45-generic
linux-modules-extra-6.8.0-45-generic linux-modules-nvidia-550-6.8.0-45-generic linux-objects-nvidia-550-6.8.0-45-generic
linux-signatures-nvidia-6.8.0-45-generic linux-tools-6.8.0-45 linux-tools-6.8.0-45-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
linux-objects-nvidia-550-6.8.0-48-generic
The following NEW packages will be installed:
linux-objects-nvidia-550-6.8.0-48-generic
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
7 not fully installed or removed.
Need to get 0 B/54.7 MB of archives.
After this operation, 140 MB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 199775 files and directories currently installed.)
Preparing to unpack .../linux-objects-nvidia-550-6.8.0-48-generic_6.8.0-48.48+1_amd64.deb ...
Unpacking linux-objects-nvidia-550-6.8.0-48-generic (6.8.0-48.48+1) ...
dpkg-deb (subprocess): decompressing archive '/var/cache/apt/archives/linux-objects-nvidia-550-6.8.0-48-generic_6.8.0-48.48+1_amd64.deb' (size=
54722120) member 'data.tar': zstd error: Restored data doesn't match checksum
dpkg-deb: error: <decompress> subprocess returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/linux-objects-nvidia-550-6.8.0-48-generic_6.8.0-48.48+1_amd64.deb (--unpack):
dpkg-deb --fsys-tarfile subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/linux-objects-nvidia-550-6.8.0-48-generic_6.8.0-48.48+1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
"
Listing the drivers also results in an exception:
"""
~ $ ubuntu-drivers list
Traceback (most recent call last):
File "/usr/bin/ubuntu-drivers", line 519, in <module>
greet()
File "/usr/lib/python3/dist-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/decorators.py", line 92, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/ubuntu-drivers", line 460, in list
packages = UbuntuDrivers.detect.system_driver_packages(apt_cache=cache,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 591, in system_driver_packages
for p in packages_for_modalias(apt_cache, alias):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 305, in packages_for_modalias
if p.get_fullname().split(':')[0] == nvamdn:
^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbd in position 14: invalid start byte
"""
1. I am using the following ubuntu version:
"""
No LSB modules are available.
Description: Ubuntu 24.04.1 LTS
Release: 24.04
"""
2. I Dont know how I can detect the version of the ubuntu-drivers
3. I expected that I can at least list the drivers / Upgrade my
packages
4. Listing the drivers resulted in a python error / Upgrading my
packages resulted in a decompressing error
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: ubuntu-release-upgrader-core 1:24.04.23
ProcVersionSignature: Ubuntu 6.8.0-47.47-generic 6.8.12
Uname: Linux 6.8.0-47-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 6 16:25:55 2024
InstallationDate: Installed on 2024-08-07 (91 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
PackageArchitecture: all
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: ubuntu-release-upgrader
Symptom: dist-upgrade
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2086800/+subscriptions
More information about the foundations-bugs
mailing list