Errors when upgrading from 16.04 to 18.04

I'm following the guide for upgrading to 18.04 and I've ran into some issues with do-release-upgrade.

When I issue the command, it fails with following message:

After updating your package information, the essential package
'ubuntu-minimal' could not be located. This may be because you have
no official mirrors listed in your software sources, or because of
excessive load on the mirror you are using. See /etc/apt/sources.list
for the current list of configured software sources.
In the case of an overloaded mirror, you may want to try the upgrade
again later.

Does anyone know what this means exactly? I can't remember modifying the sources.list file, so I'm kinda lost on what to do. The upgrade just fails.

2 Replies

I'm also having the same issue.

I added these lines to the end of my sources.list file and was able to get the update to run successfully.

deb http://archive.ubuntu.com/ubuntu/ xenial main universe multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial-security main universe multiverse

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct