You are not logged in.

#1 2020-02-16 22:07

Tomsonas
Member
From: localhost
Registered: 2019-12-13
Posts: 44
Website

Upgrading Q4OS from Centaurus to Gemini

Is that possible? And how? I'd like to see the new stuff without reinstalling everything and have the latest version of Q4OS.

Offline

#2 2020-02-17 13:47

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,223
Website

Re: Upgrading Q4OS from Centaurus to Gemini

We don't recommend that. You should also keep in mind Gemini is a testing release, so some even critical issues could arise.

If you would still determine to upgrade, you need to add Q4OS Gemini repositories, see below, and follow Debian Buster -> Bullseye upgrade directions.

deb http://q4os.org/q4repo q4os-4-0-cn main
deb http://q4os.org/qtderepo bullseye main

Offline

#3 2020-02-17 14:25

Tomsonas
Member
From: localhost
Registered: 2019-12-13
Posts: 44
Website

Re: Upgrading Q4OS from Centaurus to Gemini

q4osteam wrote:

We don't recommend that. You should also keep in mind Gemini is a testing release, so some even critical issues could arise.

If you would still determine to upgrade, you need to add Q4OS Gemini repositories, see below, and follow Debian Buster -> Bullseye upgrade directions.

deb http://q4os.org/q4repo q4os-4-0-cn main
deb http://q4os.org/qtderepo bullseye main

And which repositories do I need to replace?

Offline

#4 2020-02-17 15:25

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,223
Website

Re: Upgrading Q4OS from Centaurus to Gemini

You can leave Q4OS repositories as they are, and in addition add these mentioned above. Optionally you could remove "deb http://q4os.org/qtderepo buster main", no side effect should occur. Anyway, keep "deb http://q4os.org/q4repo q4os-3-0-cn main".

Subsequently you need to perform Debian Buster -> Bullseye upgrade, so replace all repositories of Debian: buster -> bullseye. Nonetheless, we provide no support for that.

Offline

#5 2020-02-17 15:34

Tomsonas
Member
From: localhost
Registered: 2019-12-13
Posts: 44
Website

Re: Upgrading Q4OS from Centaurus to Gemini

q4osteam wrote:

You can leave Q4OS repositories as they are, and in addition add these mentioned above. Optionally you could remove "deb http://q4os.org/qtderepo buster main", no side effect should occur. Anyway, keep "deb http://q4os.org/q4repo q4os-3-0-cn main".

Subsequently you need to perform Debian Buster -> Bullseye upgrade, so replace all repositories of Debian: buster -> bullseye. Nonetheless, we don't provide a support for that.

And which files I will need to edit in /etc/apt/sources.list.d? Would it be fine too if I install Gemini on VirtualBox, copy all repositories and place the way they are configured there?

Last edited by Tomsonas (2020-02-17 15:40)

Offline

#6 2020-02-17 15:40

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,223
Website

Re: Upgrading Q4OS from Centaurus to Gemini

10_q4os.list
12_qtde.list
20_debian.list

maybe: 30_debian_backports.list

Offline

#7 2020-02-17 15:41

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,223
Website

Re: Upgrading Q4OS from Centaurus to Gemini

Tomsonas wrote:

Would it be fine too if I install Gemini on VirtualBox, copy all repositories and place the way they are configured there?

Yes, you can just replace the old ".list" files.

Offline

#8 2021-11-04 16:11

bernhard
Member
From: Maisach, Germany
Registered: 2018-08-16
Posts: 44

Re: Upgrading Q4OS from Centaurus to Gemini

now that Gemini is stable and released, is there a viable way to upgrade from Centaurus to Gemini without a  complete reinstall? 

