package linux-libc-dev 5.4.0-105.119 failed to install/upgrade: unable to open '/usr/share/doc/linux-libc-dev/copyright.dpkg-new': Operation not permitted

Bug #1966159 reported by Kavindu Zoysa
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This makes my laptop very slow.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: linux-libc-dev 5.4.0-105.119
ProcVersionSignature: Ubuntu 5.11.0-34.36~20.04.1-generic 5.11.22
Uname: Linux 5.11.0-34-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
AptOrdering:
 linux-libc-dev:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: kavindu 1601 F.... pulseaudio
CasperMD5CheckResult: skip
Date: Tue Mar 22 23:39:37 2022
Dependencies:

DpkgTerminalLog:
 Preparing to unpack .../linux-libc-dev_5.4.0-105.119_amd64.deb ...
 Unpacking linux-libc-dev:amd64 (5.4.0-105.119) over (5.4.0-104.118) ...
 dpkg: error processing archive /var/cache/apt/archives/linux-libc-dev_5.4.0-105.119_amd64.deb (--unpack):
  unable to open '/usr/share/doc/linux-libc-dev/copyright.dpkg-new': Operation not permitted
DuplicateSignature:
 package:linux-libc-dev:5.4.0-105.119
 Unpacking linux-libc-dev:amd64 (5.4.0-105.119) over (5.4.0-104.118) ...
 dpkg: error processing archive /var/cache/apt/archives/linux-libc-dev_5.4.0-105.119_amd64.deb (--unpack):
  unable to open '/usr/share/doc/linux-libc-dev/copyright.dpkg-new': Operation not permitted
