By public98068
I’m trying to upgrade my ubuntu to the latest LTS, and have tried editing my sources.list to the digital ocean mirrors:
deb http://mirrors.digitalocean.com/ubuntu-old/ saucy main restricted universe multiverse
deb http://mirrors.digitalocean.com/ubuntu-old/ saucy-updates main restricted universe multiverse
deb http://mirrors.digitalocean.com/ubuntu-old/ saucy-security main restricted universe multiverse
However, do-release-upgrade still fails with a lot of errors (small snippet of many):
Err http://mirrors.digitalocean.com trusty/multiverse i386 Packages
Err http://mirrors.digitalocean.com trusty/universe i386 Packages
Err http://mirrors.digitalocean.com trusty/main Translation-en_US
Err http://mirrors.digitalocean.com trusty/main Translation-en
Err http://mirrors.digitalocean.com 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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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 http://old-releases.ubuntu.com/ubuntu/ CODENAME main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-security main restricted universe multiverse
# Optional
#deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-backports main restricted universe multiverse
Then the whole process went very smoothly.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.