Skip to content

Upgrade chroot release

David Schneider edited this page Mar 4, 2014 · 3 revisions

Ubuntu

End of Life releases

  • raring (13.04) reached EOL on 27 January 2014. Support in crouton was dropped on XX March 2014.
  • quantal (12.10) will reach EOL in April 2014.

See Ubuntu wiki for a full list.

Upgrade instructions

To upgrade to a more recent version of Ubuntu, you can use Ubuntu's update manager, or follow these instructions in a crosh shell:

  • sudo enter-chroot -n <chroot_name> (replace <chroot_name> by the name of your chroot, e.g. raring)
  • sudo apt-get install update-manager-core python-apt
  • do-release-upgrade

After the upgrade, it is important to make sure that crouton is updated:

  • sudo sh -e ~/Downloads/crouton -n <chroot_name> -u

By default, the name of a chroot is its release name (e.g. a raring chroot's name is raring). After an upgrade, you end up with a saucy chroot, whose name is raring. Confusing? You can easily rename it with:

  • sudo edit-chroot -m saucy raring

Upgrade from LTS to non-LTS

LTS releases (e.g. precise, 12.04) are supported by Ubuntu for 5 years. By default, they will not upgrade to non-LTS release (e.g. quantal 12.10). If you really want to do that, edit /etc/update-manager/release-upgrades and replace Prompt=lts by Prompt=normal.

Debian

Following the Debian guide and updating the chroot should work. (untested)