In an attempt to verify, I tested an upgrade from hirsute-updates
->hirsute-proposed in the same way I did in the original report:

ubuntu@blanka:~$ sudo apt install nvidia-dkms-460 nvidia-utils-460
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  nvidia-driver-460
The following packages will be upgraded:
  nvidia-dkms-460 nvidia-utils-460
2 upgraded, 0 newly installed, 0 to remove and 78 not upgraded.
Need to get 399 kB of archives.

While the upgrade did not report errors, I did expect to see nvidia-
kernel-source-460 also get updated here. While an updated nvidia-kernel-
source-460 is also available in -proposed, the dependencies did not pull
it in. I see that nvidia-dkms-460 does indeed have a versioned dep on
nvidia-kernel-source-460, allowing the range of 460.73.01->460.73.01-1,
inclusive. I kind of expected this to be a strict =${src:Version} - i.e.
only allow nvidia-kernel-source-460 (= 460.73.01-0ubuntu1.21.04.1).
Since they are from the same source package that exact version should
always be available, and presumably there's a chance that a packaging
update could make some minor version of one incompatible with the other.

At any rate - I'm out of my depth here and perhaps there are some
guarantees about these packages that prevent issues between minor
versions. If so, I'm happy to go ahead and mark this as verified and
move on with testing the other series.

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

Title:
  Upgrade from 460.32.03-0ubuntu2 to 460.73.01-0ubuntu1 fails

Status in nvidia-graphics-drivers-460 package in Ubuntu:
  Triaged
Status in nvidia-graphics-drivers-460-server package in Ubuntu:
  Triaged

Bug description:
  ubuntu@dgx-1-exotic-skunk-201710-25896:~$ sudo apt install 
nvidia-dkms-460-server nvidia-utils-460-server
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  The following additional packages will be installed:
    nvidia-kernel-common-460-server
  Suggested packages:
    nvidia-driver-460-server
  The following packages will be upgraded:
    nvidia-dkms-460-server nvidia-kernel-common-460-server
    nvidia-utils-460-server
  3 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.
  Need to get 424 kB of archives.
  After this operation, 0 B of additional disk space will be used.
  Do you want to continue? [Y/n] 
  Get:1 http://archive.ubuntu.com/ubuntu hirsute-proposed/restricted amd64 
nvidia-dkms-460-server amd64 460.73.01-0ubuntu1 [42.8 kB]
  Get:2 http://archive.ubuntu.com/ubuntu hirsute-proposed/restricted amd64 
nvidia-kernel-common-460-server amd64 460.73.01-0ubuntu1 [18.4 kB]
  Get:3 http://archive.ubuntu.com/ubuntu hirsute-proposed/restricted amd64 
nvidia-utils-460-server amd64 460.73.01-0ubuntu1 [363 kB]
  Fetched 424 kB in 2s (220 kB/s)                  
  (Reading database ... 87065 files and directories currently installed.)
  Preparing to unpack .../nvidia-dkms-460-server_460.73.01-0ubuntu1_amd64.deb 
...
  Removing all DKMS Modules
  Done.
  Unpacking nvidia-dkms-460-server (460.73.01-0ubuntu1) over 
(460.32.03-0ubuntu2) 
  ...
  Preparing to unpack 
.../nvidia-kernel-common-460-server_460.73.01-0ubuntu1_amd64
  .deb ...
  Unpacking nvidia-kernel-common-460-server (460.73.01-0ubuntu1) over 
(460.32.03-0
  ubuntu2) ...
  Preparing to unpack .../nvidia-utils-460-server_460.73.01-0ubuntu1_amd64.deb 
...
  Unpacking nvidia-utils-460-server (460.73.01-0ubuntu1) over 
(460.32.03-0ubuntu2)
   ...
  Setting up nvidia-kernel-common-460-server (460.73.01-0ubuntu1) ...
  update-initramfs: deferring update (trigger activated)
  Setting up nvidia-utils-460-server (460.73.01-0ubuntu1) ...
  Setting up nvidia-dkms-460-server (460.73.01-0ubuntu1) ...
  update-initramfs: deferring update (trigger activated)
  Loading new nvidia-srv-460.73.01 DKMS files...
  Building for 5.11.0-16-generic
  Building for architecture x86_64
  Building initial module for 5.11.0-16-generic
  Error! Application of patch 
disable_fstack-clash-protection_fcf-protection.patch
   failed.
  Check /var/lib/dkms/nvidia-srv/460.73.01/build/ for more information.
  dpkg: error processing package nvidia-dkms-460-server (--configure):
   installed nvidia-dkms-460-server package post-installation script subprocess 
re
  turned error exit status 6
  Processing triggers for man-db (2.9.4-2) ...
  Processing triggers for initramfs-tools (0.139ubuntu3) ...
  update-initramfs: Generating /boot/initrd.img-5.11.0-16-generic
  W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast
  Errors were encountered while processing:
   nvidia-dkms-460-server
  needrestart is being skipped since dpkg has failed
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  ubuntu@dgx-1-exotic-skunk-201710-25896:~$ ls 
/var/lib/dkms/nvidia-srv/460.73.01/build/
  dkms.conf  patches
  ubuntu@dgx-1-exotic-skunk-201710-25896:~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460/+bug/1925386/+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