Updating ubuntu

Specifications

→ Add the output of inxi -Fxmz command here!
john@john-K51AE:~$ inxi -Fxmz

Command ‘inxi’ not found, but can be installed with:

sudo apt install inxi

john@john-K51AE:~$
→ Add the output of for f in $(find . -maxdepth 1 -type f -name 'dmesg*.log'); do echo "${f}"; printf '%s\n\n' "$(<"${f}")"; done command here!
john@john-K51AE:~$ dmesg --time-format iso > dmesg_$(date +"%Y%m%d%H%M%S").log →
bash: syntax error near unexpected token `newline’
john@john-K51AE:~$

Discontinuing this nonsense.

First, install dependencies:

→ apt update
→ apt install -y dnsutils traceroute hping3 netcat tcpdump

→ ip a
→ ip route
→ traceroute 8.8.8.8
→ nslookup example.com

Additional Information (if applicable)

  • Software title | (E.g. Nextcloud)
  • Software version | (E.g. softwarename -V)
  • Was the software title installed freshly or updated/migrated?

Steps to reproduce

  1. try to update existing ubuntu 19

Expected behaviour

-It should update

Actual behaviour

- john@john-K51AE:~$ sudo apt update && sudo apt upgrade -y
[sudo] password for john: 
Ign:1 http://ie.archive.ubuntu.com/ubuntu eoan InRelease
Ign:2 http://ie.archive.ubuntu.com/ubuntu eoan-updates InRelease
Ign:3 http://ie.archive.ubuntu.com/ubuntu eoan-backports InRelease
Err:4 http://ie.archive.ubuntu.com/ubuntu eoan Release
  404  Not Found [IP: 2001:67c:1360:8001::23 80]
Err:5 http://ie.archive.ubuntu.com/ubuntu eoan-updates Release
  404  Not Found [IP: 2001:67c:1360:8001::23 80]
Err:6 http://ie.archive.ubuntu.com/ubuntu eoan-backports Release
  404  Not Found [IP: 2001:67c:1360:8001::23 80]
Ign:7 http://security.ubuntu.com/ubuntu eoan-security InRelease
Err:8 http://security.ubuntu.com/ubuntu eoan-security Release
  404  Not Found [IP: 2001:67c:1562::18 80]
Reading package lists... Done
E: The repository 'http://ie.archive.ubuntu.com/ubuntu eoan Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ie.archive.ubuntu.com/ubuntu eoan-updates Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ie.archive.ubuntu.com/ubuntu eoan-backports Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://security.ubuntu.com/ubuntu eoan-security Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
john@john-K51AE:

Apile of 404 errors, not possible to do a secure update; failure to update to ubuntu 20

Extra details

First of all, before you do anything, create a backup.
If you are inexperienced with backups, see Q5:

Secondly:

Your main problem is your distro is EOL (end of life) as of July 2020 :

https://wiki.ubuntu.com/EoanErmine/ReleaseNotes

Support lifespan
Ubuntu 19.10 will be supported for 9 months until July 2020. If you need Long Term Support, it is recommended you use Ubuntu 18.04 LTS instead.

(i.e. eoan ermine = Ubuntu 19.10)

I think they give a 3 month grace period after official EOL before they take the repos offline…

I can’t help you because I’ve NEVER tried to run an EOL Ubuntu… I’ve always either updated it to the next release before it went EOL - or - more commonly just wiped it and done a fresh install (I don’t have to worry too much about backups because my “data” is sync’d via personal cloud).

These days? I NEVER run anything but an LTS release… i.e. 20.04 (and previously 18.04)…

I think there are ways / methods of editing your apt files to point to the few remaining sources that host archived versions of old release updates - I can only suggest you do some searching for how to do that… Sorry - I can’t really be of help…

But there’s this here :

and here :
https://help.ubuntu.com/community/EOLUpgrades

and this :

## 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

Where in your case - you’d replace “CODENAME” with “eoan”.

I’ve also no idea if you can still “do-release-upgrade” on an EOL release.

– edit update / post script –

Something like this might work for you also :

Become root :

sudo -i

Make a backup :

cp /etc/apt/sources.list /etc/apt/sources.list.20210615

Make the changes in place :

sed -i 's/ie.archive/old-releases/g' /etc/apt/sources.list

And pray to whatever deity is your preferred choice that you didn’t add any PPA’s :smiley:

2 Likes

Thanks for that.

It is a laptop that I use occasionally (it really is too slow; thurion 64). I thought I could simply upgrade it to 20.04 lts “as advertised”, but no such luck.
i may do nothing, or I may do a fresh install of 20.04.

Thanks again.

John

Turion? Cool - my ~10 year old NAS (bought December 2011 - HP NL40) has a dual core Turion, running FreeNAS 11.3 (FreeBSD 11.3)… only upgrades I’ve done on it are replacing the storage (incrementally with ZFS), booting off SSD (instead of USB thumb drive) and replace 8 GB non-ECC with 16 GB ECC… adding that RAM made a huge difference… great 64 bit processor for its time…

Just found out I’m in for a bit of a windfall (tax return) soon and I’m considering a Lenovo Ryzen 5 laptop… Always preferred AMD over Intel… Especially now Ryzens are wiping the floor with Intel…

Some of you will want to shoot me - but the contenders for new laptop are probably

  • Apple Macbook Air M1 (Apple/Arm M1 with 8 GB [soldered] and 256 NVME [soldered] - and I’d be happy with OS X)
  • Lenovo Thinkpad E14 (Ryzen 5 with 16 GB DDR4 [one 8 GB bank is soldered] and 512 GB NVME)

I think the Thinkpad is looking like the front runner - but still like the idea of an M1 Mac… but Ryzen is a worthy alternative to Wintel… Just a shame that Lenovo Australia don’t offer Linux as a replacement for Windows 10 (there’s no option for non-Windows)… with a few coupons and discounts, I could get that Thinkpad for under $1000 (AUD) - none of the “Linux Laptop” vendors can come anywhere near that sweet price point… needless to say - if I get it I WILL NOT be dual booting :smiley:

– edit –
You could always go back to Ubuntu 18.04? Or maybe tryout Xubuntu 20.04 ? I’ve heard KDE (i.e. Kubuntu) is pretty light on resources compared to full blown Gnome - but don’t quote me on that… I think Ubuntu Studio cut over to KDE from XFCE…

1 Like

My main machine was a (secondhand) Phenom 4 on a gigabyte am3+ board; changed to an (secondhand) fx8350 about two years ago, 8gB. I put in an SSD about eighteen months ago; great; reboots so fast that they are routine rather than dreaded. Still with windows as main system. Ubuntu available on a hard disk; boot order selection rather than dual boot; (neither system can upset the other). The laptop is an asus, dual core. Dithering about putting in an SSD; it will be fast, but not sure the the turion will benefit that much. Only used for access when away from home. I was given a newish samsung tablet which is very quick. The only real benefit of the laptop is a larger screen and multiple windows. I think I will try an SSD with a fresh install of ubuntu 20.4 lts. If it is too slow I can put the SSD in the desktop. Intel have a big plant here; but I always wished to encourage competition if at all reasonable.
Again, thanks for your help on the update problem.

Here’s a blonde moment (what’s left of my hair that’s not grey/silver, is blonde) - a really dumdum moment.

I’ve been trying to upgrade a fresh 18.04.5 VM (built from an 18.04.2 template I “rolled” about 2.5 years ago) in ESX to 20.04.2, mainly 'cause I am damn lazy, and SSSD (AD authentication) kinda works in that template, and I didn’t want to do all that AD authentication work again from scratch…

So I’m doing “do-release-upgrade” - and it runs for a bit - then ends with a :

=== Command terminated with exit status 1 (Wed Oct 21 10:19:16 2020) ===

And if I press enter (probably the semi mystical “Any Key”) it suggests “x” to terminate" or “r” to resume, and when I press “r” - it seems to resume, but then ends again with :

=== Command terminated with exit status 1 (Wed Oct 21 10:19:16 2020) ===

AD NAUSEAM! Maybe 10 times? Several reboots…

I finally decided “fair suck of the sav’ [savaloy] mate…” (an Aussie colloquialism) and I actually USED MY EYES to read the stuff that happened before " terminated with exit status 1 " - and there it is - SHOUTING at me in fixed width font ASCII in my ssh / terminal (tmux) session - about “lxd” not being in the repos but moved to the snap store or some such rubbish…

So - “sudo apt purge lxd” and then “do-release-upgrade”…

What a dumb dumb! I’ve gone off on all sorts of tangents, reading articles at Digital Ocean, investigating changing my sources.list (which I can’t do anyway - I’m restricted by firewall** to using the Australian mirror of Ubuntu, and the US hosted / CDN for security.ubuntu.com) - tried all sorts of things…

All I had to do was remove LXD!!!

** note - once I’ve instanced 20.04 server VM’s (the goal here is to create a new template for Ubuntu 20.04.2 LTS Server) - I may run into issues - if the users need access to the SNAP store - maybe open up more firewall rules?

1 Like