** Description changed:

  When running the ISO tracker test case "Install UEFI SecureBoot nVidia
  in Ubuntu Desktop" without internet connectivity with the questing
  candidate image (20251007)  I'd expect nvidia-driver-580 to be installed
  on my device (Acer A515 with NVIDIA Geforce MX130), but it wasn't. If
  the installer runs with the live session connected to the internet then
  it works.
  
  Chroot'ing into the target system after an offline installation confirms
  that nvidia packages were not installed and attempting to install with
  `ubuntu-drivers install --no-oem` shows that the packages in the pool
  are not installable due missing dependency on libnvidia-compute-580. See
  details below. Looking at subiquity logs it runs that command it reports
  success (in fact despite the output below that command exits 0). More
  importantly, the package libnvidia-compute-580 is not in the image pool
  (which is what I think it's causing the issue).
  
  ----
  ubuntu@ubuntu:/target$ sudo mount --rbind /proc /target/proc
  ubuntu@ubuntu:/target$ sudo mount --rbind /sys /target/sys
  ubuntu@ubuntu:/target$ sudo mount --rbind /dev /target/dev
  ubuntu@ubuntu:/target$ sudo mount --rbind /run /target/run
  ubuntu@ubuntu:/target$ cd ..
  ubuntu@ubuntu:/$ sudo chroot /target
  root@ubuntu:/# apt list --installed | grep nvidia
  
  WARNING: apt does not have a stable CLI interface. Use with caution in
  scripts.
  
  root@ubuntu:/# ubuntu-drivers list
  nvidia-driver-580, (kernel modules provided by 
linux-modules-nvidia-580-generic-hwe-24.04)
  nvidia-driver-580-server, (kernel modules provided by 
linux-modules-nvidia-580-server-generic-hwe-24.04)
  root@ubuntu:/# ubuntu-drivers install --no-oem --dry-run
  Usage: ubuntu-drivers install [OPTIONS] [DRIVER]...
  Try 'ubuntu-drivers install -h' for help.
  
  Error: No such option: --dry-run
  root@ubuntu:/# ubuntu-drivers install --no-oem --dryrun
  Usage: ubuntu-drivers install [OPTIONS] [DRIVER]...
  Try 'ubuntu-drivers install -h' for help.
  
  Error: No such option: --dryrun
  root@ubuntu:/# ubuntu-drivers install --no-oem
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Solving dependencies... Error!
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:
  
  The following packages have unmet dependencies:
-  linux-modules-nvidia-580-generic-hwe-24.04 : Depends: 
linux-modules-nvidia-580-6.17.0-5-generic (= 6.17.0-5.5) but it is not going to 
be installed
-                                               Depends: 
nvidia-kernel-common-580 (>= 580.82.07) but it is not going to be installed
-  nvidia-driver-580 : Depends: libnvidia-gl-580 (= 580.82.07-0ubuntu2) but it 
is not going to be installed
-                      Depends: nvidia-kernel-common-580 (<= 580.82.07-1) but 
it is not going to be installed
-                      Depends: nvidia-kernel-common-580 (>= 580.82.07) but it 
is not going to be installed
-                      Depends: nvidia-kernel-source-580 (= 580.82.07-0ubuntu2) 
but it is not going to be installed
-                      Depends: libnvidia-compute-580 (= 580.82.07-0ubuntu2) 
but it is not installable
-                      Depends: libnvidia-extra-580 (= 580.82.07-0ubuntu2) but 
it is not going to be installed
-                      Depends: nvidia-compute-utils-580 (= 580.82.07-0ubuntu2) 
but it is not going to be installed
-                      Depends: libnvidia-decode-580 (= 580.82.07-0ubuntu2) but 
it is not going to be installed
-                      Depends: libnvidia-encode-580 (= 580.82.07-0ubuntu2) but 
it is not going to be installed
-                      Depends: nvidia-utils-580 (= 580.82.07-0ubuntu2) but it 
is not going to be installed
-                      Depends: xserver-xorg-video-nvidia-580 (= 
580.82.07-0ubuntu2) but it is not going to be installed
-                      Depends: libnvidia-cfg1-580 (= 580.82.07-0ubuntu2) but 
it is not going to be installed
-                      Depends: libnvidia-fbc1-580 (= 580.82.07-0ubuntu2) but 
it is not going to be installed
-                      Recommends: nvidia-settings but it is not going to be 
installed
-                      Recommends: nvidia-prime (>= 0.8) but it is not going to 
be installed
-                      Recommends: libnvidia-compute-580:i386 (= 
580.82.07-0ubuntu2) but it is not installable
-                      Recommends: libnvidia-decode-580:i386 (= 
580.82.07-0ubuntu2) but it is not installable
-                      Recommends: libnvidia-encode-580:i386 (= 
580.82.07-0ubuntu2) but it is not installable
-                      Recommends: libnvidia-fbc1-580:i386 (= 
580.82.07-0ubuntu2) but it is not installable
-                      Recommends: libnvidia-gl-580:i386 (= 580.82.07-0ubuntu2) 
but it is not installable
+  linux-modules-nvidia-580-generic-hwe-24.04 : Depends: 
linux-modules-nvidia-580-6.17.0-5-generic (= 6.17.0-5.5) but it is not going to 
be installed
+                                               Depends: 
nvidia-kernel-common-580 (>= 580.82.07) but it is not going to be installed
+  nvidia-driver-580 : Depends: libnvidia-gl-580 (= 580.82.07-0ubuntu2) but it 
is not going to be installed
+                      Depends: nvidia-kernel-common-580 (<= 580.82.07-1) but 
it is not going to be installed
+                      Depends: nvidia-kernel-common-580 (>= 580.82.07) but it 
is not going to be installed
+                      Depends: nvidia-kernel-source-580 (= 580.82.07-0ubuntu2) 
but it is not going to be installed
+                      Depends: libnvidia-compute-580 (= 580.82.07-0ubuntu2) 
but it is not installable
+                      Depends: libnvidia-extra-580 (= 580.82.07-0ubuntu2) but 
it is not going to be installed
+                      Depends: nvidia-compute-utils-580 (= 580.82.07-0ubuntu2) 
but it is not going to be installed
+                      Depends: libnvidia-decode-580 (= 580.82.07-0ubuntu2) but 
it is not going to be installed
+                      Depends: libnvidia-encode-580 (= 580.82.07-0ubuntu2) but 
it is not going to be installed
+                      Depends: nvidia-utils-580 (= 580.82.07-0ubuntu2) but it 
is not going to be installed
+                      Depends: xserver-xorg-video-nvidia-580 (= 
580.82.07-0ubuntu2) but it is not going to be installed
+                      Depends: libnvidia-cfg1-580 (= 580.82.07-0ubuntu2) but 
it is not going to be installed
+                      Depends: libnvidia-fbc1-580 (= 580.82.07-0ubuntu2) but 
it is not going to be installed
+                      Recommends: nvidia-settings but it is not going to be 
installed
+                      Recommends: nvidia-prime (>= 0.8) but it is not going to 
be installed
+                      Recommends: libnvidia-compute-580:i386 (= 
580.82.07-0ubuntu2) but it is not installable
+                      Recommends: libnvidia-decode-580:i386 (= 
580.82.07-0ubuntu2) but it is not installable
+                      Recommends: libnvidia-encode-580:i386 (= 
580.82.07-0ubuntu2) but it is not installable
+                      Recommends: libnvidia-fbc1-580:i386 (= 
580.82.07-0ubuntu2) but it is not installable
+                      Recommends: libnvidia-gl-580:i386 (= 580.82.07-0ubuntu2) 
but it is not installable
  E: Unable to satisfy dependencies. Reached two conflicting decisions:
-    1. nvidia-utils-580:amd64 is selected for install because:
-       1. nvidia-driver-580:amd64=580.82.07-0ubuntu2 is selected for install
-       2. nvidia-driver-580:amd64 Depends nvidia-utils-580 (= 
580.82.07-0ubuntu2)
-    2. nvidia-utils-580:amd64 Depends libnvidia-compute-580 (>= 580.82.07)
-       but none of the choices are installable:
-       [no choices]
+    1. nvidia-utils-580:amd64 is selected for install because:
+       1. nvidia-driver-580:amd64=580.82.07-0ubuntu2 is selected for install
+       2. nvidia-driver-580:amd64 Depends nvidia-utils-580 (= 
580.82.07-0ubuntu2)
+    2. nvidia-utils-580:amd64 Depends libnvidia-compute-580 (>= 580.82.07)
+       but none of the choices are installable:
+       [no choices]
  
- ---
+ ----
+ 
+ Extracts from subiquity debug logs:
+ 
+ ----
+ 2025-10-08 15:12:06,010 DEBUG root:38 finish: 
subiquity/Drivers/_list_drivers/cmd-in-target: SUCCESS: curtin command in-target
+ 2025-10-08 15:12:06,032 DEBUG subiquity.server.curtin:130 waited 0.2 seconds 
for events to drain
+ 2025-10-08 15:12:06,032 DEBUG subiquitycore.utils:175 astart_command called: 
['systemd-run', '--wait', '--same-dir', '--property', 
'SyslogIdentifier=subiquity_log.4309', '--setenv', 
'PATH=/snap/ubuntu-desktop-bootstrap/441/bin/subiquity/bin:/snap/ubuntu-desktop-bootstrap/441/bin/subiquity/usr/bin:/snap/ubuntu-desktop-bootstrap/441/bin:/snap/ubuntu-desktop-bootstrap/441/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin',
 '--setenv', 
'PYTHONPATH=/snap/ubuntu-desktop-bootstrap/441/lib/python3.12/site-packages:/snap/ubuntu-desktop-bootstrap/441/usr/lib/python3/dist-packages:/snap/ubuntu-desktop-bootstrap/441/usr/lib/python3/site-packages:',
 '--setenv', 'PYTHON=/snap/ubuntu-desktop-bootstrap/441/usr/bin/python3.12', 
'--setenv', 'SNAP=/snap/ubuntu-desktop-bootstrap/441', '--', 'umount', 
'/tmp/tmp44lxanlc/mount']
+ 2025-10-08 15:12:06,062 DEBUG subiquity.server.controllers.drivers:127 
Available drivers to install: ['nvidia-driver-580']
+ 2025-10-08 15:12:06,063 DEBUG root:38 finish: 
subiquity/Drivers/_list_drivers: SUCCESS: 
+ ----
+ 
+ ----
+ 2025-10-08 15:15:08,296 DEBUG root:38 start: 
subiquity/Install/install/postinstall/ubuntu-drivers-install: installing 
third-party drivers
+ 2025-10-08 15:15:08,296 DEBUG subiquitycore.utils:175 astart_command called: 
['systemd-run', '--wait', '--same-dir', '--property', 
'SyslogIdentifier=subiquity_log.4309', '--property', 'PrivateMounts=yes', 
'--setenv', 
'PATH=/snap/ubuntu-desktop-bootstrap/441/bin/subiquity/bin:/snap/ubuntu-desktop-bootstrap/441/bin/subiquity/usr/bin:/snap/ubuntu-desktop-bootstrap/441/bin:/snap/ubuntu-desktop-bootstrap/441/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin',
 '--setenv', 
'PYTHONPATH=/snap/ubuntu-desktop-bootstrap/441/lib/python3.12/site-packages:/snap/ubuntu-desktop-bootstrap/441/usr/lib/python3/dist-packages:/snap/ubuntu-desktop-bootstrap/441/usr/lib/python3/site-packages:',
 '--setenv', 'PYTHON=/snap/ubuntu-desktop-bootstrap/441/usr/bin/python3.12', 
'--setenv', 'SNAP=/snap/ubuntu-desktop-bootstrap/441', '--', 
'/snap/ubuntu-desktop-bootstrap/441/usr/bin/python3.12', '-m', 'curtin', 
'--showtrace', '-vvv', '--set', 'json:reporting={"subiquity": {"type": 
"journald", "identifier": "curtin_event.4309.12"}}', 'in-target', '-t', 
'/target', '--', 'ubuntu-drivers', 'install', '--no-oem']
+ 2025-10-08 15:15:09,532 DEBUG root:38 start: 
subiquity/Install/install/postinstall/ubuntu-drivers-install/cmd-in-target: 
curtin command in-target
+ 2025-10-08 15:15:09,734 DEBUG subiquity.server.curtin:130 waited 0.1 seconds 
for events to drain
+ 2025-10-08 15:15:09,809 DEBUG root:38 finish: 
subiquity/Install/install/postinstall/ubuntu-drivers-install/cmd-in-target: 
SUCCESS: curtin command in-target
+ 2025-10-08 15:15:09,835 DEBUG subiquity.server.curtin:130 waited 0.2 seconds 
for events to drain
+ 2025-10-08 15:15:09,836 DEBUG root:38 finish: 
subiquity/Install/install/postinstall/ubuntu-drivers-install: SUCCESS: 
installing third-party drivers
+ ----

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-580 in Ubuntu.
https://bugs.launchpad.net/bugs/2127099

