Windows Version
Microsoft Windows [Version 10.0.19045.3324]
WSL Version
1.2.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
4.4.0-19041-Microsoft
Distro Version
Kali Linux
Other Software
No response
Repro Steps
Try to update your system with sudo apt-get update && sudo apt-get dist-upgrade
Expected Behavior
The Update succeeds.
Actual Behavior
Updating the systemd package fails:
Preconfiguring packages ...
Setting up systemd (254-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)
Diagnostic Logs
No response
Windows Version
Microsoft Windows [Version 10.0.19045.3324]
WSL Version
1.2.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
4.4.0-19041-Microsoft
Distro Version
Kali Linux
Other Software
No response
Repro Steps
Try to update your system with
sudo apt-get update && sudo apt-get dist-upgradeExpected Behavior
The Update succeeds.
Actual Behavior
Updating the
systemdpackage fails:Diagnostic Logs
No response