Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1005311: xserver-xorg-video-nvidia: Package has unmet dependencies

4,414 views
Skip to first unread message

Matthias

unread,
Feb 10, 2022, 11:10:03 PM2/10/22
to
Package: xserver-xorg-video-nvidia
Version: 470.103.01-1
Severity: important

When I try to install the nvidia-driver package, I get a unmet dependency
error. xserver-xorg-video-nvidia can't be installed because of unmet
depedencies (see below).

sudo apt install xserver-xorg-video-nvidia
Package lists are read... Done
Dependency tree is built... Done
Status information is read... Done
Some packages could not be installed. This may mean that
that you have requested an impossible situation or, if you are using the
unstable distribution, that some required packages have not been built
yet or
that
have not been built or have not left Incoming yet.
The following information may help you resolve the situation:

The following packages have unfulfilled dependencies:
 xserver-xorg-video-nvidia : Depends on: xorg-video-abi-24 or
                                            xorg-video-abi-23 but is not
installable or
                                            xorg-video-abi-20 but is not
installable or
                                            xorg-video-abi-19 is not
installable or
                                            xorg-video-abi-18 but cannot be
installed or
                                            xorg-video-abi-15 but cannot be
installed or
                                            xorg-video-abi-14 is not
installable or
                                            xorg-video-abi-13 but cannot be
installed or
                                            xorg-video-abi-12 but cannot be
installed or
                                            xorg-video-abi-11 is not
installable or
                                            xorg-video-abi-10 is not
installable or
                                            xorg-video-abi-8 is not
installable
or
                                            xorg-video-abi-6.0 but not
installable
                             Depends on: xserver-xorg-core (<
2:1.20.99) but
2:21.1.3-2 should be installed
                             Recommends: nvidia-driver (>= 470.103.01) but
should not be installed
                             Recommends: nvidia-vdpau-driver (>=
470.103.01)
but should not be installed
                             Recommends: nvidia-kernel-dkms (=
470.103.01-1)
but should not be installed or
                                        nvidia-kernel-470.103.01
                             Recommends: nvidia-settings (>= 470) but
should
not be installed
E: Problems cannot be corrected, you have retained broken packages.

The problem are unmet dependecies

sudo apt install nvidia-driver
Package lists are read... Done
Dependency tree is built... Done
Status information is read... Done
Some packages could not be installed. This may mean that
that you have requested an impossible situation or, if you are using the
unstable distribution, that some required packages have not been built
yet or
that
have not been built or have not left Incoming yet.
The following information may help you resolve the situation:

The following packages have unfulfilled dependencies:
 xserver-xorg-video-nvidia : Depends on: xorg-video-abi-24 or
                                            xorg-video-abi-23 but is not
installable or
                                            xorg-video-abi-20 but is not
installable or
                                            xorg-video-abi-19 is not
installable or
                                            xorg-video-abi-18 but cannot be
installed or
                                            xorg-video-abi-15 but cannot be
installed or
                                            xorg-video-abi-14 is not
installable or
                                            xorg-video-abi-13 but cannot be
installed or
                                            xorg-video-abi-12 but cannot be
installed or
                                            xorg-video-abi-11 is not
installable or
                                            xorg-video-abi-10 is not
installable or
                                            xorg-video-abi-8 is not
installable
or
                                            xorg-video-abi-6.0 but not
installable
                             Depends on: xserver-xorg-core (<
2:1.20.99) but
2:21.1.3-2 should be installed
E: Problems cannot be corrected, you have withheld broken packages.




