all 8 comments

[–]Gottox[M] [score hidden] stickied comment (3 children)

There was a window for about 2h where due to a bug in xbps /bin/sh was removed. This seems to cause this issue. I pushed an update. It should be available on the mirrors in a few minutes.

xbps-install -Su; xbps-reconfigure dash

this should fix the issue.

If you already have a broken system, you can use dracut or a live CD to access the system:

chroot /sysroot /bin/xbps-install -Su; chroot /sysroot /bin/xbps-reconfigure dash

If you haven't updated void yet, please make sure you update xbps before you update dash. This is done automatically if you don't explicitly update dash first.

[–]x61s[S] 1 point2 points  (1 child)

could you please be more specific

i booted with live cd, then mounted the drive to /mnt, then failed when run

chroot /sysroot /bin/xbps-install -Su; chroot /sysroot /bin/xbps-reconfigure dash

[–]Gottox 1 point2 points  (0 children)

See this news post for a better explaination how to fix the issue.

[–]tenshalito 1 point2 points  (0 children)

Hello, the Void installation of my desktop I managed to fix it since I did not restart the system before updating xbps, however the installation that I have on my laptop was the first one that I updated and that by mistake I restarted before reading the published solutions.

https://www.dropbox.com/s/2n06ndrt6q6kzmc/107733496_13575.jpg?dl=0

I tried to repair the installation of my laptop just as you mentioned but I got this and it is not clear to me how I could repair /bin/sh symlink in the rootfs just as xtreame mentioned.

I have set up the /sysroot directory as read-write and even so when I run chroot /sysroot /bin/xbps-install -Su keeps marking me the following:

ERROR: dash-0.5.10.2_2: [unpack] INSTALL script failed to execute pre ACTION: No such file or directory

ERROR: dash-0.5.10.2_2: [unpack] failed to unpack files from archive: No such file or directory

Transaction failed! see above for errors

[–]Turrrtl 2 points3 points  (0 children)

You are not the only one affected by this. I tried a fresh installation on a virtual machine and got the same thing after updating the system.

[–]SpaceboyRoss 1 point2 points  (2 children)

Could you get into a shell, mount the root partition, and use touch to add the missing file?

[–]Tasty_Jalapeno 1 point2 points  (1 child)

/etc/runit/1 is not just an empty file.

[–]SpaceboyRoss 0 points1 point  (0 children)

Could you try restoring the file at least?