Describe the bug
Recently, running pengwin-setup update in a WSL1 instance, the update tried to update systemd and associated components. It failed with an error and now fails before trying to update any new packages.
To Reproduce
run pengwin-setup update in a WSL1 instance which will fail updating systemd.
Expected behavior
apt update should not fail but maybe systemd shouldn't be updated?
Screenshots
This is the error information:
Setting up systemd (254.15-1~bpo12+1) ...
Failed to take /etc/passwd lock: Invalid argument
dpkg: error processing package systemd (--configure):
installed systemd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Additional context
WSL1, not WSL2
Basic Troubleshooting Checklist
I have run sudo apt update and apt upgrade and upgrade causes the error as well.
Pengwin Version
PENGWIN_VERSION="24.07.0"
WSL general info
Release Install Date: Sun Oct 16 06:52:16 CDT 2022
Branch: ni_release
Build: 22631
Full Build: 22621.1.amd64fre.ni_release.220506-1250
Display Scaling: 1
Locale (Windows): en_US
Theme (Windows): dark
Uptime (Windows): 0d 6h 46m
Version (WSL): 1
Uptime (WSL): 0d 0h 9m
Release: Pengwin
Kernel: Linux 4.4.0-22621-Microsoft
Packages: 726
IPv4 Address: 192.168.181.8
System Type (Windows): Desktop
SystemD Status: N/A
Describe the bug
Recently, running pengwin-setup update in a WSL1 instance, the update tried to update systemd and associated components. It failed with an error and now fails before trying to update any new packages.
To Reproduce
run pengwin-setup update in a WSL1 instance which will fail updating systemd.
Expected behavior
apt update should not fail but maybe systemd shouldn't be updated?
Screenshots
This is the error information:
Setting up systemd (254.15-1~bpo12+1) ...
Failed to take /etc/passwd lock: Invalid argument
dpkg: error processing package systemd (--configure):
installed systemd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Additional context
WSL1, not WSL2
Basic Troubleshooting Checklist
I have run sudo apt update and apt upgrade and upgrade causes the error as well.
Pengwin Version
PENGWIN_VERSION="24.07.0"
WSL general info
Release Install Date: Sun Oct 16 06:52:16 CDT 2022
Branch: ni_release
Build: 22631
Full Build: 22621.1.amd64fre.ni_release.220506-1250
Display Scaling: 1
Locale (Windows): en_US
Theme (Windows): dark
Uptime (Windows): 0d 6h 46m
Version (WSL): 1
Uptime (WSL): 0d 0h 9m
Release: Pengwin
Kernel: Linux 4.4.0-22621-Microsoft
Packages: 726
IPv4 Address: 192.168.181.8
System Type (Windows): Desktop
SystemD Status: N/A