Package fails to update or install [libnvidia-gl-535 / libnvidia-gl-535_535.54.03-0ubuntu0.22.04.1_amd64.deb]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-535 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Error while updating nvidia using `sudo apt-get install nvidia-driver-535`
Preparing to unpack .../16-
Unpacking libnvidia-
Errors were encountered while processing:
/tmp/apt-
E: Sub-process /usr/bin/dpkg returned an error code (1)
Trying `sudo apt-get dist-upgrade` resulting in:
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:
libnvidia-gl-535 : Breaks: libnvidia-
libnvidia-
nvidia-driver-535 : Depends: libnvidia-gl-535 (= 535.54.
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Trying `sudo apt --fix-broken install` resulting in:
(Reading database ... 203968 files and directories currently installed.)
Preparing to unpack .../libnvidia-
Unpacking libnvidia-
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/share/
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: libnvidia-gl-535 535.54.
ProcVersionSign
Uname: Linux 5.19.0-32-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
Date: Sun Jul 2 18:46:11 2023
DuplicateSignature:
package:
Unpacking libnvidia-
dpkg: error processing archive /tmp/apt-
trying to overwrite '/usr/share/
ErrorMessage: trying to overwrite '/usr/share/
InstallationDate: Installed on 2023-04-06 (86 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
Python3Details: /usr/bin/
PythonDetails: /usr/bin/
RelatedPackageV
dpkg 1.21.1ubuntu2.2
apt 2.4.9
SourcePackage: nvidia-
Title: package libnvidia-gl-535 535.54.
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
summary: |
- package libnvidia-gl-535 535.54.03-0ubuntu0~gpu22.04.1 [modified: - usr/share/doc/libnvidia-gl-535/changelog.Debian.gz - usr/share/doc/libnvidia-gl-535/copyright] failed to install/upgrade: - trying to overwrite '/usr/share/nvidia/nvoptix.bin', which is also in - package libnvidia-common-535 535.54.03-0ubuntu0~gpu22.04.1 + Package fails to update libnvidia-gl-535 / libnvidia- + gl-535_535.54.03-0ubuntu0.22.04.1_amd64.deb |
summary: |
- Package fails to update libnvidia-gl-535 / libnvidia- - gl-535_535.54.03-0ubuntu0.22.04.1_amd64.deb + Package fails to update or install [libnvidia-gl-535 / libnvidia- + gl-535_535.54.03-0ubuntu0.22.04.1_amd64.deb] |
I get the same error in Ubuntu 22.04 on a Dell XPS 15 2021 model.