package linux-headers-5.11.0-37-generic (not installed) failed to install/upgrade: unable to open '/usr/src/linux-headers-5.11.0-37-generic/scripts/mod/empty.dwo.dpkg-new': Operation not permitted

Bug #1945393 reported by Ryo Namba
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux-hwe-5.11 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The installation process failed.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: linux-headers-5.11.0-37-generic (not installed)
ProcVersionSignature: Ubuntu 5.11.0-36.40~20.04.1-generic 5.11.22
Uname: Linux 5.11.0-36-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.20
Architecture: amd64
CasperMD5CheckResult: skip
Date: Wed Sep 29 11:13:50 2021
DuplicateSignature:
 package:linux-headers-5.11.0-37-generic:(not installed)
 Unpacking linux-headers-5.11.0-37-generic (5.11.0-37.41~20.04.2) ...
 dpkg: error processing archive /tmp/apt-dpkg-install-UamDef/6-linux-headers-5.11.0-37-generic_5.11.0-37.41~20.04.2_amd64.deb (--unpack):
  unable to open '/usr/src/linux-headers-5.11.0-37-generic/scripts/mod/empty.dwo.dpkg-new': Operation not permitted
ErrorMessage: unable to open '/usr/src/linux-headers-5.11.0-37-generic/scripts/mod/empty.dwo.dpkg-new': Operation not permitted
InstallationDate: Installed on 2021-09-15 (13 days ago)
InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.6
SourcePackage: linux-hwe-5.11
Title: package linux-headers-5.11.0-37-generic (not installed) failed to install/upgrade: unable to open '/usr/src/linux-headers-5.11.0-37-generic/scripts/mod/empty.dwo.dpkg-new': Operation not permitted
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ryo Namba (ir626) 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.11 (Ubuntu):
status: New → Confirmed
Revision history for this message
isma (isma.work) wrote :

Lately all updates related to kernel fail. Not what I was expecting from an LTS version.

Revision history for this message
isma (isma.work) wrote :

➜ tools sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.11.0-27-generic linux-hwe-5.11-headers-5.11.0-27 linux-image-5.11.0-27-generic linux-modules-5.11.0-27-generic linux-modules-extra-5.11.0-27-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  linux-headers-5.11.0-37-generic linux-hwe-5.11-headers-5.11.0-37 linux-modules-extra-5.11.0-37-generic
The following NEW packages will be installed:
  linux-headers-5.11.0-37-generic linux-hwe-5.11-headers-5.11.0-37
The following packages will be upgraded:
  linux-modules-extra-5.11.0-37-generic
1 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
11 not fully installed or removed.
Need to get 0 B/55.3 MB of archives.
After this operation, 308 MB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 338058 files and directories currently installed.)
Preparing to unpack .../linux-modules-extra-5.11.0-37-generic_5.11.0-37.41~20.04.2_amd64.deb ...
Unpacking linux-modules-extra-5.11.0-37-generic (5.11.0-37.41~20.04.2) over (5.11.0-37.41~20.04.2) ...
Preparing to unpack .../linux-hwe-5.11-headers-5.11.0-37_5.11.0-37.41~20.04.2_all.deb ...
Unpacking linux-hwe-5.11-headers-5.11.0-37 (5.11.0-37.41~20.04.2) ...
dpkg: error processing archive /var/cache/apt/archives/linux-hwe-5.11-headers-5.11.0-37_5.11.0-37.41~20.04.2_all.deb (--unpack):
 unable to create new file '/var/lib/dpkg/info/linux-hwe-5.11-headers-5.11.0-37.list-new': Operation not permitted
Preparing to unpack .../linux-headers-5.11.0-37-generic_5.11.0-37.41~20.04.2_amd64.deb ...
Unpacking linux-headers-5.11.0-37-generic (5.11.0-37.41~20.04.2) ...
Errors were encountered while processing:
 /var/cache/apt/archives/linux-hwe-5.11-headers-5.11.0-37_5.11.0-37.41~20.04.2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

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.