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

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1966159

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

Status in linux package in Ubuntu:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1966159/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to