I am installing LXD 4.0 on Ubuntu 20.04 using sudo apt-get install lxd
The installation prints out the following failures
Failed to stop lxd.socket: Unit lxd.socket not loaded.
Failed to stop lxd.service: Unit lxd.service not loaded.
Failed to stop lxd-containers.service: Unit lxd-containers.service not loaded.
Failed to disable unit: Unit file lxd.socket does not exist.
In addition, when I run command sudo systemctl status lxd
, it reports
Unit lxd.service could not be found.
Please help me letting me know how to resolve such problems. Thanks.
The entire LXD installation prints are pasted below for reference.
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
lxd
0 upgraded, 1 newly installed, 0 to remove and 160 not upgraded.
Need to get 5,444 B of archives.
After this operation, 79.9 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 lxd all 1:0.9 [5,444 B]
Fetched 5,444 B in 0s (14.7 kB/s)
Preconfiguring packages …
Selecting previously unselected package lxd.
(Reading database … 154436 files and directories currently installed.)
Preparing to unpack …/archives/lxd_1%3a0.9_all.deb …
=> Installing the LXD snap
==> Checking connectivity with the snap store
==> Installing the LXD snap from the 4.0 track for ubuntu-20.04
lxd (4.0/stable) 4.0.6 from Canonical\u2713 installed
=> Snap installation complete
==> Cleaning up leftovers
Failed to stop lxd.socket: Unit lxd.socket not loaded.
Failed to stop lxd.service: Unit lxd.service not loaded.
Failed to stop lxd-containers.service: Unit lxd-containers.service not loaded.
Failed to disable unit: Unit file lxd.socket does not exist.
Unpacking lxd (1:0.9) …
Setting up lxd (1:0.9) …