Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1060387: libc6:amd64 (2.37-13) upgrade stuck at Setting up on WSL 2

517 views
Skip to first unread message

Aurelien Jarno

unread,
Jan 10, 2024, 4:10:05 PM1/10/24
to
control: reassign -1 libc6
control: tags -1 + help

Hi,

On 2024-01-10 14:11, Dunkerley, Adam D. wrote:
> Package: libc6-amd64
> Version: 2.37-13
>
> While running `sudo apt upgrade`, the process hangs while installing libc6:amd64. The last line output is "Setting up libc6:amd64 (2.37-13) ...".
>
> The dpkg logs show "status half-configured libc6:amd64 2.37-13".
>
> I left this process running overnight to no avail. This prevents me from being able to update my system.
>
> Here is a Stack Overflow post regarding this issue: debian - Apt stucked in setting up libc6 - Stack Overflow<https://stackoverflow.com/questions/77781232/apt-stucked-in-setting-up-libc6>
>
> I am using Debian GNU/Linux trixie/sid, kernel 5.15.133.1-microsoft-standard-WSL2 on Windows 11 x86_64.

We also got another report that telinit got stuck, it wasn't the case
before, I guess something has changed on the WSL side. Someone with
knowledge about that system should debug the issue and provide a patch.
Therefore tagging the bug with help.

Regards
Aurelien

--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aure...@aurel32.net http://aurel32.net

Thom Castermans

unread,
Jan 30, 2024, 3:00:05 AM1/30/24
to
Just want to confirm that Raffaele Bratta's solution of switching to systemd also resolved the issue for me. Basically, adding to `/etc/wsl.conf` the following configuration:

```
[boot]
systemd = true
```

and then rebooting by executing `wsl --shutdown`. After that, I could finally run `dpkg --configure -a` successfully.

Cheers, Thom
0 new messages