It works fine if I remove the old version before installing the new:

ubuntu@dgx-1-exotic-skunk-201710-25896:~$ sudo apt autoremove 
nvidia-dkms-460-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  dctrl-tools dkms libpciaccess0 nvidia-dkms-460-server
  nvidia-kernel-common-460-server nvidia-kernel-source-460-server
0 upgraded, 0 newly installed, 6 to remove and 36 not upgraded.
1 not fully installed or removed.
After this operation, 49.5 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 87066 files and directories currently installed.)
Removing nvidia-dkms-460-server (460.73.01-0ubuntu1) ...
Removing all DKMS Modules
Done.
update-initramfs: deferring update (trigger activated)
Removing dkms (2.8.4-4) ...
Removing dctrl-tools (2.24-3) ...
Removing nvidia-kernel-common-460-server (460.73.01-0ubuntu1) ...
update-initramfs: deferring update (trigger activated)
Removing libpciaccess0:amd64 (0.16-1build2) ...
Removing nvidia-kernel-source-460-server (460.32.03-0ubuntu2) ...
Processing triggers for libc-bin (2.33-0ubuntu5) ...
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
Scanning processes...                                                           
Scanning processor microcode...                                                 
Scanning linux images...                                                        

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.
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
nvidia-utils-460-server is already the newest version (460.73.01-0ubuntu1).
The following additional packages will be installed:
  dctrl-tools dkms libpciaccess0 nvidia-kernel-common-460-server
  nvidia-kernel-source-460-server
Suggested packages:
  debtags menu
The following NEW packages will be installed:
  dctrl-tools dkms libpciaccess0 nvidia-dkms-460-server
  nvidia-kernel-common-460-server nvidia-kernel-source-460-server
0 upgraded, 6 newly installed, 0 to remove and 36 not upgraded.
Need to get 24.6 MB/24.7 MB of archives.
After this operation, 49.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://archive.ubuntu.com/ubuntu hirsute/main amd64 dctrl-tools amd64 
2.24-3 [61.5 kB]
Get:2 http://archive.ubuntu.com/ubuntu hirsute/main amd64 dkms all 2.8.4-4 
[68.3 kB]
Get:3 http://archive.ubuntu.com/ubuntu hirsute/main amd64 libpciaccess0 amd64 
0.16-1build2 [18.0 kB]
Get:4 http://archive.ubuntu.com/ubuntu hirsute-proposed/restricted amd64 
nvidia-kernel-source-460-server amd64 460.73.01-0ubuntu1 [24.5 MB]
Fetched 24.6 MB in 5s (5246 kB/s)                          
Selecting previously unselected package dctrl-tools.
(Reading database ... 86584 files and directories currently installed.)
Preparing to unpack .../0-dctrl-tools_2.24-3_amd64.deb ...
Unpacking dctrl-tools (2.24-3) ...
Selecting previously unselected package dkms.
Preparing to unpack .../1-dkms_2.8.4-4_all.deb ...
Unpacking dkms (2.8.4-4) ...
Selecting previously unselected package libpciaccess0:amd64.
Preparing to unpack .../2-libpciaccess0_0.16-1build2_amd64.deb ...
Unpacking libpciaccess0:amd64 (0.16-1build2) ...
Selecting previously unselected package nvidia-kernel-source-460-server.
Preparing to unpack .../3-nvidia-kernel-source-460-server_460.73.01-0ubuntu1_amd
64.deb ...
Unpacking nvidia-kernel-source-460-server (460.73.01-0ubuntu1) ...
Selecting previously unselected package nvidia-kernel-common-460-server.
Preparing to unpack .../4-nvidia-kernel-common-460-server_460.73.01-0ubuntu1_amd
64.deb ...
Unpacking nvidia-kernel-common-460-server (460.73.01-0ubuntu1) ...
Selecting previously unselected package nvidia-dkms-460-server.
Preparing to unpack .../5-nvidia-dkms-460-server_460.73.01-0ubuntu1_amd64.deb ..
.
Unpacking nvidia-dkms-460-server (460.73.01-0ubuntu1) ...
Setting up libpciaccess0:amd64 (0.16-1build2) ...
Setting up nvidia-kernel-common-460-server (460.73.01-0ubuntu1) ...
update-initramfs: deferring update (trigger activated)
Setting up nvidia-kernel-source-460-server (460.73.01-0ubuntu1) ...
Setting up dctrl-tools (2.24-3) ...
Setting up dkms (2.8.4-4) ...
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
Secure Boot not enabled on this system.
Done.

nvidia.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.11.0-16-generic/updates/dkms/

nvidia-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.11.0-16-generic/updates/dkms/

nvidia-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.11.0-16-generic/updates/dkms/

nvidia-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.11.0-16-generic/updates/dkms/

depmod...

DKMS: install completed.
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.33-0ubuntu5) ...
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
Scanning processes...                                                           
Scanning processor microcode...                                                 
Scanning linux images...                                                        

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.
ubuntu@dgx-1-exotic-skunk-201710-25896:~$

-- 
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:
  New

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