apt update error with ubuntu 18.10 cosmic version
Solution 1:
The repositories are still available on http://old-releases.ubuntu.com/ubuntu. You can change them in /etc/apt/sources.list, replacing all occurences of http://archive.ubuntu.com with http://old-releases.ubuntu.com.
After that, apt-get upgrade will work again.
More info on dealing with no longer supported versions at https://help.ubuntu.com/community/EOLUpgrades
Solution 2:
Finally I forced the downgrade to change the source.list ... I followed this article : https://linuxconfig.org/how-to-downgrade-ubuntu-linux-system-to-its-previous-version
Solution 3:
It's because your Ubuntu version is out of date. That means Ubuntu does not provide security support because the system is too old. You need to disable the bad repos in your sources list and then run
apt
again.apt-update
does not upgrade your system. It only updates the repositories in your system. If you need to upgrade to another Ubuntu version, rundo-release-upgrade
. Otherwise, runapt-upgrade -y
to upgrade system packages. Obviously, runsudo
if you are not theroot
user.
Solution 4:
You can use Ubuntu 18.04 as that is close to what you have, is a Long Term Service version, and updates just fine. I update my Ubuntu machine regularly.