Comment 4 for bug 1945393

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)