Can't seem to update Ubuntu 14.04.1 (Trusty) to 14.10 (Utopic) - source network errors.

  • Posted on October 31, 2014
  • jonathanAsked by jonathan

Just trying to upgrade my Ubuntu as I’ve done many times before, but I’m coming up with a network error here at DigitalOcean. Here’s what’s happening just after the normal warning about the newly created port…

To continue please press [ENTER]

Err trusty/main Translation-en_US
Err trusty/multiverse Translation-en_US
Err trusty/restricted Translation-en_US
Err trusty/universe Translation-en_US

Ign trusty/main Translation-en_US
Ign trusty/multiverse Translation-en_US
Ign trusty/restricted Translation-en_US
Ign trusty/universe Translation-en_US
Fetched 0 B in 6s (4,153 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done

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 'trusty' to 'utopic' entries.
If you select 'No' the upgrade will cancel.

I enter “Yes” and it does pretty much the same thing again, and then…

Error during update

A problem occurred during the update. This is usually some sort of
network problem, please check your network connection and retry.

W:Failed to fetch
404 Not Found
, W:Failed to fetch
404 Not Found
, E:Some index files failed to download. They have been ignored, or
old ones used instead.

Restoring original system state

Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
=== Command detached from window (Fri Oct 31 06:14:37 2014) ===
Press x to destroy or r to resurrect window  i Oct 31 06:14:47 2014) ===

Those last couple of packages shouldn’t matter; missing third party stuff has never blocked and install before. I’m more interested in the missing DigitalOcean mirror stuff.

Yes, I’ve rebooted, and yes I’ve checked that the droplet has network connectivity (obviously, as I wouldn’t be connected to it!).

Any ideas?

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I’ve got other weirdness now.

Plenty of W: Failed to fetch mirror:// 403 Forbidden [Mirror:]

Any ideas?

Well, with massive thanks to Brad on tech support, it’s now fixed and working.

The solution was to comment out the ffmpeg and dropbox repos.

I’m kicking myself for not trying that about 6 hours ago, but I’d read so many things suggesting that “bad” third party repos wouldn’t affect upgrade, and also all the lines with


and the part about "no valid mirror" got me off on a totally wrong direction, especially as I’ve been using those repos before on previous years’ upgrades and had no trouble.

There you go - day wasted, lessons learnt!

The “No valid mirror found” error can be safely ignored. do-release-upgrade only looks at list of “official” Ubuntu mirrors, which doesn’t include DigitalOcean’s. Though the mirrors do include 14.10:

Have you tried commenting out or disabling the third-party repositories that are erroring? I just successfully did a 14.04 to 14.10 upgrade on a new droplet.