2

I am currently running 21.04. I would like to upgrade to 21.10, but when I try to start the upgrade by clicking on the button (see image) the window simply closes and that's it.

Screenshot

Nothing is written to /var/log/apt/history.logor term.log

I have run sudo do-release-upgrade from the command line with the following response:

Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife

I changed my sources.list file as instructed here:How to install software or upgrade from an old unsupported release? but when running sudo apt-get update I get

Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease
Hit:3 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  Release
Ign:5 http://old-releases.ubuntu.com/ubuntu hirsute InRelease
Ign:6 http://old-releases.ubuntu.com/ubuntu hirsute-updates InRelease
Ign:7 http://old-releases.ubuntu.com/ubuntu hirsute-backports InRelease
Ign:8 http://old-releases.ubuntu.com/ubuntu hirsute-security InRelease
Err:9 http://old-releases.ubuntu.com/ubuntu hirsute Release
  404  Not Found [IP: 91.189.91.123 80]
Err:10 http://old-releases.ubuntu.com/ubuntu hirsute-updates Release
  404  Not Found [IP: 91.189.91.123 80]
Err:11 http://old-releases.ubuntu.com/ubuntu hirsute-backports Release
  404  Not Found [IP: 91.189.91.123 80]
Err:12 http://old-releases.ubuntu.com/ubuntu hirsute-security Release
  404  Not Found [IP: 91.189.91.123 80]

If I then run sudo apt-get dist-upgrade

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  cuda cuda-drivers
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

I changed my source.list file to use archive instead of old-releases, ran sudo apt update, which ran normally. I then ran ``sudo apt dist-upgrade```, which gave

0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

I then ran

sudo do-release-upgrade

With these results:

Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
17
  • 2
    Open a terminal and try to run sudo do-release-upgrade, if you get an error, add it to your question.
    – pLumo
    Feb 11 at 9:26
  • 4
    Does this answer your question? How to install software or upgrade from an old unsupported release?
    – pLumo
    Feb 11 at 10:15
  • 1
    @pLumo, I tried but without success. I added the results to the question.
    – CHsurfer
    Feb 11 at 11:01
  • 2
    Your specific problem seems right there in your output: 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. You didn't complete Step 1 and fully update your system before starting the release-upgrade.
    – user535733
    Feb 11 at 12:35
  • 1
    Check askubuntu.com/questions/601/…
    – pLumo
    Feb 11 at 12:47

1 Answer 1

1

It turns out that the main issue is that I had two manually installed packages (cuda, cuda-drivers) that were not updating.

As per the answer here: askubuntu.com/questions/601 I needed to

Cautious solution 2:

The cautious solution is to run sudo apt-get install [list of packages kept back]. In most cases this will give the kept-back packages what they need to successfully upgrade.

sudo apt-get install cuda cuda-drivers

installed these packages. I did a restart as instructed by the above commands output and then tried to initiate the upgrade via the Software Updater. This seems to have solve the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.