$ lxc exec u1 -- apt-get install /tmp/lxd-installer_4ubuntu0.1_all.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'lxd-installer' instead of '/tmp/lxd-installer_4ubuntu0.1_all.deb'
The following packages will be upgraded:
lxd-installer
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3926 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /tmp/lxd-installer_4ubuntu0.1_all.deb lxd-installer all 4ubuntu0.1 [3926 B]
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 12551 files and directories currently installed.)
Preparing to unpack .../lxd-installer_4ubuntu0.1_all.deb ...
Unpacking lxd-installer (4ubuntu0.1) over (4) ...
Setting up lxd-installer (4ubuntu0.1) ...
$ lxc exec u1 -- deluser ubuntu lxd
info: Removing user `ubuntu' from group `lxd' ...
$ lxc exec --user 1000 --group 1000 --env HOME=/home/ubuntu u1 -- lxc ls
Unable to trigger the installation of the LXD snap.
Please make sure you're a member of the 'lxd' system group.
This last step shows a clearer error to the user, marking as verified.
Noble SRU verification:
Download the package from launchpad (not yet published in -proposed):
$ wget https:/ /launchpad. net/ubuntu/ +source/ lxd-installer/ 4ubuntu0. 1/+build/ 28436117/ +files/ lxd-installer_ 4ubuntu0. 1_all.deb
$ lxc launch ubuntu- minimal- daily:24. 04 u1
$ lxc file push /tmp/lxd- installer_ 4ubuntu0. 1_all.deb u1/tmp/
$ lxc exec u1 -- apt-get install /tmp/lxd- installer_ 4ubuntu0. 1_all.deb installer_ 4ubuntu0. 1_all.deb' installer_ 4ubuntu0. 1_all.deb lxd-installer all 4ubuntu0.1 [3926 B] installer_ 4ubuntu0. 1_all.deb ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'lxd-installer' instead of '/tmp/lxd-
The following packages will be upgraded:
lxd-installer
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3926 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /tmp/lxd-
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 12551 files and directories currently installed.)
Preparing to unpack .../lxd-
Unpacking lxd-installer (4ubuntu0.1) over (4) ...
Setting up lxd-installer (4ubuntu0.1) ...
$ lxc exec u1 -- deluser ubuntu lxd
info: Removing user `ubuntu' from group `lxd' ...
$ lxc exec --user 1000 --group 1000 --env HOME=/home/ubuntu u1 -- lxc ls
Unable to trigger the installation of the LXD snap.
Please make sure you're a member of the 'lxd' system group.
This last step shows a clearer error to the user, marking as verified.