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 ... Unpacking qemu-system-gui (1:7.0+dfsg-7ubuntu2.2) over (1:7.0+dfsg-7ubuntu2.1) ... Preparing to unpack .../5-qemu-block-extra_1%3a7.0+dfsg-7ubuntu2.2_amd64.deb ... Unpacking qemu-block-extra (1:7.0+dfsg-7ubuntu2.2) over (1:7.0+dfsg-7ubuntu2.1) ... Preparing to unpack .../6-qemu-system-x86_1%3a7.0+dfsg-7ubuntu2.2_amd64.deb ... Unpacking qemu-system-x86 (1:7.0+dfsg-7ubuntu2.2) over (1:7.0+dfsg-7ubuntu2.1) ... Preparing to unpack .../7-qemu-system-data_1%3a7.0+dfsg-7ubuntu2.2_all.deb ... Unpacking qemu-system-data (1:7.0+dfsg-7ubuntu2.2) over (1:7.0+dfsg-7ubuntu2.1) ... Preparing to unpack .../8-qemu-system-common_1%3a7.0+dfsg-7ubuntu2.2_amd64.deb ... Unpacking qemu-system-common (1:7.0+dfsg-7ubuntu2.2) over (1:7.0+dfsg-7ubuntu2.1) ... Preparing to unpack .../9-qemu-utils_1%3a7.0+dfsg-7ubuntu2.2_amd64.deb ... Unpacking qemu-utils (1:7.0+dfsg-7ubuntu2.2) over (1:7.0+dfsg-7ubuntu2.1) ... Errors were encountered while processing: /tmp/apt-dpkg-install-U8Cyyl/2-linux-libc-dev_5.19.0-38.39_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)