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

2024-02-29 Thread Aurelien Jarno
control: reassign -1 systemd-sysv
control: forcemerge 1063147 -1
control: affects -1 libc6

On 2024-01-10 22:01, Aurelien Jarno wrote:
> 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
> > 
> > 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.

This was a systemd bug fixed in version 255.4-1. Reassigning the bug there.

Regards
Aurelien

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



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

2024-01-29 Thread Thom Castermans
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


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

2024-01-17 Thread Raffaele Bratta
On Wed, 10 Jan 2024 22:01:59 +0100 Aurelien Jarno  wrote:
> 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.
In my case, switching to systemd (as suggested at 
https://github.com/microsoft/WSL/issues/10955#issuecomment-1894003593 for a 
similar problem with telinit) solved the problem.


Greetings

--
Raffaele Bratta
Senior engineer - 505 Games


E: rbra...@505games.com
A: Via Tortona 37, Milano MI, 20144, Italy




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

2024-01-10 Thread Aurelien Jarno
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
> 
> 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
aurel...@aurel32.net http://aurel32.net



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

2024-01-10 Thread Dunkerley, Adam D.
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

I am using Debian GNU/Linux trixie/sid, kernel 
5.15.133.1-microsoft-standard-WSL2 on Windows 11 x86_64.

Adam Dunkerley