package linux-modules-extra-5.8.0-41-generic 5.8.0-41.46~20.04.1 failed to install/upgrade: unable to create new file '/var/lib/dpkg/info/linux-modules-extra-5.8.0-41-generic.list-new': Operation not permitted

Bug #1913728 reported by DMenezes
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-hwe-5.8 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

dmenezes@U7588:~$ sudo apt upgrade -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  base-files language-pack-gnome-en language-pack-gnome-en-base libfprint-2-2 libglib2.0-0 libglib2.0-bin libglib2.0-data linux-firmware
  linux-hwe-5.8-headers-5.8.0-41 linux-modules-5.8.0-41-generic linux-modules-extra-5.8.0-41-generic python-apt-common python3-apt tzdata
  update-notifier update-notifier-common
16 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
10 not fully installed or removed.
Need to get 2,810 kB/171 MB of archives.
After this operation, 348 MB of additional disk space will be used.
Get:1 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 base-files amd64 11ubuntu5.3 [60.6 kB]
Get:2 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 language-pack-gnome-en all 1:20.04+20210121 [1,916 B]
Get:3 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 language-pack-gnome-en-base all 1:20.04+20210121 [532 kB]
Get:4 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 libglib2.0-data all 2.64.6-1~ubuntu20.04.1 [6,120 B]
Get:5 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 libglib2.0-bin amd64 2.64.6-1~ubuntu20.04.1 [72.6 kB]
Get:6 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 libglib2.0-0 amd64 2.64.6-1~ubuntu20.04.1 [1,284 kB]
Get:7 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 update-notifier amd64 3.192.30.5 [56.2 kB]
Get:8 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 python-apt-common all 2.0.0ubuntu0.20.04.4 [17.4 kB]
Get:9 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-apt amd64 2.0.0ubuntu0.20.04.4 [154 kB]
Get:10 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 update-notifier-common all 3.192.30.5 [131 kB]
Get:11 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 tzdata all 2021a-0ubuntu0.20.04 [295 kB]
Get:12 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 libfprint-2-2 amd64 1:1.90.2+tod1-0ubuntu1~20.04.4 [199 kB]
Fetched 2,810 kB in 7s (430 kB/s)
Preconfiguring packages ...
(Reading database ... 240788 files and directories currently installed.)
Preparing to unpack .../linux-modules-5.8.0-41-generic_5.8.0-41.46~20.04.1_amd64.deb ...
Unpacking linux-modules-5.8.0-41-generic (5.8.0-41.46~20.04.1) over (5.8.0-41.46~20.04.1) ...
Preparing to unpack .../linux-modules-extra-5.8.0-41-generic_5.8.0-41.46~20.04.1_amd64.deb ...
Unpacking linux-modules-extra-5.8.0-41-generic (5.8.0-41.46~20.04.1) over (5.8.0-41.46~20.04.1) ...
Preparing to unpack .../linux-firmware_1.187.9_all.deb ...
Unpacking linux-firmware (1.187.9) over (1.187.8) ...
Preparing to unpack .../linux-hwe-5.8-headers-5.8.0-41_5.8.0-41.46~20.04.1_all.deb ...
Unpacking linux-hwe-5.8-headers-5.8.0-41 (5.8.0-41.46~20.04.1) over (5.8.0-41.46~20.04.1) ...
Preparing to unpack .../base-files_11ubuntu5.3_amd64.deb ...
Warning: Stopping motd-news.service, but it can still be activated by:
  motd-news.timer