Title:
  nvidia-driver-580 not installable in questing live session offline

Status in nvidia-graphics-drivers-580 package in Ubuntu:
  New

Bug description:
  When running the ISO tracker test case "Install UEFI SecureBoot nVidia
  in Ubuntu Desktop" without internet connectivity with the questing
  candidate image (20251007)  I'd expect nvidia-driver-580 to be
  installed on my device (Acer A515 with NVIDIA Geforce MX130), but it
  wasn't. If the installer runs with the live session connected to the
  internet then it works.

  Chroot'ing into the target system after an offline installation
  confirms that nvidia packages were not installed and attempting to
  install with `ubuntu-drivers install --no-oem` shows that the packages
  in the pool are not installable due missing dependency on libnvidia-
  compute-580. See details below. Looking at subiquity logs it runs that
  command it reports success (in fact despite the output below that
  command exits 0). More importantly, the package libnvidia-compute-580
  is not in the image pool (which is what I think it's causing the
  issue).

  ----
  ubuntu@ubuntu:/target$ sudo mount --rbind /proc /target/proc
  ubuntu@ubuntu:/target$ sudo mount --rbind /sys /target/sys
  ubuntu@ubuntu:/target$ sudo mount --rbind /dev /target/dev
  ubuntu@ubuntu:/target$ sudo mount --rbind /run /target/run
  ubuntu@ubuntu:/target$ cd ..
  ubuntu@ubuntu:/$ sudo chroot /target
  root@ubuntu:/# apt list --installed | grep nvidia

  WARNING: apt does not have a stable CLI interface. Use with caution in
  scripts.

  root@ubuntu:/# ubuntu-drivers list
  nvidia-driver-580, (kernel modules provided by 
linux-modules-nvidia-580-generic-hwe-24.04)
  nvidia-driver-580-server, (kernel modules provided by 
linux-modules-nvidia-580-server-generic-hwe-24.04)
  root@ubuntu:/# ubuntu-drivers install --no-oem --dry-run
  Usage: ubuntu-drivers install [OPTIONS] [DRIVER]...
  Try 'ubuntu-drivers install -h' for help.

  Error: No such option: --dry-run
  root@ubuntu:/# ubuntu-drivers install --no-oem --dryrun
  Usage: ubuntu-drivers install [OPTIONS] [DRIVER]...
  Try 'ubuntu-drivers install -h' for help.

  Error: No such option: --dryrun
  root@ubuntu:/# ubuntu-drivers install --no-oem
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Solving dependencies... Error!
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:

  The following packages have unmet dependencies:
   linux-modules-nvidia-580-generic-hwe-24.04 : Depends: 
