Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SID - Unstable] [SOLVED] NVIDIA Problem Hinders SID Update

- - ALL UNSTABLE / TESTING THREADS SHOULD BE POSTED HERE - -
This sub-forum is the dedicated area for the ongoing Unstable/Testing releases of Debian. Advanced, or Experienced User support only. Use the software, give, and take advice with caution.
Post Reply
Message
Author
rossi
Posts: 56
Joined: 2022-02-14 17:17
Has thanked: 1 time
Been thanked: 2 times

[SID - Unstable] [SOLVED] NVIDIA Problem Hinders SID Update

#1 Post by rossi »

Good Morning,

I have a problem with an updating my SID installation because of an NVIDIA driver. I need advice on how to proceed.

I haven't done anything tricky or external with my system and have performed all previous updates very, very carefully.

Code: Select all

Tue Feb 14 08:44:09 [rossi@debian11 ~]$inxi -G
Graphics:
  Device-1: Intel Tiger Lake-H GT1 [UHD Graphics] driver: i915 v: kernel
  Device-2: NVIDIA GA104GLM [RTX A5000 Mobile] driver: N/A
  Device-3: Acer Integrated Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 1.21.1.7 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: iris gpu: i915 resolution: 3840x2160~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.4 renderer: Mesa Intel UHD Graphics (TGL GT1)
  
This is what I obtain when I try to update SID:

Code: Select all

root@debian11:~# apt-get 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:
 nvidia-driver : Depends: nvidia-kernel-dkms (= 525.85.12-1) but 520.56.06-2 is installed or
                          nvidia-kernel-525.85.12 or
                          nvidia-open-kernel-525.85.12 or
                          nvidia-open-kernel-525.85.12
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
I also tried

Code: Select all

apt --fix-broken install
, and it gives me more info:

Code: Select all

root@debian11:~# 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:
  firmware-nvidia-gsp nvidia-kernel-common nvidia-kernel-dkms nvidia-kernel-support nvidia-modprobe
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 234 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
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.

dpkg: error processing package nvidia-driver (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)
I don't want to remove anything or do anything until I get help and advice on what to do.

Can you please provide a suggestion on how to proceed? I can't perform an update or install new packages because I get the same error as above. I wanted to install git but could not.

I hope you can help me with this.

Kind regards,

Angelo
Last edited by rossi on 2023-02-20 18:50, edited 1 time in total.

User avatar
sunrat
Administrator
Administrator
Posts: 6474
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: [SID - Unstable] NVIDIA Problem Hinders SID Update

#2 Post by sunrat »

Possibly just wait and try again later. The new nvidia driver may not have all of its components and dependencies uploaded to the repo yet.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

TheOnlyJoey
Posts: 1
Joined: 2023-02-16 14:16

Re: [SID - Unstable] NVIDIA Problem Hinders SID Update

#3 Post by TheOnlyJoey »

Had the same issue but is fixed by adding non-free-firmware to your apt config.
This is due to firmware-nvidia-gsp-525.85.12 being missing for nvidia-driver and recently non-free firmware moving to its own repository category.

Related https://bugs.debian.org/cgi-bin/bugrepo ... ug=1030981

milomak
Posts: 2168
Joined: 2009-06-09 22:20
Been thanked: 2 times

Re: [SID - Unstable] NVIDIA Problem Hinders SID Update

#4 Post by milomak »

TheOnlyJoey wrote: 2023-02-16 14:21 Had the same issue but is fixed by adding non-free-firmware to your apt config.
This is due to firmware-nvidia-gsp-525.85.12 being missing for nvidia-driver and recently non-free firmware moving to its own repository category.

Related https://bugs.debian.org/cgi-bin/bugrepo ... ug=1030981
ah i haven't added this to my desktop.

let me see how this works.

edit - worked a treat
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

rossi
Posts: 56
Joined: 2022-02-14 17:17
Has thanked: 1 time
Been thanked: 2 times

Re: [SID - Unstable] NVIDIA Problem Hinders SID Update

#5 Post by rossi »

Hello,

Could you please be more specific on how to add the new non-free-firmware to my apt config.

I looked at the bug report and firmware web pages for Debian, and I am not sure about it.

Thanks so much.

Regards,

Angelo

rossi
Posts: 56
Joined: 2022-02-14 17:17
Has thanked: 1 time
Been thanked: 2 times

Re: [SID - Unstable] NVIDIA Problem Hinders SID Update

#6 Post by rossi »

Hello,

I forgot to add the contents of my /etc/apt/sources.list file:

Code: Select all

deb https://deb.debian.org/debian/ unstable main contrib non-free
deb-src https://deb.debian.org/debian/ unstable main contrib non-free

deb https://deb.debian.org/debian/ unstable main contrib non-free
deb-src https://deb.debian.org/debian/ unstable main contrib non-free

deb https://deb.debian.org/debian bookworm main non-free-firmware
I added the last line above for firmware inclusion, but I obtain the same error when trying to upgrade:

Code: Select all

root@debian11:/etc/apt# apt-get 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:
 nvidia-driver : Depends: nvidia-kernel-dkms (= 525.85.12-1) but 520.56.06-2 is installed or
                          nvidia-kernel-525.85.12 or
                          nvidia-open-kernel-525.85.12 or
                          nvidia-open-kernel-525.85.12
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Can you please help with what I am doing wrong?