Unpacking base-files (11ubuntu5.3) over (11ubuntu5.2) ...
Setting up base-files (11ubuntu5.3) ...
Installing new version of config file /etc/issue ...
Installing new version of config file /etc/issue.net ...
Installing new version of config file /etc/lsb-release ...
motd-news.service is a disabled or a static unit, not starting it.
(Reading database ... 265875 files and directories currently installed.)
Preparing to unpack .../00-language-pack-gnome-en_1%3a20.04+20210121_all.deb ...
Unpacking language-pack-gnome-en (1:20.04+20210121) over (1:20.04+20200709) ...
Preparing to unpack .../01-language-pack-gnome-en-base_1%3a20.04+20210121_all.deb ...
Unpacking language-pack-gnome-en-base (1:20.04+20210121) over (1:20.04+20200709) ...
Preparing to unpack .../02-libglib2.0-data_2.64.6-1~ubuntu20.04.1_all.deb ...
Unpacking libglib2.0-data (2.64.6-1~ubuntu20.04.1) over (2.64.3-1~ubuntu20.04.1) ...
Preparing to unpack .../03-libglib2.0-bin_2.64.6-1~ubuntu20.04.1_amd64.deb ...
Unpacking libglib2.0-bin (2.64.6-1~ubuntu20.04.1) over (2.64.3-1~ubuntu20.04.1) ...
Preparing to unpack .../04-libglib2.0-0_2.64.6-1~ubuntu20.04.1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.1) over (2.64.3-1~ubuntu20.04.1) ...
Preparing to unpack .../05-update-notifier_3.192.30.5_amd64.deb ...
Unpacking update-notifier (3.192.30.5) over (3.192.30.4) ...
Preparing to unpack .../06-python-apt-common_2.0.0ubuntu0.20.04.4_all.deb ...
Unpacking python-apt-common (2.0.0ubuntu0.20.04.4) over (2.0.0ubuntu0.20.04.3) ...
Preparing to unpack .../07-python3-apt_2.0.0ubuntu0.20.04.4_amd64.deb ...
Unpacking python3-apt (2.0.0ubuntu0.20.04.4) over (2.0.0ubuntu0.20.04.3) ...
Preparing to unpack .../08-update-notifier-common_3.192.30.5_all.deb ...
Unpacking update-notifier-common (3.192.30.5) over (3.192.30.4) ...
Preparing to unpack .../09-tzdata_2021a-0ubuntu0.20.04_all.deb ...
Unpacking tzdata (2021a-0ubuntu0.20.04) over (2020f-0ubuntu0.20.04.1) ...
Preparing to unpack .../10-libfprint-2-2_1%3a1.90.2+tod1-0ubuntu1~20.04.4_amd64.deb ...
Unpacking libfprint-2-2:amd64 (1:1.90.2+tod1-0ubuntu1~20.04.4) over (1:1.90.2+tod1-0ubuntu1~20.04.2) ...
Setting up linux-firmware (1.187.9) ...
update-initramfs: Generating /boot/initrd.img-5.8.0-40-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgubuntu-swap_1)
I: Set the RESUME variable to override this.
update-initramfs: Generating /boot/initrd.img-5.4.0-42-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgubuntu-swap_1)
I: Set the RESUME variable to override this.
Setting up libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.1) ...
Setting up tzdata (2021a-0ubuntu0.20.04) ...

Current default time zone: 'America/Moncton'
Local time is now: Fri Jan 29 08:34:05 AST 2021.
Universal Time is now: Fri Jan 29 12:34:05 UTC 2021.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up linux-hwe-5.8-headers-5.8.0-41 (5.8.0-41.46~20.04.1) ...
Setting up libglib2.0-data (2.64.6-1~ubuntu20.04.1) ...
Setting up linux-modules-5.8.0-41-generic (5.8.0-41.46~20.04.1) ...
Setting up python-apt-common (2.0.0ubuntu0.20.04.4) ...
Setting up libfprint-2-2:amd64 (1:1.90.2+tod1-0ubuntu1~20.04.4) ...
Setting up linux-image-5.8.0-41-generic (5.8.0-41.46~20.04.1) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.8.0-40-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.8.0-40-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-5.8.0-41-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.8.0-41-generic
Setting up python3-apt (2.0.0ubuntu0.20.04.4) ...
Setting up update-notifier-common (3.192.30.5) ...
Setting up linux-modules-nvidia-460-5.8.0-41-generic (5.8.0-41.46~20.04.1) ...
linux-image-nvidia-5.8.0-41-generic: constructing .ko files
Setting up libglib2.0-bin (2.64.6-1~ubuntu20.04.1) ...
Setting up linux-headers-5.8.0-41-generic (5.8.0-41.46~20.04.1) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.8.0-41-generic

Kernel preparation unnecessary for this kernel. Skipping...
applying patch disable_fstack-clash-protection_fcf-protection.patch...patching file Kbuild
Hunk #1 succeeded at 85 (offset 14 lines).