linux-modules-nvidia-580-6.17.0-5-generic (= 6.17.0-5.5) but it is not going to 
be installed
                                                Depends: 
nvidia-kernel-common-580 (>= 580.82.07) but it is not going to be installed
   nvidia-driver-580 : Depends: libnvidia-gl-580 (= 580.82.07-0ubuntu2) but it 
is not going to be installed
                       Depends: nvidia-kernel-common-580 (<= 580.82.07-1) but 
it is not going to be installed
                       Depends: nvidia-kernel-common-580 (>= 580.82.07) but it 
is not going to be installed
                       Depends: nvidia-kernel-source-580 (= 580.82.07-0ubuntu2) 
but it is not going to be installed
                       Depends: libnvidia-compute-580 (= 580.82.07-0ubuntu2) 
but it is not installable
                       Depends: libnvidia-extra-580 (= 580.82.07-0ubuntu2) but 
it is not going to be installed
                       Depends: nvidia-compute-utils-580 (= 580.82.07-0ubuntu2) 
but it is not going to be installed
                       Depends: libnvidia-decode-580 (= 580.82.07-0ubuntu2) but 
it is not going to be installed
                       Depends: libnvidia-encode-580 (= 580.82.07-0ubuntu2) but 
it is not going to be installed
                       Depends: nvidia-utils-580 (= 580.82.07-0ubuntu2) but it 
