This is one of the beautiful things about linux; here is how to upgrade Ubuntu (a distribution of said OS) to the latest release.

Edit /etc/apt/sources.list

Replace contents with:


    1. Major bug fix updates produced after the final release of the
    2. distribution.
deb http://archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu breezy-updates main restricted

    1. Uncomment the following two lines to add software from the ‘universe’
    2. repository.
    3. N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    4. team, and may not be under a free licence. Please satisfy yourself as to
    5. your rights to use the software. Also, please note that software in
    6. universe WILL NOT receive any review or updates from the Ubuntu security
    7. team.
deb http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted

deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

deb http://security.ubuntu.com/ubuntu breezy-security universe
deb-src http://security.ubuntu.com/ubuntu breezy-security universe


Open synaptic; click “refresh”; click “mark all upgrades”; click “apply”. Done. Reboot.

UPDATE - I had installed e17 on hoary from unofficial repositories, which blocked the upgrade of several packages, including mplayer. You may encounter similar problems if you have installed unofficial libraries of applications, since their dependencies won’t have been upgraded in the repositories. To resolve:

  • Try to upgrade the package (e.g. mplayer)
  • Note, in the error message, the name of the dependency that is not being upgrades (e.g. libfoo-x3)
  • Search for the dependency (libfoo — without the version specific stuff in the name)
  • Right click on it, choose complete remove
  • Note any applications that you use which will be removed with it (hopefully none)
  • If doing the removal isn’t going to bring your system too far down, then apply
  • Now select the package that you want to upgrade (mplayer)
  • It will pick up the latest version of the dependency (libfoo)
  • Apply
  • Add back anything else that depended on the dependency you removed (libfoo)

UPDATE 2 - If your resolution is screwed up when you reboot, type, on the command line:

  • sudo dpkg-reconfigure xserver-xorg


Related Leave a Comment