package linux-modules-nvidia-535-6.5.0-9-generic 6.5.0-9.9 failed to install/upgrade: installed linux-modules-nvidia-535-6.5.0-9-generic package post-installation script subprocess returned error exit status 1

Bug #2046345 reported by yuriy
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux-restricted-modules (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Occurs when upgrading to an unreleased version
Setting up linux-modules-nvidia-535-6.5.0-9-generic (6.5.0-9.9) ...
linux-image-nvidia-6.5.0-9-generic: constructing .ko files
make: arch/x86/Makefile.postlink: No such file or directory
make: *** No rule to make target 'arch/x86/Makefile.postlink'. Stop.
make: arch/x86/Makefile.postlink: No such file or directory
make: *** No rule to make target 'arch/x86/Makefile.postlink'. Stop.
make: arch/x86/Makefile.postlink: No such file or directory
make: *** No rule to make target 'arch/x86/Makefile.postlink'. Stop.
make: arch/x86/Makefile.postlink: No such file or directory
make: *** No rule to make target 'arch/x86/Makefile.postlink'. Stop.
make: arch/x86/Makefile.postlink: No such file or directory
make: *** No rule to make target 'arch/x86/Makefile.postlink'. Stop.
nvidia-drm.ko: FAILED
nvidia-modeset.ko: FAILED
nvidia-peermem.ko: OK
nvidia-uvm.ko: FAILED
nvidia.ko: FAILED
sha256sum: WARNING: 4 computed checksums did NOT match
dpkg: error processing package linux-modules-nvidia-535-6.5.0-9-generic (--configure):
 installed linux-modules-nvidia-535-6.5.0-9-generic package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-modules-nvidia-535-generic-hwe-22.04:
 linux-modules-nvidia-535-generic-hwe-22.04 depends on linux-modules-nvidia-535-6.5.0-9-generic (= 6.5.0-9.9); however:
  Package linux-modules-nvidia-535-6.5.0-9-generic is not configured yet.

dpkg: error processing package linux-modules-nvidia-535-generic-hwe-22.04 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-modules-nvidia-530-generic-hwe-22.04:
 linux-modules-nvidia-530-generic-hwe-22.04 depends on linux-modules-nvidia-535-generic-hwe-22.04; however:
  Package linux-modules-nvidia-535-generic-hwe-22.04 is not configured yet.

dpkg: error processing package linux-modules-nvidia-530-generic-hwe-22.04 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-modules-nvidia-535-6.5.0-9-generic
 linux-modules-nvidia-535-generic-hwe-22.04
 linux-modules-nvidia-530-generic-hwe-22.04

ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: linux-modules-nvidia-535-6.5.0-9-generic 6.5.0-9.9
ProcVersionSignature: Ubuntu 6.2.0-37.38~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-37-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.27.0-0ubuntu6
Architecture: amd64
CasperMD5CheckResult: pass
Date: Wed Dec 13 14:36:34 2023
ErrorMessage: installed linux-modules-nvidia-535-6.5.0-9-generic package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2023-02-17 (299 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
Python3Details: /usr/bin/python3.11, Python 3.11.7, python3-minimal, 3.11.4-5
PythonDetails: /usr/bin/python3.11, Python 3.11.7, python-is-python3, 3.11.4-1
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.22.1ubuntu3
 apt 2.7.6
SourcePackage: linux-restricted-modules
Title: package linux-modules-nvidia-535-6.5.0-9-generic 6.5.0-9.9 failed to install/upgrade: installed linux-modules-nvidia-535-6.5.0-9-generic package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to noble on 2023-12-13 (0 days ago)
modified.conffile..etc.apport.report-ignore.README.denylist: [deleted]

Revision history for this message
yuriy (antidot) wrote :
affects: ubuntu → linux-restricted-modules (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-restricted-modules (Ubuntu):
status: New → Confirmed
tags: removed: need-duplicate-check
Revision history for this message
Florian W. (florian-will) wrote :

Might be related? On first attempt in the updater GUI in Ubuntu 23.10 (latest STS stable version), I got

linux-image-nvidia-6.5.0-17-generic: constructing .ko files
./BUILD: 10: make: not found
./BUILD: 11: make: not found
./BUILD: 12: make: not found
./BUILD: 13: make: not found
./BUILD: 14: make: not found
nvidia-drm.ko: OK
nvidia-modeset.ko: OK
nvidia-peermem.ko: OK
nvidia-uvm.ko: OK
nvidia.ko: OK

So apparently that worked OK, but it still seemed strange, so I installed build-essentials and did apt install --reinstall linux-modules-nvidia-535-6.5.0-17-generic and got: (error messages translate to the same "no such file or directory" and "no rule to make target... stop.)"

linux-image-nvidia-6.5.0-17-generic: constructing .ko files
make: arch/x86/Makefile.postlink: Datei oder Verzeichnis nicht gefunden
make: *** Keine Regel, um „arch/x86/Makefile.postlink“ zu erstellen. Schluss.
make: arch/x86/Makefile.postlink: Datei oder Verzeichnis nicht gefunden
make: *** Keine Regel, um „arch/x86/Makefile.postlink“ zu erstellen. Schluss.
make: arch/x86/Makefile.postlink: Datei oder Verzeichnis nicht gefunden
make: *** Keine Regel, um „arch/x86/Makefile.postlink“ zu erstellen. Schluss.
make: arch/x86/Makefile.postlink: Datei oder Verzeichnis nicht gefunden
make: *** Keine Regel, um „arch/x86/Makefile.postlink“ zu erstellen. Schluss.
make: arch/x86/Makefile.postlink: Datei oder Verzeichnis nicht gefunden
make: *** Keine Regel, um „arch/x86/Makefile.postlink“ zu erstellen. Schluss.
nvidia-drm.ko: OK
nvidia-modeset.ko: OK
nvidia-peermem.ko: OK
nvidia-uvm.ko: OK
nvidia.ko: OK
[..]

I have not rebooted yet to check if my nvidia driver still works, but since it says "OK" I guess I should be fine.

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.