#1031933 nvidia-driver: Updating from 520.56.06-2 to 525.85.12-1 failed during installation

#1031933#5
Date:
2023-02-25 15:03:14 UTC
From:
To:
Dear Maintainer,

I tried to update nvidia-driver from 520.56.06-2 to 525.85.12-1 but it failed
during installation:

A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of nvidia-driver:
 nvidia-driver depends on nvidia-kernel-dkms (= 525.85.12-1) | nvidia-
kernel-525.85.12 | nvidia-open-kernel-525.85.12 | nvidia-open-kernel-525.85.12;
however:
  Version of nvidia-kernel-dkms on system is 520.56.06-2.
  Package nvidia-kernel-525.85.12 is not installed.
  Package nvidia-open-kernel-525.85.12 is not installed.
  Package nvidia-open-kernel-525.85.12 is not installed.

I'm not sure but I think the cause might be that the package firmware-nvidia-
gsp is still at version 520.

Miroslav

#1031933#10
Date:
2023-02-25 15:22:40 UTC
From:
To:
I've just noticed
https://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/2023-February/021818.html

After adding non-free-firmware to apt sources, the package installs again.

Miroslav

#1031933#15
Date:
2023-02-25 15:40:22 UTC
From:
To:
On Sat, 25 Feb 2023 16:22:40 +0100 "Miroslav R." wrote:
 > I've just noticed
 >
https://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/2023-February/021818.html
 >
 > After adding non-free-firmware to apt sources, the package installs
again.
 >
 > Miroslav
 >
 >
 >

Just want to add that I'm surprised apt didn't catch broken dependencies
before trying to install. Could something be done about that?

Miroslav