You are not logged in.
Hello everyone!
I'm tryin install Devuan via command-line - Devuan GNU+Linux Command-line Installation Guide (In progress). However, I encounter an error when installing certain packages inside the chroot, such an error appears for example:
Errors were encountered while processing:
orphan-sysvinit-scripts
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thank you to whoever is willing helped me and a great job to the Devuan team.
Offline
Perhaps it's your strange mount options.
Do you still experience the error if you use arch-chroot(8) instead of the string of mount commands?
This version works for me when chrooting into a test container from Alpine:
for i in proc sys dev{,/pts} ; do mount --bind /$i /mnt/$i ; done
chroot /mnt /bin/su -
Using /bin/su - instead of /bin/bash ensures the correct login environment.
Brianna Ghey — Rest In Power
Offline
Perhaps it's your strange mount options.
Do you still experience the error if you use arch-chroot(8) instead of the string of mount commands?
This version works for me when chrooting into a test container from Alpine:
for i in proc sys dev{,/pts} ; do mount --bind /$i /mnt/$i ; done chroot /mnt /bin/su -
Using /bin/su - instead of /bin/bash ensures the correct login environment.
Right, I tested an installation using arch-chroot instead of set the mount commands and the result was the same. I will try the other way you indicated above.
Last edited by k3yw0ow (2022-03-04 22:13:26)
Offline
Head_on_a_Stick wrote:Perhaps it's your strange mount options.
Do you still experience the error if you use arch-chroot(8) instead of the string of mount commands?
This version works for me when chrooting into a test container from Alpine:
for i in proc sys dev{,/pts} ; do mount --bind /$i /mnt/$i ; done chroot /mnt /bin/su -
Using /bin/su - instead of /bin/bash ensures the correct login environment.
Right, I tested an installation using arch-chroot instead of set the mount commands and the result was the same. I will try the other way you indicated above.
Error persists
Offline
Well I can't reproduce the problem so I can't help. I have no problem installing packages in my test container.
EDIT: and I've just installed a new Debian bullseye system from Alpine using a similar method. Everything works fine.
Last edited by Head_on_a_Stick (2022-03-07 14:26:42)
Brianna Ghey — Rest In Power
Offline
Well I can't reproduce the problem so I can't help. I have no problem installing packages in my test container.
EDIT: and I've just installed a new Debian bullseye system from Alpine using a similar method. Everything works fine.
I also tested using devuan_chimaera_4.0.0_amd64_desktop-live.iso and it worked perfectly. I don't know what might be happening, maybe it's a problem with apt.
Last edited by k3yw0ow (2022-03-09 15:47:45)
Offline