Running apt-get update is failing for my Ubuntu Server

Linode Staff

I'm running Ubuntu 18.10 and I'm unable to run 'apt-get update'. Any reason why this is the case?

2 Replies

Ubuntu 18.10 has reached its end-of-life cycle, which is why you are running into this problem.

https://fridge.ubuntu.com/2019/07/19/ubuntu-18-10-cosmic-cuttlefish-end-of-life-reached-on-july-18-2019/

There are some options you can consider trying if you want to update your server. Before doing so, I recommend backing up your server before performing any update. You can subscribe to our Backup Service if you aren't manually backing up your server on a daily basis.
Linode Backup Service

Once you've backed up your server, you can try doing an inline upgrade for your server. You can reference the following links for assistance with this option. If you run into any problem with performing the upgrade, you can easily restore your server from a backup.

The other option would be to create a new server and deploy an updated Ubuntu image. Once this is done, copy your data from your original server over to the new server. For this option, I recommend creating the new server in the same data center as your original server. From here, you can then swap the IP addresses between the two servers and once everything is working as intended, you can remove the original server from your account.

Transferring IP Addresses
Removing Services

What @jchism said…

The next LTS (long-term support) release of Ubuntu is 20.04 (Focal Fossa). It's due in April 2020:

https://www.omgubuntu.co.uk/2019/10/ubuntu-20-04-release-features

You might want save yourself some work and hold off on upgrading to 19.xx and go right to 20.04. LTS releases offer more stability and a longer support life (5 years) than the point releases in between LTS releases.

-- sw

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