Skip to content

Instantly share code, notes, and snippets.

@dklesev
Forked from crosbymichael/upgrade-lxc.sh
Created February 26, 2014 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dklesev/9241438 to your computer and use it in GitHub Desktop.
Save dklesev/9241438 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Remove current lxc version which is lxc/1.0.0~alpha1-0ubuntu11
sudo apt-get remove lxc
# Download the new pakcages with the updated
wget https://launchpad.net/ubuntu/+source/lxc/1.0.0~alpha1-0ubuntu12/+build/5171688/+files/lxc_1.0.0~alpha1-0ubuntu12_amd64.deb
wget https://launchpad.net/ubuntu/+source/lxc/1.0.0~alpha1-0ubuntu12/+build/5171688/+files/liblxc0_1.0.0~alpha1-0ubuntu12_amd64.deb
# Install the updated packages
sudo dpkg -i liblxc0_1.0.0~alpha1-0ubuntu12_amd64.deb
sudo dpkg -i lxc_1.0.0~alpha1-0ubuntu12_amd64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment