Verified 1:0.4.2 on Cosmic:

1.

ubuntu@DESKTOP-V4DDKSS:~$ sudo do-release-upgrade 
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]                                            
                                                                                
                                                                       
Get:2 Upgrade tool [1243 kB]                                                    
                                                                                
                                                                       
Fetched 1244 kB in 0s (0 B/s)                                                   
                                                                                
                                                                       
authenticate 'cosmic.tar.gz' against 'cosmic.tar.gz.gpg' 
extracting 'cosmic.tar.gz'
[screen is terminating]
ubuntu@DESKTOP-V4DDKSS:~$ lxd

Command '/usr/bin/lxd' requires the lxd snap to be installed.
Please install it with:

snap install lxd

ubuntu@DESKTOP-V4DDKSS:~$

Also reinstalling does not allow skip when lxd data is present but
removing it lets the user skip again.

2.

root@cc-lxd:~# dpkg -l lxd | cat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-========================================
ii  lxd            1:0.4        all          Transitional package - lxd -> snap 
(lxd)
root@cc-lxd:~# apt install -y -qq lxd
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'apt autoremove' to remove it.
The following packages will be upgraded:
  lxd
1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Need to get 11.4 kB of archives.
After this operation, 3072 B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 28289 files and directories currently installed.)
Preparing to unpack .../archives/lxd_1%3a0.4.2_all.deb ...
=> Installing the LXD snap
==> Checking connectivity with the snap store
==> Installing the LXD snap from the latest track for ubuntu-18.10
snap "lxd" is already installed, see 'snap help refresh'
=> 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.4.2) over (1:0.4) ...
Setting up lxd (1:0.4.2) ...

3.

root@cc-lxd:~# snap remove lxd
lxd removed
root@cc-lxd:~# lxd

Command '/usr/bin/lxd' requires the lxd snap to be installed.
Please install it with:

snap install lxd

root@cc-lxd:~# lxc

Command '/usr/bin/lxc' requires the lxd snap to be installed.
Please install it with:

snap install lxd

root@cc-lxd:~#

4.

root@cc-lxd:~# apt purge lxd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'apt autoremove' to remove it.

The following packages will be REMOVED:
  lxd*
0 upgraded, 0 newly installed, 1 to remove and 7 not upgraded.
After this operation, 78.8 kB disk space will be freed.
(Reading database ... 28289 files and directories currently installed.)
Removing lxd (1:0.4.2) ...
(Reading database ... 28283 files and directories currently installed.)
Purging configuration files for lxd (1:0.4.2) ...
root@cc-lxd:~# apt install -y -qq lxd
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
  lxd
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 11.4 kB of archives.
After this operation, 78.8 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package lxd.
(Reading database ... 28283 files and directories currently installed.)
Preparing to unpack .../archives/lxd_1%3a0.4.2_all.deb ...
=> Installing the LXD snap
==> Checking connectivity with the snap store
==> Installing the LXD snap from the latest track for ubuntu-18.10
lxd 3.12 from Canonical✓ 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.4.2) ...
Setting up lxd (1:0.4.2) ...
root@cc-lxd:~# 


** Tags removed: verification-needed verification-needed-cosmic
** Tags added: verification-done verification-done-cosmic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821924

Title:
  LXD Deb->snap  transition fails in WSL due to snap command not working
  (yet)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1821924/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to