ErrorMessage: unable to open '/usr/share/doc/linux-libc-dev/copyright.dpkg-new': Operation not permitted
InstallationDate: Installed on 2021-06-20 (276 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
MachineType: LENOVO 20FBA07Y00
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-34-generic root=UUID=106efafd-9069-4bf9-b738-813dcacd8be7 ro quiet splash vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions: grub-pc 2.04-1ubuntu26.13
SourcePackage: linux
Title: package linux-libc-dev 5.4.0-105.119 failed to install/upgrade: unable to open '/usr/share/doc/linux-libc-dev/copyright.dpkg-new': Operation not permitted
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/08/2017
dmi.bios.release: 1.23
dmi.bios.vendor: LENOVO
dmi.bios.version: N1FET49W (1.23 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20FBA07Y00
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.14
dmi.modalias: dmi:bvnLENOVO:bvrN1FET49W(1.23):bd02/08/2017:br1.23:efr1.14:svnLENOVO:pn20FBA07Y00:pvrThinkPadX1Carbon4th:skuLENOVO_MT_20FB_BU_Think_FM_ThinkPadX1Carbon4th:rvnLENOVO:rn20FBA07Y00:rvrNotDefined:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad X1 Carbon 4th
dmi.product.name: 20FBA07Y00
dmi.product.sku: LENOVO_MT_20FB_BU_Think_FM_ThinkPad X1 Carbon 4th
dmi.product.version: ThinkPad X1 Carbon 4th
dmi.sys.vendor: LENOVO

Revision history for this message
Kavindu Zoysa (kavinduzoysa) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
tags: removed: need-duplicate-check
Revision history for this message
Robert weaver (welsh1lad) wrote :
Download full text (4.2 KiB)

Having the same issue .
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.10
DISTRIB_CODENAME=kinetic
DISTRIB_DESCRIPTION="Ubuntu 22.10"

uname -a
Linux dsk-nix 6.1.5 #1 SMP PREEMPT_DYNAMIC Fri Jan 13 18:42:07 GMT 2023 x86_64 x86_64 x86_64 GNU/Linux

sudo apt-get upgrade
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  librest-1.0-0 linux-headers-generic ubuntu-drivers-common
The following packages will be upgraded:
  libsnmp-base libsnmp40 linux-libc-dev printer-driver-splix qemu-block-extra qemu-system-common qemu-system-data
  qemu-system-gui qemu-system-x86 qemu-utils
10 to upgrade, 0 to newly install, 0 to remove and 3 not to upgrade.
Need to get 18.3 MB of archives.
After this operation, 5,120 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://gb.archive.ubuntu.com/ubuntu kinetic-updates/main amd64 libsnmp-base all 5.9.3+dfsg-1ubuntu1.4 [201 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu kinetic-updates/main amd64 libsnmp40 amd64 5.9.3+dfsg-1ubuntu1.4 [1,061 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu kinetic-updates/main amd64 linux-libc-dev amd64 5.19.0-38.39 [1,370 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu kinetic-updates/main amd64 printer-driver-splix amd64 2.0.0+svn315-7fakesync1ubuntu0.22.10.1 [38.8 kB]
Get:5 http://gb.archive.ubuntu.com/ubuntu kinetic-updates/main amd64 qemu-system-gui amd64 1:7.0+dfsg-7ubuntu2.2 [217 kB]
Get:6 http://gb.archive.ubuntu.com/ubuntu kinetic-updates/main amd64 qemu-block-extra amd64 1:7.0+dfsg-7ubuntu2.2 [67.3 kB]
Get:7 http://gb.archive.ubuntu.com/ubuntu kinetic-updates/main amd64 qemu-system-x86 amd64 1:7.0+dfsg-7ubuntu2.2 [10.3 MB]
Get:8 http://gb.archive.ubuntu.com/ubuntu kinetic-updates/main amd64 qemu-system-data all 1:7.0+dfsg-7ubuntu2.2 [1,431 kB]
Get:9 http://gb.archive.ubuntu.com/ubuntu kinetic-updates/main amd64 qemu-system-common amd64 1:7.0+dfsg-7ubuntu2.2 [2,122 kB]
Get:10 http://gb.archive.ubuntu.com/ubuntu kinetic-updates/main amd64 qemu-utils amd64 1:7.0+dfsg-7ubuntu2.2 [1,486 kB]
Fetched 18.3 MB in 1s (13.8 MB/s)
(Reading database ... 391913 files and directories currently installed.)
Preparing to unpack .../0-libsnmp-base_5.9.3+dfsg-1ubuntu1.4_all.deb ...
Unpacking libsnmp-base (5.9.3+dfsg-1ubuntu1.4) over (5.9.3+dfsg-1ubuntu1.3) ...
Preparing to unpack .../1-libsnmp40_5.9.3+dfsg-1ubuntu1.4_amd64.deb ...
Unpacking libsnmp40:amd64 (5.9.3+dfsg-1ubuntu1.4) over (5.9.3+dfsg-1ubuntu1.3) ...
Preparing to unpack .../2-linux-libc-dev_5.19.0-38.39_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.19.0-38.39) over (5.19.0-35.36) ...
dpkg: error processing archive /tmp/apt-dpkg-install-U8Cyyl/2-linux-libc-dev_5.19.0-38.39_amd64.deb (--unpack):
 unable to open '/usr/share/doc/linux-libc-dev/copyright.dpkg-new': Operation not permitted
Preparing to unpack .../3-printer-driver-splix_2.0.0+svn315-7fakesync1ubuntu0.22.10.1_amd64.deb ...
Unpacking printer-driver-splix (2.0.0+svn315-7fakesync1ubuntu0.22.10.1) over (2.0.0+svn315-7fakesync1build3) ...
Preparing to unpack .../4-qemu-system-gui_1%3a7.0+dfsg-7ubuntu2.2_amd64.deb ...
Unpa...

Read more...

Revision history for this message
Robert weaver (welsh1lad) wrote :

fix by setting the following permissions
chmod 0775 /usr/share/doc/linux-libc-dev/copyright.dpkg-new

Then Run
  sudo apt-get upgrade

sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  librest-1.0-0 linux-headers-generic ubuntu-drivers-common
The following packages will be upgraded:
  linux-libc-dev
1 to upgrade, 0 to newly install, 0 to remove and 3 not to upgrade.
9 not fully installed or removed.
Need to get 0 B/1,370 kB of archives.
After this operation, 5,120 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 391913 files and directories currently installed.)
Preparing to unpack .../linux-libc-dev_5.19.0-38.39_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.19.0-38.39) over (5.19.0-35.36) ...
Setting up qemu-system-common (1:7.0+dfsg-7ubuntu2.2) ...
Setting up libsnmp-base (5.9.3+dfsg-1ubuntu1.4) ...
Setting up linux-libc-dev:amd64 (5.19.0-38.39) ...
Setting up libsnmp40:amd64 (5.9.3+dfsg-1ubuntu1.4) ...
Setting up qemu-system-data (1:7.0+dfsg-7ubuntu2.2) ...
Setting up printer-driver-splix (2.0.0+svn315-7fakesync1ubuntu0.22.10.1) ...
Setting up qemu-utils (1:7.0+dfsg-7ubuntu2.2) ...
Setting up qemu-block-extra (1:7.0+dfsg-7ubuntu2.2) ...
Setting up qemu-system-x86 (1:7.0+dfsg-7ubuntu2.2) ...
Setting up qemu-system-gui (1:7.0+dfsg-7ubuntu2.2) ...
Processing triggers for man-db (2.10.2-2) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for cups (2.4.2-1ubuntu2) ...
Updating PPD files for splix ...
Processing triggers for libc-bin (2.36-0ubuntu4) ...
rob@dsk-nix:/usr/share/doc/linux-libc-dev$ ls -lsa
total 220
  0 drwxr-xr-x 2 root root 50 Mar 23 12:45 .
140 drwxr-xr-x 2655 root root 98304 Mar 12 16:05 ..
 76 -rw-r--r-- 1 root root 75903 Mar 17 17:12 changelog.Debian.gz
  4 -rw-r--r-- 1 root root 1292 Mar 17 17:12 copyright

Changed in linux (Ubuntu):
status: Confirmed → Fix Released
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.