Hello,
I installed Windows 11 Pro via Parallels and installed Ubuntu on WSL. Since WSL 2 is not possible due to the Silicon architecture I'm using Ubuntu with WSL 1. Now when I try to update the OS I get an systemd related error (see below). Is it even possible to get Ubuntu working via WSL1 on a Silicon Mac?
username@desktop:~$ sudo apt upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
libllvm17t64
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
9 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up systemd (255.4-1ubuntu8.5) ...
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)
I installed Windows 11 Pro via Parallels and installed Ubuntu on WSL. Since WSL 2 is not possible due to the Silicon architecture I'm using Ubuntu with WSL 1. Now when I try to update the OS I get an systemd related error (see below). Is it even possible to get Ubuntu working via WSL1 on a Silicon Mac?
username@desktop:~$ sudo apt upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
libllvm17t64
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
9 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up systemd (255.4-1ubuntu8.5) ...
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)