You should either perform a full upgrade (instead of a simple apt
install), or also "apt-get install" the nvidia-kernel-source-460-server
package (and all the other installed packages, for that matter), since
this is the package which includes the actual sources and the patches.
In your case, you only updated the dkms package, and kept the old
patches and sources.

** Changed in: nvidia-graphics-drivers-460-server (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-460-server 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-server package in Ubuntu:
  Invalid

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-server/+bug/1925386/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to