2

I have just download and install Ubuntu 16.04 Desktop then tried to install conjure-up to install Openstack in one machine & got following error message:

~$ sudo snap install conjure-up --classic --beta

error: cannot perform the following tasks:
- Run configure hook of "conjure-up" snap if present (
-----
+ lxd_bin=/usr/bin/lxd
+ lxc_bin=/usr/bin/lxc
++ which lxd
+ '[' '' = '' ']'
+ snap install lxd
+ lxd_bin=/snap/bin/lxd
+ lxc_bin=/snap/bin/lxc
++ /snap/bin/lxd --version
+ VERSION=2.8
+ dpkg --compare-versions 2.8 gt 2.2
+ grep -q trusty /etc/lsb-release
+ /snap/bin/lxc network show lxdbr0
+ /snap/bin/lxc network create lxdbr0 ipv4.address=10.0.8.1/24 ipv4.nat=true ipv6.address=none ipv6.nat=false
LXD socket not found; is LXD installed and running?
-----)

Is there anything need to be done before this installation?

d a i s y
  • 5,551

3 Answers3

3

This is an interesting error can you do the following:

sudo snap remove lxd
sudo apt-get install lxd lxd-client
conjure-up

To me this looks like an issue with the LXD snap running on Xenial. If this works I'll get with the LXD guys to see what may be going wrong with that snap.

battlemidget
  • 1,032
1

I got the exact same error when i ran "sudo snap install conjure-up --classic". After reading this thread i was able to succeed

openstackuser@ubuntu:~$ sudo snap remove lxd openstackuser@ubuntu:~$ sudo apt-get install lxd lxd-client openstackuser@ubuntu:~$ conjure-up

then i was prompted to install conjure-up

openstackuser@ubuntu:~$ conjure-up The program 'conjure-up' is currently not installed. You can install it by typing: sudo apt install conjure-up

Installed conjure-up package with below command

openstackuser@ubuntu:~$ sudo apt install conjure-up

Finally, installed without errors

openstackuser@ubuntu:~$ sudo snap install conjure-up --classic
conjure-up 2.1.0 from 'canonical' installed

Thanks

0

I was getting a similar error on Linux Mint:

$ sudo snap install conjure-up --classic --beta

error: cannot perform the following tasks:
- Run configure hook of "conjure-up" snap if present

I fixed it by installing, selinux, rebooting, and then installing snapd:

sudo apt-get install selinux
reboot
sudo apt-get install snapd

For more info, see this issue.

ostrokach
  • 864