-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.16.8-surface (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xserver-xorg-video-nvidia depends on:
ii  libc6 2.33-5
ii  libnvidia-glcore 470.103.01-1
ii  nvidia-alternative 470.103.01-1
ii  nvidia-installer-cleanup 20151021+13
ii  nvidia-legacy-check 470.103.01-1
pn  nvidia-support <none>
pn  xorg-video-abi-24 | xorg-video-abi-23 | xorg-video-abi-20 | x <none>
ii  xserver-xorg-core 2:21.1.3-2

Versions of packages xserver-xorg-video-nvidia recommends:
pn  nvidia-driver                                  <none>
pn  nvidia-kernel-dkms | nvidia-kernel-470.103.01  <none>
pn  nvidia-settings                                <none>
pn  nvidia-vdpau-driver                            <none>

Versions of packages xserver-xorg-video-nvidia suggests:
pn  nvidia-kernel-dkms | nvidia-kernel-source  <none>

Michael Tatge

unread,
Feb 11, 2022, 6:00:03 AM2/11/22
to
Package: xserver-xorg-video-nvidia
Version: 470.103.01-1
Followup-For: Bug #1005311

Dear Maintainer,

since updating today the nvidia driver package doesn't work anymore.
It depends on xserver-xorg-video-nvidia which has unmet dependencies itself.

Depends: xserver-xorg-core (< 2:1.20.99) but 2:21.1.3-2 is to be installed


-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-1-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xserver-xorg-video-nvidia depends on:
ii libc6 2.33-5
ii libnvidia-glcore 470.103.01-1
ii nvidia-alternative 470.103.01-1
ii nvidia-installer-cleanup 20151021+13
ii nvidia-legacy-check 470.103.01-1
ii nvidia-support 20151021+13
pn xorg-video-abi-24 | xorg-video-abi-23 | xorg-video-abi-20 | x <none>
ii xserver-xorg-core 2:21.1.3-2

Versions of packages xserver-xorg-video-nvidia recommends:
pn nvidia-driver <none>
ii nvidia-kernel-dkms [nvidia-kernel-470.103.01] 470.103.01-1
pn nvidia-settings <none>
pn nvidia-vdpau-driver <none>

Versions of packages xserver-xorg-video-nvidia suggests:
ii nvidia-kernel-dkms 470.103.01-1

Andreas Beckmann

unread,
Feb 11, 2022, 11:10:04 AM2/11/22
to
On 11/02/2022 11.48, Michael Tatge wrote:
> since updating today the nvidia driver package doesn't work anymore.
> It depends on xserver-xorg-video-nvidia which has unmet dependencies itself.
>
> Depends: xserver-xorg-core (< 2:1.20.99) but 2:21.1.3-2 is to be installed

Not to forget
Depends: xorg-video-abi-24 but it is not installable or ...

Does the nvidia driver support the new xorg-video-abi-25 in the new Xorg
version? There was nothing in upstream's changelog, yet.


Andreas

Andreas Beckmann

unread,
Feb 11, 2022, 6:10:03 PM2/11/22
to
On 11/02/2022 17.05, Andreas Beckmann wrote:
> Does the nvidia driver support the new xorg-video-abi-25 in the new Xorg
> version? There was nothing in upstream's changelog, yet.

There is now an untested branch in git with the dependency fix:
470+xserver21

I've found that:

https://forums.developer.nvidia.com/t/xorg-server-21-1-released-any-eta-on-compatible-nvidia-drivers/193422

philmmanjaro wrote on Nov 11

So far 470xx and 495xx series work. [...]

philmmanjaro wrote on Nov 16

[...] Only 470xx and 495xx series adopted to ABI_VIDEODRV_VERSION
25.2 so far. [...]

ionen wrote on Dec 20

To update, 390.147 released a few days ago supports xorg-21.1 [...]


My guesses for an Xorg Xserver 21 compatibility table:

510.47.03 (2022-02-01) assume still supported ;-)
495.46 (2021-12-13) supported according to philmmanjaro
470.103.01 (2022-01-31) supported according to philmmanjaro
! 460.106.00 (2021-10-26) EoL, assume not supported
450.172.01 (2022-01-31) probably supported
! 418.226.00 (2021-10-26) assume not supported
390.147 (2021-12-16) supported according to ionen
! 340.108 (2019-12-23) EoL, not supportable

Andreas

Magnus Ekdahl

unread,
Feb 13, 2022, 1:50:05 AM2/13/22
to
This has been open for almost 2 days now. Is there a workaround for this bug?

--
Magnus Ekdahl

Dan Chokola

unread,
Feb 13, 2022, 10:00:03 AM2/13/22
to
> This has been open for almost 2 days now. Is there a workaround for this bug?
I used `dpkg --force-depends ...` to install the nvidia packages I needed alongside the current version of Xorg and all has been working fine for the past few days. If there is a difference in the ABI, it hasn't caused me any trouble yet.

--
Dan Chokola

Magnus Ekdahl

unread,
Feb 13, 2022, 1:10:03 PM2/13/22
to
Thanks Dan,

$apt download xserver-xorg-video-nvidia nvidia-driver
$sudo dpkg -i --force-depends nvidia-driver*.deb 
$sudo dpkg -i --force-depends xserver-xorg-video-nvidia*.deb

is indeed a workaround.

kind regards
Magnus

--
Magnus Ekdahl

Michael Tatge

unread,
Feb 16, 2022, 3:30:03 AM2/16/22
to
* On Mon, Feb 14, 2022 12:29PM +0100 I wrote:
> FWIW, I uninstalled all nvidia packages and downloaded the latest driver from nvidia directly.
> Version: 510.47.03

And back to the distro package. Had the strangest effects in Terminals
running tmux. Anyhow it's all well again now. Thanks.

Michael
--
PGP Public Key: http://initnull.org/DE3C3D3BEEE7D043.txt
Jabber: in...@jabber.de

Aniol Martí

unread,
Feb 23, 2022, 4:50:03 AM2/23/22
to
On Mon, 14 Feb 2022 20:31:33 +0100 Gianluigi Tiesi <she...@netfarm.it>
wrote:
> optirun glxinfo
>
> optirun glxinfo
> [ 1566.529702] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Unable to locate/open config directory:
> "/etc/bumblebee/xorg.conf.d"
>
> [ 1566.529735] [ERROR]Aborting because fallback start is disabled.
>
>
> in xorg log:
>
> [ 1566.527] (II) NVIDIA dlloader X Driver 470.103.01 Thu Jan 6 12:18:33 UTC 2022
> [ 1566.527] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
> [ 1566.529] (EE) No devices detected.
> [ 1566.529] (EE)
> Fatal server error:
> [ 1566.529] (EE) no screens found(EE)
> [ 1566.529] (EE)
>
> perhaps nvidia module loads:
>
> [ 1566.540788] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
> [ 1566.540886] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
> [ 1566.587576] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 470.103.01 Thu Jan 6 12:10:04 UTC 2022
>

I solved it manually setting the BusID in /etc/bumblebee/xorg.conf.nvidia.

To find the BusID run `lspci | egrep 'VGA|3D'`. You will get something
like "03:00.0". Then, add BusID "PCI:03:00:0" to
/etc/bumblebee/xorg.conf.nvidia (note that you need to change the dot to
a colon).

After doing this primusrun worked again.

Christian Weeks

unread,
Feb 23, 2022, 2:40:03 PM2/23/22
to
This bug also affects experimental version 510.47.03-1 - it looks like the
dependencies need updating on the experimental driver as well.
0 new messages