LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-18-2022, 02:42 AM   #1
kosta88
LQ Newbie
 
Registered: Feb 2021
Posts: 12

Rep: Reputation: Disabled
Upgrading 20.10 to 22.04


Hello,
I am somewhat new to Ubuntu Server, installed one a year ago, by mistake took the 20.10, and didn't know about the update windows, EOL and so on.
So, now I am stuck with 20.10 which won't update to anything.
I read about ways to update EOL systems to intermediate version, but all my attempts end in following (I tried 3 distros, Hirsute, Jammy and Impish):

Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

(jammy:6452): Gtk-CRITICAL **: 09:39:36.502: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(jammy:6452): Gtk-CRITICAL **: 09:39:36.502: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(jammy:6452): Gtk-CRITICAL **: 09:39:36.502: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

This doesn't say much to me.
I managed to update the current Groovy release with apt-get update, I at first had errors, but change the soures and it updated successfully from the old-releases repository.

Does anyone know the meaning of this, is there a way to fix it? I would really like to upgrade the OS, and not have to reinstall everything from scratch.

And this is most likely what you want to see:
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://old-releases.ubuntu.com/ubuntu groovy main restricted
# deb-src http://old-releases.ubuntu.com/ubuntu groovy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://old-releases.ubuntu.com/ubuntu groovy-updates main restricted
# deb-src http://old-releases.ubuntu.com/ubuntu groovy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://old-releases.ubuntu.com/ubuntu groovy universe
# deb-src http://old-releases.ubuntu.com/ubuntu groovy universe
deb http://old-releases.ubuntu.com/ubuntu groovy-updates universe
# deb-src http://old-releases.ubuntu.com/ubuntu groovy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://old-releases.ubuntu.com/ubuntu groovy multiverse
# deb-src http://old-releases.ubuntu.com/ubuntu groovy multiverse
deb http://old-releases.ubuntu.com/ubuntu groovy-updates multiverse
# deb-src http://old-releases.ubuntu.com/ubuntu groovy-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://old-releases.ubuntu.com/ubuntu groovy-backports main restricted universe multiverse
# deb-src http://old-releases.ubuntu.com/ubuntu groovy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu groovy partner
# deb-src http://archive.canonical.com/ubuntu groovy partner

deb http://old-releases.ubuntu.com/ubuntu groovy-security main restricted
# deb-src http://old-releases.ubuntu.com/ubuntu groovy-security main restricted
deb http://old-releases.ubuntu.com/ubuntu groovy-security universe
# deb-src http://old-releases.ubuntu.com/ubuntu groovy-security universe
deb http://old-releases.ubuntu.com/ubuntu groovy-security multiverse
# deb-src http://old-releases.ubuntu.com/ubuntu groovy-security multiverse

Can you please advise how to fix the situation?

Thank you

Last edited by kosta88; 05-18-2022 at 03:11 AM.
 
Old 05-18-2022, 04:43 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,930

Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
how did you try to update/upgrade it at all?
there is a command called do_release_upgrade to do that.
 
Old 05-18-2022, 04:57 AM   #3
kosta88
LQ Newbie
 
Registered: Feb 2021
Posts: 12

Original Poster
Rep: Reputation: Disabled
I actually found a way.
I tried with apt update and upgrade, but also do_release_upgrade, which didn't want to upgrade because it's not a supported upgrade path.
But I found this:
https://wiki.ubuntuusers.de/sources.list/
Replaced everything in the sources.list file with 21.10 entries, and then ran apt update and upgrade. The system upgraded to 21.10 without errors, and then I did do-release-upgrade, which updated to Jammy.
 
1 members found this post helpful.
Old 05-18-2022, 05:05 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,930

Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
yes, you can do it in two steps
Anyway, if you are ready please mark the thread solved.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading to Badger! Can't login anymore after upgrading? BellaSha87 Ubuntu 1 12-03-2005 12:09 PM
upgrading (or not upgrading) glibc richarde Slackware 9 09-12-2005 12:56 AM
Upgrading Kernel from RPM billsabub Linux - Distributions 1 02-17-2001 11:21 AM
upgrading kernel in Redhat ltd Linux - General 3 11-03-2000 11:01 PM
upgrading kernel ltd Linux - General 3 10-01-2000 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration