Upgrading Ubuntu Version 10.04 to 14.04

February 16, 2015 6.5k views

I rebuilt my droplet and mistakenly chose Ubuntu 10.04 x64 vmlinuz-2.6.32-41-server. It works fine, but obviously is a very old image. I've found a good article on changing the kernel. It says the version I install on the command line must match the one I choose on the Control Panel. When I enter the console command apt-cache search linux-image, the newest version I see is:

linux-image-3.0.0-32-server - Linux kernel image for version 3.0.0 on x86_64

That image doesn't appear in the control panel. Is it possible to get from 10.04 to 14.04? I'm running an Ruby on Rails low usage personal website. Is it important to upgrade?

  • Your apt-cache search will display the kernels available for 10.04. By doing a dist-upgrade your apt database will be updated form the 14.04 repositories and this is not the kernel version would would end up with. As this is a fairly big upgrade I would recommend ensuring you back up anything important before proceeding and then use the following method:

    apt-get update;
    apt-get dist-upgrade;

    then review what kernels you have modules available for:

    ls /lib/modules

    and select a matching kernel from the control panel. Once the new kernel has been selected, reboot and you should be all set.

  • Thanks for the reply. I get the following errors when I enter the first command:
    E: The method driver /usr/lib/apt/methods/https could not be found.
    E: The method driver /usr/lib/apt/methods/https could not be found.

    I first got a permission error so I preceded the command with sudo and then got the not found errors. There was no other output.

  • I got by the first problem by doing:

    sudo apt-get install apt-transport-https

    Then when I ran the update, I got the following errors:

    Err https://oss-binaries.phusionpassenger.com trusty/main Packages
    Problem with the SSL CA cert (path? access rights?)
    Fetched 585B in 1s (420B/s)
    W: Failed to fetch https://oss-binaries.phusionpassenger.com/apt/passenger/dists/trusty/main/binary-amd64/Packages.gz Problem with the SSL CA cert (path? access rights?)

    E: Some index files failed to download, they have been ignored, or old ones used instead.

    I was following some setup instructions on this site for Ruby on Rails. The first set didn't work so I followed one that did. I ended up with two copies of Ruby, one partial, and two copies of Passenger. My droplet may be somewhat trashed.

  • The question is now moot. I decided to rebuild my droplet. I need the practice.

Be the first one to answer this question.