How to upgrade EOL Ubuntu 13.10 to 14.04?

June 25, 2015 2.6k views
Configuration Management Linux Basics Security Ubuntu

I'm trying to upgrade my ubuntu to the latest LTS, and have tried editing my sources.list to the digital ocean mirrors:

deb saucy main restricted universe multiverse
deb saucy-updates main restricted universe multiverse
deb saucy-security main restricted universe multiverse

However, do-release-upgrade still fails with a lot of errors (small snippet of many):

Err trusty/multiverse i386 Packages

Err trusty/universe i386 Packages

Err trusty/main Translation-en_US

Err trusty/main Translation-en

Err trusty/multiverse Translation-en_US

Then it finally fails saying

No candidate ver:  libaudit0
No candidate ver:  libcogl-pango0
No candidate ver:  libcogl9
No candidate ver:  libgjs0c
No candidate ver:  libgnome-desktop-3-4
No candidate ver:  libmutter0
No candidate ver:  libunity-core-6.0-5
No candidate ver:  unity-common

Updating repository information

No valid mirror found

While scanning your repository information no mirror entry for the
upgrade was found. This can happen if you run an internal mirror or
if the mirror information is out of date.

Do you want to rewrite your 'sources.list' file anyway? If you choose
'Yes' here it will update all 'saucy' to 'trusty' entries.
If you select 'No' the upgrade will cancel.

Continue [yN]

Any tips on how to proceed? I imagine I somehow have an issue with my sources.list?

1 Answer

OK, well in case it helps someone, the answer is rather simple. The issue was that my sources.list, pointing to Digital Ocean, at least as far as I can tell, would not provide the packages required for do-release-upgrade.

What I did was update my system/packages as much as possible using the DO mirrors with dist-upgrade, update etc, and then change my sources.list accordingly to Ubuntu's old-releases mirror as per Ubuntu: EOLUpgrades:

## EOL upgrade sources.list
# Required
deb CODENAME main restricted universe multiverse
deb CODENAME-updates main restricted universe multiverse
deb CODENAME-security main restricted universe multiverse

# Optional
#deb CODENAME-backports main restricted universe multiverse

Then the whole process went very smoothly.

Have another answer? Share your knowledge.