The officially official Devuan Forum!

You are not logged in.

#1 2024-06-25 14:38:06

webman
Member
Registered: 2022-08-27
Posts: 45  

How to install devuan lxc-container on debian?

Hello!
I try to migrate things to Devuan and so, even on Debian (Bullseye), I start new things with Devuan.
So I came to lxc-setup and here starts a problem:

lxc-create devu5-ct1 --bdev zfs --zfsroot=zfspool/lxc -t devuan -- -r daedalus

which fails miserably:

debootstrap is /usr/sbin/debootstrap
Checking cache download in /var/cache/lxc/devuan/rootfs-daedalus-amd64 ... 
gpg: keybox '/etc/apt/trusted.gpg.d/devuan-archive-keyring.gpg' created
gpg: key 94532124541922FB: 6 signatures not checked due to missing keys
gpg: key 94532124541922FB: public key "Devuan Repository (Primary Devuan signing key) <repository@devuan.org>" imported
gpg: key BB23C00C61FC752C: 6 signatures not checked due to missing keys
gpg: key BB23C00C61FC752C: public key "Devuan Repository (Amprolla3 on Nemesis) <repository@devuan.org>" imported
gpg: key 010291FF0AECE9B9: 5 signatures not checked due to missing keys
gpg: key 010291FF0AECE9B9: public key "Devuan Repository (Amprolla) <repository@devuan.org>" imported
gpg: key 0022D0AB5275F140: 4 signatures not checked due to missing keys
gpg: key 0022D0AB5275F140: public key "Devuan Release Signing (Daedalus) <repository@devuan.org>" imported
gpg: key B3982868D104092C: 4 signatures not checked due to missing keys
gpg: key B3982868D104092C: public key "Devuan Release Signing (Excalibur) <repository@devuan.org>" imported
gpg: key 55C470D57732684B: 3 signatures not checked due to missing keys
gpg: key 55C470D57732684B: public key "Devuan Release Signing (Freia) <repository@devuan.org>" imported
gpg: Total number processed: 6
gpg:               imported: 6
gpg: no ultimately trusted keys found
Downloading devuan minimal ...
E: No such script: /usr/share/debootstrap/scripts/daedalus
Failed to download the rootfs, aborting.
Failed to download 'devuan base'
failed to install devuan
lxc-create: devu5-ct1: lxccontainer.c: create_run_template: 1616 Failed to create container from template
lxc-create: devu5-ct1: tools/lxc_create.c: main: 319 Failed to create container devu5-ct1

I know (only "in the dust") that one can specify an URL at the end of the command, but
would not know, which that might be! The tipping point is probably this:

E: No such script: /usr/share/debootstrap/scripts/daedalus

Every tips is welcome!
BTW, astoundingly, in the cover of lxc-create, devuan signing keys were properly importet.
(I always export a http-proxy for lxc-setup). This is not the case for a chroot setup (tried
to install devuan in a chroot -- failed, because gpg "does not understand proxy" ....).
Regards,
Manfred

Last edited by webman (2024-06-26 17:51:43)

Offline

#2 2024-06-26 13:17:32

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,470  

Re: How to install devuan lxc-container on debian?

I don't know about lxc, so I don't know where you need to install the keyring, but here's the devuan-keyring package for daedalus -
https://pkgmaster.devuan.org/devuan/poo … 28_all.deb

The debootstrap error is easier - as root

cd /usr/share/debootstrap
ln -s ceres daedalus

I'm not sure if you need to install devuan's debootstrap. That's here -
https://pkgmaster.devuan.org/devuan/poo … n2_all.deb

Offline

#3 2024-06-26 13:47:18

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,218  

Re: How to install devuan lxc-container on debian?

You need to use Devuan's debootstrap (not Debian's).

Offline

#4 2024-06-26 18:10:53

webman
Member
Registered: 2022-08-27
Posts: 45  

Re: How to install devuan lxc-container on debian?

Hi!

You need to use Devuan's debootstrap (not Debian's).

LXC is not debootstrap and is intended to install containers for
different OS, like Ubuntu, Arch etc.
Thanks to @fsmithred's:

ln -s ceres daedalus

it works like a charm now (at least setup, not configured and runned it).
So the messages about "NN signatures not checked due to missing keys"
may be a conseqence of the missing reference.

Anyway, regards,
Manfred

Offline

Board footer