WSL Ubuntu schlägt immer mit dem Fehler „Sub-process /usr/bin/dpkg returned an error code (1)“ fehl.

WSL Ubuntu schlägt immer mit dem Fehler „Sub-process /usr/bin/dpkg returned an error code (1)“ fehl.

Ich versuche, Ubuntu im Win10-Windows-Subsystem für das Linux-Terminal zu verwenden. Aber wenn ich einen beliebigen Befehl ausführe, wie zum sudo apt reinstall libpaper1Beispiel, erhalte ich:

Setting up passwd (1:4.8.1-1ubuntu5.20.04.4) ...
/var/lib/dpkg/info/passwd.postinst: 21: getent: not found
groupadd: group 'shadow' already exists
Group ID 42 has been allocated for the shadow group.  You have either
used 42 yourself or created a shadow group with a different ID.
Please correct this problem and reconfigure with dpkg --configure passwd''.

Note that both user and group IDs in the range 0-99 are globally
allocated by the Debian project and must be the same on every Debian
system.
dpkg: error processing package passwd (--configure):
 installed passwd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 passwd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Ich habe mehrere Anleitungen und Apt-get-Installation, -Update und -Upgrade ausprobiert, aber ich erhalte immer diesen Fehler!

verwandte Informationen