Anything to be taken into account besides the general tips on buster -> bullseye upgrades (e.g.: https://ostechnix.com/upgrade-to-debian … 0-buster/)

Offline

#9 2021-11-18 12:07

andrehgdias
Member
Registered: 2021-11-18
Posts: 1

Re: Upgrading Q4OS from Centaurus to Gemini

I'd love to know that too, q4os is the only distro that worked well on my laptop, and the fact that they let us choose other desktop environments at install is just a minor detail that adds a lot. Right now my distro is fully customized I'd hate to lose everything. I'm kinda newbie so upgrading the os without reinstallation would be awesome.

Offline

#10 2021-12-04 20:41

DAC324
Member
Registered: 2019-03-06
Posts: 9

Re: Upgrading Q4OS from Centaurus to Gemini

q4osteam wrote:

You can leave Q4OS repositories as they are, and in addition add these mentioned above. Optionally you could remove "deb q4os.org/qtderepo buster main", no side effect should occur. Anyway, keep "deb q4os.org/q4repo q4os-3-0-cn main".

Subsequently you need to perform Debian Buster -> Bullseye upgrade, so replace all repositories of Debian: buster -> bullseye. Nonetheless, we provide no support for that.

Did you test that?

I get

E: The repository 'security.debian.org/debian-security bullseye/updates Release' does not have 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.

When I comment out 'security.debian.org/debian-security bullseye/updates Release', I subsequently get

E: This installation run will require temporarily removing the essential package q4os-desktop:amd64 due to a Conflicts/Pre-Depends loop. This is often bad, but if you really want to do it, activate the APT::Force-LoopBreak option.
E: Internal Error, Could not early remove q4os-desktop:amd64 (2)

Offline

#11 2021-12-07 14:38

rаluma
Member
Registered: 2021-12-07
Posts: 16

Re: Upgrading Q4OS from Centaurus to Gemini

An attempt to update stretch-gemini ended with the message "stop at the need to temporarily remove q4os-desktop and suggest setting the APT :: Force-LoopBreak parameter".
The command "apt-get update && apt-get dist-upgrade -o APT :: Force-LoopBreak = 1" ends up the same.

For a secure solution (saving all your settings and documents), you need the / home folder to be on a separate disk partition.
We simply perform a manual installation of the new distribution, while specifying to format only the swap and /.
We get a "clean" one, without garbage in the var, tmp, etc. directories. operating system.
In my case DE (TDE) has the same versions of the old OS and the new one. All desktop settings remain unchanged.

Offline

#12 2021-12-07 23:06

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: Upgrading Q4OS from Centaurus to Gemini

rаluma wrote:

An attempt to update stretch-gemini ended with the message "stop at the need to temporarily remove q4os-desktop and suggest setting the APT :: Force-LoopBreak parameter".
The command "apt-get update && apt-get dist-upgrade -o APT :: Force-LoopBreak = 1" ends up the same.

For a secure solution (saving all your settings and documents), you need the / home folder to be on a separate disk partition.
We simply perform a manual installation of the new distribution, while specifying to format only the swap and /.
We get a "clean" one, without garbage in the var, tmp, etc. directories. operating system.
In my case DE (TDE) has the same versions of the old OS and the new one. All desktop settings remain unchanged.

Stretch-Gemini? Hmmm ... As far as I know, Q4OS Scorpion was based on Stretch/Debian 9. Centaurus was on Buster/Debian 10. And now Gemini is on  Bullseye/Debian 11. I'm no expert, but I think a fresh install might work better in this case.

Offline

#13 2021-12-08 09:33

rаluma
Member
Registered: 2021-12-07
Posts: 16

Re: Upgrading Q4OS from Centaurus to Gemini

Tolkem wrote:

Stretch-Gemini? Hmmm ... As far as I know, Q4OS Scorpion was based on Stretch/Debian 9. Centaurus was on Buster/Debian 10. And now Gemini is on  Bullseye/Debian 11. I'm no expert, but I think a fresh install might work better in this case.

You are correct, in my experience the new setup works better. Moreover, sometimes the old user's desktop settings do not quite match the new DE version after the update, well, the old garbage remains.

Trying to upgrade the Stretch-Gemini is just an experience, nothing more. The error with looping on "APT :: Force-LoopBreak parameter" was previously in Debian, as now, I don't know.

Updating, instead of installing a new distribution, was relevant in the old days. Today, these procedures take approximately the same amount of time.

But once again I want to emphasize - it is necessary to separate the user's home directory from the OS itself, to select a separate disk partition for the first one.

PS. You once reminded me correctly, my recipe is for users who understand what they are doing, considering the need for manual disk partitioning. smile

Last edited by rаluma (2021-12-08 09:41)

Offline

#14 2021-12-08 12:58

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: Upgrading Q4OS from Centaurus to Gemini

DAC324 wrote:
q4osteam wrote:

You can leave Q4OS repositories as they are, and in addition add these mentioned above. Optionally you could remove "deb q4os.org/qtderepo buster main", no side effect should occur. Anyway, keep "deb q4os.org/q4repo q4os-3-0-cn main".

Subsequently you need to perform Debian Buster -> Bullseye upgrade, so replace all repositories of Debian: buster -> bullseye. Nonetheless, we provide no support for that.

Did you test that?

I get

E: The repository 'security.debian.org/debian-security bullseye/updates Release' does not have 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.

When I comment out 'security.debian.org/debian-security bullseye/updates Release', I subsequently get

E: This installation run will require temporarily removing the essential package q4os-desktop:amd64 due to a Conflicts/Pre-Depends loop. This is often bad, but if you really want to do it, activate the APT::Force-LoopBreak option.
E: Internal Error, Could not early remove q4os-desktop:amd64 (2)

Please, be aware those instructions are more than a year old(17-02-2020), and by that time Bullseye was still "Testing", now you need to probably use "Stable" in that line, instead of "Bullseye", also, Gemini is Q4OS 4, so you could replace "deb http://q4os.org/q4repo q4os-3-0-cn main" for "deb http://q4os.org/q4repo q4os-4-0-cn main". I haven't tried that, as I've been running Gemini from the very beginning, but I think it might work. However, you might still get some warning messages like the ones you already have, thus you need to be prepared; back up your system and manually  install some pkgs that might get removed after the upgrade process has been completed.

Offline

#15 2021-12-11 22:52

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: Upgrading Q4OS from Centaurus to Gemini

Offline

Board footer

Powered by FluxBB