is not going to be installed
                       Depends: xserver-xorg-video-nvidia-580 (= 
580.82.07-0ubuntu2) but it is not going to be installed
                       Depends: libnvidia-cfg1-580 (= 580.82.07-0ubuntu2) but 
it is not going to be installed
                       Depends: libnvidia-fbc1-580 (= 580.82.07-0ubuntu2) but 
it is not going to be installed
                       Recommends: nvidia-settings but it is not going to be 
installed
                       Recommends: nvidia-prime (>= 0.8) but it is not going to 
be installed
                       Recommends: libnvidia-compute-580:i386 (= 
580.82.07-0ubuntu2) but it is not installable
                       Recommends: libnvidia-decode-580:i386 (= 
580.82.07-0ubuntu2) but it is not installable
                       Recommends: libnvidia-encode-580:i386 (= 
580.82.07-0ubuntu2) but it is not installable
                       Recommends: libnvidia-fbc1-580:i386 (= 
580.82.07-0ubuntu2) but it is not installable
                       Recommends: libnvidia-gl-580:i386 (= 580.82.07-0ubuntu2) 
but it is not installable
  E: Unable to satisfy dependencies. Reached two conflicting decisions:
     1. nvidia-utils-580:amd64 is selected for install because:
        1. nvidia-driver-580:amd64=580.82.07-0ubuntu2 is selected for install
        2. nvidia-driver-580:amd64 Depends nvidia-utils-580 (= 
580.82.07-0ubuntu2)
     2. nvidia-utils-580:amd64 Depends libnvidia-compute-580 (>= 580.82.07)
        but none of the choices are installable:
        [no choices]

  ----

  Extracts from subiquity debug logs:

  ----
  2025-10-08 15:12:06,010 DEBUG root:38 finish: 
