Error during apt dist-ugprade on ubuntu 19.04

Bug #1837634 reported by parth
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dkms (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I ran apt update followed by apt dist-upgrade on my ubuntu 19.

Here is the output of my lsb_release -rd

Description: Ubuntu 19.04
Release: 19.04

Here is the output where it stopped the first time when i ran apt dist-upgrade.

Unpacking linux-libc-dev:amd64 (5.0.0-21.22) over (5.0.0-20.21) ...
Preparing to unpack .../11-linux-signed-generic_5.0.0.21.22_amd64.deb ...
Unpacking linux-signed-generic (5.0.0.21.22) over (5.0.0.20.21) ...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-AWRBIG/04-linux-modules-extra-5.0.0-21-generic_5.0.0-21.22_amd64.deb
 /tmp/apt-dpkg-install-AWRBIG/07-linux-headers-5.0.0-21_5.0.0-21.22_all.deb

Then i ran apt dist-upgrade again, and got this error.

(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 221027 files and directories currently installed.)
Preparing to unpack .../linux-modules-extra-5.0.0-21-generic_5.0.0-21.22_amd64.deb ...
Unpacking linux-modules-extra-5.0.0-21-generic (5.0.0-21.22) over (5.0.0-21.22) ...
Preparing to unpack .../linux-headers-5.0.0-21_5.0.0-21.22_all.deb ...
Unpacking linux-headers-5.0.0-21 (5.0.0-21.22) over (5.0.0-21.22) ...
Setting up linux-modules-5.0.0-21-generic (5.0.0-21.22) ...
Setting up iproute2 (4.18.0-1ubuntu2.1) ...
Setting up linux-libc-dev:amd64 (5.0.0-21.22) ...
Setting up dkms (2.6.1-4ubuntu2.2) ...
Setting up linux-headers-5.0.0-21 (5.0.0-21.22) ...
Setting up linux-image-5.0.0-21-generic (5.0.0-21.22) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-5.0.0-20-generic
I: /initrd.img.old is now a symlink to boot/initrd.img-5.0.0-20-generic
I: /vmlinuz is now a symlink to boot/vmlinuz-5.0.0-21-generic
I: /initrd.img is now a symlink to boot/initrd.img-5.0.0-21-generic
Setting up linux-headers-5.0.0-21-generic (5.0.0-21.22) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.0.0-21-generic

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
unset ARCH; env NV_VERBOSE=1 'make' -j16 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=5.0.0-21-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/5.0.0-21-generic/build LD=/usr/bin/ld.bfd modules.......
Signing module:
 - /var/lib/dkms/nvidia/418.56/5.0.0-21-generic/x86_64/module/nvidia-uvm.ko
 - /var/lib/dkms/nvidia/418.56/5.0.0-21-generic/x86_64/module/nvidia-modeset.ko
 - /var/lib/dkms/nvidia/418.56/5.0.0-21-generic/x86_64/module/nvidia-drm.ko
 - /var/lib/dkms/nvidia/418.56/5.0.0-21-generic/x86_64/module/nvidia.ko
Secure Boot not enabled on this system.
cleaning build area...

DKMS: build completed.

nvidia.ko:
Running module version sanity check.
modinfo: ERROR: missing module or filename.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.0.0-21-generic/updates/dkms/

nvidia-modeset.ko:
Running module version sanity check.
modinfo: ERROR: missing module or filename.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.0.0-21-generic/updates/dkms/

nvidia-drm.ko:
Running module version sanity check.
modinfo: ERROR: missing module or filename.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.0.0-21-generic/updates/dkms/

nvidia-uvm.ko:
Running module version sanity check.
modinfo: ERROR: missing module or filename.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.0.0-21-generic/updates/dkms/

depmod...

DKMS: install completed.
   ...done.
Setting up linux-modules-extra-5.0.0-21-generic (5.0.0-21.22) ...
Setting up linux-image-generic (5.0.0.21.22) ...
Setting up linux-headers-generic (5.0.0.21.22) ...
Setting up linux-generic (5.0.0.21.22) ...
Setting up linux-signed-generic (5.0.0.21.22) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for linux-image-5.0.0-21-generic (5.0.0-21.22) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.0.0-21-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.0.0-21-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.0.0-21-generic
Found initrd image: /boot/initrd.img-5.0.0-21-generic
Found linux image: /boot/vmlinuz-5.0.0-20-generic
Found initrd image: /boot/initrd.img-5.0.0-20-generic
Found linux image: /boot/vmlinuz-5.0.0-16-generic
Found initrd image: /boot/initrd.img-5.0.0-16-generic
Adding boot menu entry for EFI firmware configuration
done

Here is the output of my dkms status

nvidia, 418.56, 5.0.0-16-generic, x86_64: installed
nvidia, 418.56, 5.0.0-20-generic, x86_64: installed
nvidia, 418.56, 5.0.0-21-generic, x86_64: installed

Here is the output of my ls /var/lib/dkms -R

/var/lib/dkms:
dkms_dbversion nvidia

/var/lib/dkms/nvidia:
418.56 kernel-5.0.0-16-generic-x86_64 kernel-5.0.0-20-generic-x86_64 kernel-5.0.0-21-generic-x86_64

/var/lib/dkms/nvidia/418.56:
5.0.0-16-generic 5.0.0-20-generic 5.0.0-21-generic source

/var/lib/dkms/nvidia/418.56/5.0.0-16-generic:
x86_64

/var/lib/dkms/nvidia/418.56/5.0.0-16-generic/x86_64:
log module

/var/lib/dkms/nvidia/418.56/5.0.0-16-generic/x86_64/log:
make.log

/var/lib/dkms/nvidia/418.56/5.0.0-16-generic/x86_64/module:
nvidia-drm.ko nvidia.ko nvidia-modeset.ko nvidia-uvm.ko

/var/lib/dkms/nvidia/418.56/5.0.0-20-generic:
x86_64

/var/lib/dkms/nvidia/418.56/5.0.0-20-generic/x86_64:
log module

/var/lib/dkms/nvidia/418.56/5.0.0-20-generic/x86_64/log:
make.log

/var/lib/dkms/nvidia/418.56/5.0.0-20-generic/x86_64/module:
nvidia-drm.ko nvidia.ko nvidia-modeset.ko nvidia-uvm.ko

/var/lib/dkms/nvidia/418.56/5.0.0-21-generic:
x86_64

/var/lib/dkms/nvidia/418.56/5.0.0-21-generic/x86_64:
log module

/var/lib/dkms/nvidia/418.56/5.0.0-21-generic/x86_64/log:
make.log

/var/lib/dkms/nvidia/418.56/5.0.0-21-generic/x86_64/module:
nvidia-drm.ko nvidia.ko nvidia-modeset.ko nvidia-uvm.ko

I think its something to do with the nvidia drivers, my system keeps having a popup asking me to report a system error. Whenever I open the nvidia x server, my night light turns off, i have to disable and re-enable it.

parth (anarchy89)
description: updated
summary: - Error during apt dist-ugprade
+ Error during apt dist-ugprade on ubuntu 19.04
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dkms (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.