Kind regards,

Angelo

rossi
Posts: 56
Joined: 2022-02-14 17:17
Has thanked: 1 time
Been thanked: 2 times

Re: [SID - Unstable] NVIDIA Problem Hinders SID Update

#7 Post by rossi »

Hello Everyone,

I found the problem.

The correct repository for the sid firmware is:

<code>
deb http://ftp.de.debian.org/debian sid main non-free-firmware
</code>

I performed the command <code>apt --fix-broken install</code> followed by <code>apt-get dist-upgrade</code> and it worked!

I had the incorrect repository.

Kind regards,

Angelo

User avatar
sunrat
Administrator
Administrator
Posts: 6474
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: [SID - Unstable] NVIDIA Problem Hinders SID Update

#8 Post by sunrat »

Great you got it working. Please edit the title of your first post to add prefix [Solved].

Your sources.list shows duplicate entries for 2 of the lines. Remove the duplicates. Also it is sufficient to just add non-free-firmware to the end of one of the deb lines like this:

Code: Select all

deb https://deb.debian.org/debian/ unstable main contrib non-free non-free-firmware

"sid" and "unstable" are identical.

And your code tags are incorrect, they should be square brackets, or use the code icon in the BBcode panel above the reply box.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

rossi
Posts: 56
Joined: 2022-02-14 17:17
Has thanked: 1 time
Been thanked: 2 times

Re: [SID - Unstable] NVIDIA Problem Hinders SID Update

#9 Post by rossi »

Thanks so much for your comments.
I will edit my first post and input solved.
Can you please indicate procedure for editing.

Kind regards,

Angelo

JulianGro
Posts: 7
Joined: 2022-10-26 20:24
Been thanked: 1 time

Re: [SID - Unstable] [SOLVED] NVIDIA Problem Hinders SID Update

#10 Post by JulianGro »

Thanks for troubleshooting this.

This issue just made it into Debian Testing.
How would we go about reporting this? It should at least show up in the apt changelog.

User avatar
sunrat
Administrator
Administrator
Posts: 6474
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: [SID - Unstable] [SOLVED] NVIDIA Problem Hinders SID Update

#11 Post by sunrat »

JulianGro wrote: 2023-02-24 10:15 Thanks for troubleshooting this.

This issue just made it into Debian Testing.
How would we go about reporting this? It should at least show up in the apt changelog.
I'm not sure what you mean. You want to report a problem for which the solution is simple and fully explained in this thread?
The current alpha installer for Bookworm offers for non-free-firmware to be added and yes is the default. Nothing to report really.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

JulianGro
Posts: 7
Joined: 2022-10-26 20:24
Been thanked: 1 time

Re: [SID - Unstable] [SOLVED] NVIDIA Problem Hinders SID Update

#12 Post by JulianGro »

Yes, because you have to specifically search on this forum to find the solution and Debian doesn't normally require you to do manual intervention without telling you so via apt changelog. If I didn't know about this forum and how good it is, it would have taken me a good amount of time to find a solution.
Anyone currently using Debian Testing with proprietary Nvidia drivers is going to run into this issue. And later people upgrading from Debian Bullseye to Debian Bookwork are going to run into this issue.

User avatar
@ttila
Posts: 150
Joined: 2017-12-13 16:57
Has thanked: 2 times
Been thanked: 15 times

Re: [SID - Unstable] [SOLVED] NVIDIA Problem Hinders SID Update

#13 Post by @ttila »

I've just updated Nvidia driver on my Bookworm machine to the 525.xx version, no problems. I had enabled non-free-firmware repo.

User avatar
sunrat
Administrator
Administrator
Posts: 6474
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: [SID - Unstable] [SOLVED] NVIDIA Problem Hinders SID Update

#14 Post by sunrat »

JulianGro wrote: 2023-02-24 11:19 Yes, because you have to specifically search on this forum to find the solution and Debian doesn't normally require you to do manual intervention without telling you so via apt changelog. If I didn't know about this forum and how good it is, it would have taken me a good amount of time to find a solution.
Anyone currently using Debian Testing with proprietary Nvidia drivers is going to run into this issue. And later people upgrading from Debian Bullseye to Debian Bookwork are going to run into this issue.
The change happened just in the last weeks and we only found out from the bug report linked above. However a general resolution to include non-free firmware in the installer was voted in last year, so it was expected to happen.
Users of Testing/Unstable are generally expected to be more experienced and bug reports are usually the first place to look when issues are encountered.
It is good the forum was helpful for you in this case. :wink:
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

JulianGro
Posts: 7
Joined: 2022-10-26 20:24
Been thanked: 1 time

Re: [SID - Unstable] [SOLVED] NVIDIA Problem Hinders SID Update

#15 Post by JulianGro »

Apparently a changelog entry was added, and it was added to the release notes.

Code: Select all

nvidia-graphics-drivers (525.89.02-1) unstable; urgency=medium

  The firmware-nvidia-gsp package has been moved to the newly created
  'non-free-firmware' archive area. This area needs to be enabled in
  /etc/apt/sources.list (/etc/apt/sources.list.d/*.list) in addition to
  'non-free' in order to upgrade to the 525 driver series.
  https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#non-free-split

 -- Andreas Beckmann <anbe@debian.org>  Mon, 27 Feb 2023 01:27:21 +0100

Post Reply