Linux version 4.4.0-22000-Microsoft (Microsoft@Microsoft.com) (gcc version 5.4.0 (GCC) ) #653-Microsoft Wed Apr 27 16:06:00 PST 2022
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
Install wsl1.
Open rootfs folder in cmd.
run "compact /c /s /a /i /exe:lzx" to compress all files with lzx compression algorithm
run sudo apt update and then sudo apt upgrade
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.
Version
Microsoft Windows [Version 10.0.22000.675]
WSL Version
Kernel Version
Linux version 4.4.0-22000-Microsoft (Microsoft@Microsoft.com) (gcc version 5.4.0 (GCC) ) #653-Microsoft Wed Apr 27 16:06:00 PST 2022
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
Install wsl1. Open rootfs folder in cmd. run "compact /c /s /a /i /exe:lzx" to compress all files with lzx compression algorithm run sudo apt update and then sudo apt upgrade
Expected Behavior
Apt upgrade runs smoothly
Actual Behavior
strace -ff apt upgrade 2> apt.strace.txt Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: dpkg dpkg-dev gir1.2-gtk-3.0 gtk-update-icon-cache libcups2 libdpkg-perl libgl1-mesa-dri libglapi-mesa libglx-mesa0 libgtk-3-0 libgtk-3-bin libgtk-3-common libjson-c5 libusb-1.0-0 linux-libc-dev logrotate mesa-vulkan-drivers python3-distupgrade ubuntu-release-upgrader-core xdg-utils 20 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libjson-c5 amd64 0.15-3~ubuntu1.22.04.1 [33.5 kB] Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 logrotate amd64 3.19.0-1ubuntu1.1 [54.3 kB] Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libusb-1.0-0 amd64 2:1.0.25-1ubuntu2 [52.7 kB] Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 ubuntu-release-upgrader-core all 1:22.04.11 [26.2 kB] Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-distupgrade all 1:22.04.11 [106 kB] Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 dpkg-dev all 1.21.1ubuntu2.1 [922 kB] Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libdpkg-perl all 1.21.1ubuntu2.1 [237 kB] Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcups2 amd64 2.4.1op1-1ubuntu4.1 [264 kB] Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgtk-3-common all 3.24.33-1ubuntu2 [239 kB] Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgtk-3-0 amd64 3.24.33-1ubuntu2 [3053 kB] Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gir1.2-gtk-3.0 amd64 3.24.33-1ubuntu2 [240 kB] Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gtk-update-icon-cache amd64 3.24.33-1ubuntu2 [31.4 kB] Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libglx-mesa0 amd64 22.0.1-1ubuntu2.1 [154 kB] Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgl1-mesa-dri amd64 22.0.1-1ubuntu2.1 [7468 kB] Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libglapi-mesa amd64 22.0.1-1ubuntu2.1 [35.4 kB] Get:17 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgtk-3-bin amd64 3.24.33-1ubuntu2 [69.5 kB] Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-libc-dev amd64 5.15.0-35.36 [1313 kB] Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 mesa-vulkan-drivers amd64 22.0.1-1ubuntu2.1 [4974 kB] Get:20 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 xdg-utils all 1.1.3-4.1ubuntu1.22.04.1 [62.0 kB] Fetched 20.6 MB in 1min 38s (209 kB/s) (Reading database ... 88522 files and directories currently installed.) Preparing to unpack .../dpkg_1.21.1ubuntu2.1_amd64.deb ... Unpacking dpkg (1.21.1ubuntu2.1) over (1.21.1ubuntu2) ... dpkg: error processing archive /var/cache/apt/archives/dpkg_1.21.1ubuntu2.1_amd64.deb (--unpack): unable to securely remove '/usr/bin/dpkg.dpkg-tmp': Input/output error Errors were encountered while processing: /var/cache/apt/archives/dpkg_1.21.1ubuntu2.1_amd64.deb needrestart is being skipped since dpkg has failed
Diagnostic Logs
apt.strace.txt