Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on SDK installation #4

Closed
mimecar opened this issue Nov 11, 2017 · 2 comments
Closed

Error on SDK installation #4

mimecar opened this issue Nov 11, 2017 · 2 comments
Assignees
Labels

Comments

@mimecar
Copy link
Owner

mimecar commented Nov 11, 2017

The error appears in Ubuntu 16.04:

Stopping containers: All containers stopped. Creating default network bridge .....
FAILED 
error: Creating the bridge failed with: not implemented 
—-Task exited with errors, please check the output---
@mimecar mimecar added the bug label Nov 11, 2017
@mimecar mimecar self-assigned this Nov 11, 2017
@mimecar
Copy link
Owner Author

mimecar commented Nov 11, 2017

Fix (https://forums.ubports.com/post/5358):

The steps are:

  • sudo add-apt-repository ppa:ubuntu-lxc/lxd-stable
  • sudo apt-get update
  • sudo apt-get upgrade && sudo apt-get dist-upgrade

Reboot the computer

  • sudo lxd init

Do you want to configure a new storage pool (yes/no) [default=yes]?
Name of the new storage pool [default=default]:
Name of the storage backend to use (dir, lvm, zfs) [default=zfs]:
Create a new ZFS pool (yes/no) [default=yes]?
Would you like to use an existing block device (yes/no) [default=no]?
Size in GB of the new loop device (1GB minimum) [default=15GB]:
Would you like LXD to be available over the network (yes/no) [default=no]?
Would you like stale cached images to be updated automatically (yes/no) [default=yes]?
Would you like to create a new network bridge (yes/no) [default=yes]? no

LXD has been successfully configured.

Launch IDE with:

  • ubuntu-sdk-ide

Configure the kits and restart ubuntu-sdk-ide. A message will appear indicating that the container is faulty. Accept to correct them. After this step it will work fine. I was able to run an example application on the computer and the M10 FHD with these steps.

@jonnius
Copy link

jonnius commented Dec 13, 2017

Installing lxd from the ppa does not seem to be a good idea in near future, as a disclaimer appears:

LXD PPAs to go away by end of year

We are deprecating all LXD PPAs at the end of 2017.

Existing users should move to the LXD snap as the preferred way to get
the latest LXD feature release on older Ubuntu releases.

You can do so by first installing snapd on your system if it's not there
already. Once snapd is installed, installing the LXD snap and migrating
your existing data can be done with:

snap install lxd && lxd.migrate

Alternatively, we do still provide a .deb version of LXD for older Ubuntu releases through the official -backports archive pocket.

Those packages are identical to what's available through our PPAs but
benefit from additional testing on our part. To switch over to those
backport packages, use:

apt install -t -backports lxd lxd-client

Replacing "" with the codename of your Ubuntu release (e.g.
xenial).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
English version
  
Issues
Development

No branches or pull requests

2 participants