subiquity/Drivers/_list_drivers/cmd-in-target: SUCCESS: curtin command in-target
  2025-10-08 15:12:06,032 DEBUG subiquity.server.curtin:130 waited 0.2 seconds 
for events to drain
  2025-10-08 15:12:06,032 DEBUG subiquitycore.utils:175 astart_command called: 
['systemd-run', '--wait', '--same-dir', '--property', 
'SyslogIdentifier=subiquity_log.4309', '--setenv', 
'PATH=/snap/ubuntu-desktop-bootstrap/441/bin/subiquity/bin:/snap/ubuntu-desktop-bootstrap/441/bin/subiquity/usr/bin:/snap/ubuntu-desktop-bootstrap/441/bin:/snap/ubuntu-desktop-bootstrap/441/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin',
 '--setenv', 
'PYTHONPATH=/snap/ubuntu-desktop-bootstrap/441/lib/python3.12/site-packages:/snap/ubuntu-desktop-bootstrap/441/usr/lib/python3/dist-packages:/snap/ubuntu-desktop-bootstrap/441/usr/lib/python3/site-packages:',
 '--setenv', 'PYTHON=/snap/ubuntu-desktop-bootstrap/441/usr/bin/python3.12', 
'--setenv', 'SNAP=/snap/ubuntu-desktop-bootstrap/441', '--', 'umount', 
'/tmp/tmp44lxanlc/mount']
  2025-10-08 15:12:06,062 DEBUG subiquity.server.controllers.drivers:127 
