You are not logged in.
Hi everyone.
I'm trying to install Devuan via debootstrap --arch=amd64 ceres /mnt, but I get an error:
Preparing to unpack .../cron-daemon-common_3.0pl1-182_all.deb ...
Unpacking cron-daemon-common (3.0pl1-182) ...
Setting up adduser (3.137) ...
dpkg: dependency problems prevent configuration of cron-daemon-common:
cron-daemon-common depends on systemd | systemd-standalone-sysusers | systemd-sysusers; however:
Package systemd is not installed.
Package systemd-standalone-sysusers is not installed.
Package systemd-sysusers is not installed.
dpkg: error processing package cron-daemon-common (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
cron-daemon-common
I also tried to upgrade to Ceres by installing Daedalus first, but I get other errors unrelated to this one when trying to upgrade (something like /sbin/modprobe: not found) and after that my system stops booting.
Can you please help me?
Last edited by linux0391 (2024-01-14 08:38:01)
Offline
On my migrated system (trixie -> daedalus) I have systemd-standalone-sysusers installed, but not systemd (obviously). Maybe try installing this package to see if it helps?
Offline
It might be possible to debootstrap if you add
--exclude=logrotate,cron,cron-common-daemon
to the command.
Offline
I ran
debootstrap --arch amd64 --exclude=logrotate,cron,cron-daemon-common ceres /mnt
and it worked.
Thank you!!!
Last edited by linux0391 (2024-01-14 12:53:05)
Offline
I encountered the exact same error during my latest bootstrap. I got around it by bootstrapping with --variant=minbase, then installing the packages that required the systemd shim after chrooting into the new system. It wasn't really any extra trouble, as I had a substantial list of additional packages to install anyway.
Offline
Another solution is to use mmdebootstrap which does a better job of handling the dependencies. It will install systemd-standalone-sysusers before cron-daemon-common.
Offline
Thanks, I just tried mmdebstrap on an old MacBook and it worked perfectly. This tool, along with the arch-install-scripts, makes bootstrapping a breeze. I have a small stack of old laptops here I've been resurrecting, mainly as an experiment. Each one has shocked me with how completely usable it is with a lightweight Devuan installation.
Edit: I forgot all about the merged usr issue until I got farther along in the process. If you want to run a merged usr, mmdebstrap doesn't have the equivalent of debootstrap's --merged-usr option. However, the manual gives an example of how you can duplicate the functionality with hooks:
--setup-hook='for d in bin sbin lib; do ln -s usr/$d "$1/$d";
mkdir -p "$1/usr/$d"; done'
Since I had forgotten about it until after the bootstrap was complete, I just installed the usrmerge package.
Last edited by stultumanto (2024-01-17 23:23:29)
Offline