Building module:
cleaning build area...
unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j12 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=5.8.0-41-generic I
GNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/5.8.0-41-generic/build LD=/usr/bin/ld.bfd modules..........
Signing module:
 - /var/lib/dkms/nvidia/460.32.03/5.8.0-41-generic/x86_64/module/nvidia-modeset.ko
 - /var/lib/dkms/nvidia/460.32.03/5.8.0-41-generic/x86_64/module/nvidia-uvm.ko
 - /var/lib/dkms/nvidia/460.32.03/5.8.0-41-generic/x86_64/module/nvidia-drm.ko
 - /var/lib/dkms/nvidia/460.32.03/5.8.0-41-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.

Good news! Module version 460.32.03 for nvidia.ko
exactly matches what is already found in kernel 5.8.0-41-generic.
DKMS will not replace this module.
You may override by specifying --force.

nvidia-modeset.ko:
Running module version sanity check.

Good news! Module version 460.32.03 for nvidia-modeset.ko
exactly matches what is already found in kernel 5.8.0-41-generic.
DKMS will not replace this module.
You may override by specifying --force.

nvidia-drm.ko:
Running module version sanity check.

Good news! Module version 460.32.03 for nvidia-drm.ko
exactly matches what is already found in kernel 5.8.0-41-generic.
DKMS will not replace this module.
You may override by specifying --force.

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

depmod...

DKMS: install completed.
   ...done.
Setting up linux-headers-generic-hwe-20.04 (5.8.0.41.46~20.04.27) ...
Setting up linux-modules-nvidia-460-generic-hwe-20.04-edge (5.8.0-41.46~20.04.1) ...
Setting up update-notifier (3.192.30.5) ...
Setting up linux-modules-extra-5.8.0-41-generic (5.8.0-41.46~20.04.1) ...
Setting up linux-image-generic-hwe-20.04 (5.8.0.41.46~20.04.27) ...
Setting up linux-generic-hwe-20.04 (5.8.0.41.46~20.04.27) ...
Setting up language-pack-gnome-en (1:20.04+20210121) ...
Setting up language-pack-gnome-en-base (1:20.04+20210121) ...
Processing triggers for install-info (6.7.0.dfsg.2-5) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for cracklib-runtime (2.9.6-3.2) ...
Processing triggers for plymouth-theme-ubuntu-text (0.9.4git20200323-0ubuntu6.2) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for linux-image-5.8.0-41-generic (5.8.0-41.46~20.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.8.0-41-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.8.0-41-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgubuntu-swap_1)
I: Set the RESUME variable to override this.
/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.8.0-41-generic
Found initrd image: /boot/initrd.img-5.8.0-41-generic
Found linux image: /boot/vmlinuz-5.8.0-40-generic
Found initrd image: /boot/initrd.img-5.8.0-40-generic
Found linux image: /boot/vmlinuz-5.4.0-42-generic
Found initrd image: /boot/initrd.img-5.4.0-42-generic
Adding boot menu entry for UEFI Firmware Settings
done
Processing triggers for initramfs-tools (0.136ubuntu6.3) ...
update-initramfs: Generating /boot/initrd.img-5.8.0-41-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgubuntu-swap_1)
I: Set the RESUME variable to override this.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: linux-modules-extra-5.8.0-41-generic 5.8.0-41.46~20.04.1
ProcVersionSignature: Ubuntu 5.8.0-40.45~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-40-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri Jan 29 08:31:42 2021
DuplicateSignature:
 package:linux-modules-extra-5.8.0-41-generic:5.8.0-41.46~20.04.1
 Unpacking linux-firmware (1.187.9) over (1.187.8) ...
 dpkg: error processing archive /tmp/apt-dpkg-install-46OCyO/02-linux-firmware_1.187.9_all.deb (--unpack):
  unable to open '/lib/firmware/qcom/sdm845/adsp.mbn.dpkg-new': Operation not permitted
ErrorMessage: unable to create new file '/var/lib/dpkg/info/linux-modules-extra-5.8.0-41-generic.list-new': Operation not permitted
InstallationDate: Installed on 2021-01-21 (8 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.4
SourcePackage: linux-hwe-5.8
Title: package linux-modules-extra-5.8.0-41-generic 5.8.0-41.46~20.04.1 failed to install/upgrade: unable to create new file '/var/lib/dpkg/info/linux-modules-extra-5.8.0-41-generic.list-new': Operation not permitted
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
DMenezes (diomenezes) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in linux-hwe-5.8 (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.