package nvidia-dkms-525-open 525.60.11-0ubuntu0.22.04.1 failed to install/upgrade: installed nvidia-dkms-525-open package post-installation script subprocess returned error exit status 10

Bug #2000187 reported by Natale Toscano
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-525 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Was trying to install nvidia-driver-525-open and it bugged up!

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: nvidia-dkms-525-open 525.60.11-0ubuntu0.22.04.1
ProcVersionSignature: Ubuntu 5.15.0-56.62-generic 5.15.64
Uname: Linux 5.15.0-56-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckResult: pass
Date: Tue Dec 20 21:03:13 2022
ErrorMessage: installed nvidia-dkms-525-open package post-installation script subprocess returned error exit status 10
InstallationDate: Installed on 2022-12-21 (0 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.8
SourcePackage: nvidia-graphics-drivers-525
Title: package nvidia-dkms-525-open 525.60.11-0ubuntu0.22.04.1 failed to install/upgrade: installed nvidia-dkms-525-open package post-installation script subprocess returned error exit status 10
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Natale Toscano (vorelli) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in nvidia-graphics-drivers-525 (Ubuntu):
status: New → Confirmed
Revision history for this message
Rick (manwithnobrows) wrote :

Any updates on this issue? I'm getting the same thing.

```
E: nvidia-dkms-525: installed nvidia-dkms-525 package post-installation script subprocess returned error exit status 10
E: nvidia-driver-525: dependency problems - leaving unconfigured
```

Revision history for this message
Mario Reichel (mario-spitze) wrote :

It seams the module can't be build from source.
Get the same message from apt. It fails after an updates some days ago.
Not sure the kernel or dkms updates results into this break. Try with some NVidia driver versions.
The build log says the following:
```
cc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
```

Linux Mint 21.1
Kernel: 5.19.0-28-generic
NVidia Version: 525.78.01
DMSK Version: 3.0.6-2ubuntu1

Revision history for this message
Mario Reichel (mario-spitze) wrote :

Some news, gcc-12 includes the option '-ftrivial-auto-var-init=zero'. Linux Mint 21.1 normally uses gcc-11. Install the new gcc explicitly with apt (and change the alternative because of clang) solves the problem to me.

I made some changes seance default install, Mint release updates included. But Ubuntu 22.04 install gcc-11 normally by gcc package. This could break with a new compiler option.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.