Available drivers to install: ['nvidia-driver-580']
  2025-10-08 15:12:06,063 DEBUG root:38 finish: 
subiquity/Drivers/_list_drivers: SUCCESS: 
  ----

  ----
  2025-10-08 15:15:08,296 DEBUG root:38 start: 
subiquity/Install/install/postinstall/ubuntu-drivers-install: installing 
third-party drivers
  2025-10-08 15:15:08,296 DEBUG subiquitycore.utils:175 astart_command called: 
['systemd-run', '--wait', '--same-dir', '--property', 
'SyslogIdentifier=subiquity_log.4309', '--property', 'PrivateMounts=yes', 
'--setenv', 
'PATH=/snap/ubuntu-desktop-bootstrap/441/bin/subiquity/bin:/snap/ubuntu-desktop-bootstrap/441/bin/subiquity/usr/bin:/snap/ubuntu-desktop-bootstrap/441/bin:/snap/ubuntu-desktop-bootstrap/441/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin',
 '--setenv', 
'PYTHONPATH=/snap/ubuntu-desktop-bootstrap/441/lib/python3.12/site-packages:/snap/ubuntu-desktop-bootstrap/441/usr/lib/python3/dist-packages:/snap/ubuntu-desktop-bootstrap/441/usr/lib/python3/site-packages:',
 '--setenv', 'PYTHON=/snap/ubuntu-desktop-bootstrap/441/usr/bin/python3.12', 
'--setenv', 'SNAP=/snap/ubuntu-desktop-bootstrap/441', '--', 
'/snap/ubuntu-desktop-bootstrap/441/usr/bin/python3.12', '-m', 'curtin', 
'--showtrace', '-vvv', '--set', 'json:reporting={"subiquity": {"type": 
"journald", "identifier": "curtin_event.4309.12"}}', 'in-target', '-t', 
'/target', '--', 'ubuntu-drivers', 'install', '--no-oem']
  2025-10-08 15:15:09,532 DEBUG root:38 start: 
subiquity/Install/install/postinstall/ubuntu-drivers-install/cmd-in-target: 
curtin command in-target
  2025-10-08 15:15:09,734 DEBUG subiquity.server.curtin:130 waited 0.1 seconds 
for events to drain
  2025-10-08 15:15:09,809 DEBUG root:38 finish: 
subiquity/Install/install/postinstall/ubuntu-drivers-install/cmd-in-target: 
SUCCESS: curtin command in-target
  2025-10-08 15:15:09,835 DEBUG subiquity.server.curtin:130 waited 0.2 seconds 
for events to drain
  2025-10-08 15:15:09,836 DEBUG root:38 finish: 
subiquity/Install/install/postinstall/ubuntu-drivers-install: SUCCESS: 
installing third-party drivers
  ----

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-580/+bug/2127099/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to