LXD Installation failed, dependecies problems

My YunoHost server

Hardware: VPS bought online
YunoHost version: 11.2.9.1 (stable).
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
**If your request is related to an app, specify its name and version:**LXD 5.20~ynh1

Description of my issue

the installation breaks

https://paste.yunohost.org/raw/jucobucubi

dpkg: lxd-ynh-deps: dependency problems, but configuring anyway as you requested:
19: DEBUG - lxd-ynh-deps depends on attr; however:
20: DEBUG - Package attr is not installed.
DEBUG - lxd-ynh-deps depends on libacl1-dev; however:
DEBUG - Package libacl1-dev is not installed.
DEBUG - lxd-ynh-deps depends on libcap-dev; however:
DEBUG - Package libcap-dev is not installed.
DEBUG - lxd-ynh-deps depends on liblxc1; however:
DEBUG - Package liblxc1 is not installed.
DEBUG - lxd-ynh-deps depends on lxc-dev; however:
DEBUG - Package lxc-dev is not installed.
DEBUG - lxd-ynh-deps depends on libsqlite3-dev; however:
DEBUG - Package libsqlite3-dev is not installed.
DEBUG - lxd-ynh-deps depends on libudev-dev; however:
DEBUG - Package libudev-dev is not installed.
DEBUG - lxd-ynh-deps depends on squashfs-tools; however:
DEBUG - Package squashfs-tools is not installed.
DEBUG - lxd-ynh-deps depends on tcl; however:
DEBUG - Package tcl is not installed.
DEBUG - lxd-ynh-deps depends on ebtables; however:
DEBUG - Package ebtables is not installed.
DEBUG - lxd-ynh-deps depends on libapparmor-dev; however:
2024-02-03 20:02:08,023: DEBUG - Package libapparmor-dev is not installed.
2024-02-03 20:02:08,023: DEBUG - lxd-ynh-deps depends on libseccomp-dev; however:
2024-02-03 20:02:08,023: DEBUG - Package libseccomp-dev is not installed.
2024-02-03 20:02:08,024: DEBUG - lxd-ynh-deps depends on lvm2; however:
2024-02-03 20:02:08,024: DEBUG - Package lvm2 is not installed.
2024-02-03 20:02:08,024: DEBUG - lxd-ynh-deps depends on thin-provisioning-tools; however:
2024-02-03 20:02:08,024: DEBUG - Package thin-provisioning-tools is not installed.
2024-02-03 20:02:08,024: DEBUG - lxd-ynh-deps depends on btrfs-progs; however:
2024-02-03 20:02:08,024: DEBUG - Package btrfs-progs is not installed.
2024-02-03 20:02:08,024: DEBUG - lxd-ynh-deps depends on libattr1-dev; however:
2024-02-03 20:02:08,024: DEBUG - Package libattr1-dev is not installed.
2024-02-03 20:02:08,024: DEBUG - lxd-ynh-deps depends on libdevmapper-event1.02.1; however:
2024-02-03 20:02:08,024: DEBUG - Package libdevmapper-event1.02.1 is not installed.
DEBUG - lxd-ynh-deps depends on dmeventd; however:
DEBUG - Package dmeventd is not installed.
DEBUG - lxd-ynh-deps depends on lxc; however:
DEBUG - Package lxc is not installed.
DEBUG - lxd-ynh-deps depends on tcl8.6; however:
DEBUG - Package tcl8.6 is not installed.


also
one package is needed to be removed, but removing is disabled

he following packages will be REMOVED:
2024-02-03 20:02:08,982: DEBUG - busybox
E: Packages need to be removed but remove is disabled.

ERROR - Installation von lxd fehlgeschlagen: Im Installationsscript ist ein Fehler aufgetreten

I just had the same problem, not sure if it is a good solution, I am testing only for now, but to install it successfully, just install dependencies manually first

sudo apt install -y liblvm2cmd2.03 bridge-utils debootstrap libpam-cgfs lxcfs lxc-templates uidmap

then install LXD

this works? the installation of LXD succeeded afterwards? Thanks for your advice, I thought about it too.

It got installed and lxd is definetely there and running with no errors, but I am not experienced enough to make it run HAOS, as it says it doesn’t support virtualisation. I’ve spent couple of hours on it, it looks very tricky and so I’ve decided to stay with standard HA yunohost integration.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.