Offline for a few years... update needed!

Ok, done… but not certain that it worked!

~$ sudo apt purge pureos-archive-keyring
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
pureos-archive-keyring* pureos-desktop* pureos-gnome* pureos-minimal* pureos-standard*
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 57.3 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 265711 files and directories currently installed.)
Removing pureos-desktop (0.9.4) ...
Removing pureos-gnome (0.9.4) ...
Removing pureos-standard (0.9.4) ...
Removing pureos-minimal (0.9.4) ...
Removing pureos-archive-keyring (2021.11.0) ...

Odd. Doesn’t that last line indicate that the new key had been installed correctly after all?
However, when I check `apt-key list’ as well as Software & Updates again, they both still list keys that have been removed or purged and not the freshly installed one. :confused:

Ploughing ahead in case the new key did actually replace the old one, I tried sudo apt update, but got the same errors as before. I.e., Certificate verification failed.... does not have a Release file.... Updating from such a repository can't be done securely, and is therefore disabled by default.

Should I just try the temporarily “switch https to http” workaround in Post#16 now?

1 Like

I’d like to know what is output of: apt list pureos-archive-keyring?

And please install removed packages back:
sudo apt install pureos-desktop pureos-gnome pureos-standard pureos-minimal

I’m not sure if you are using https, you should use https.

Yes, please. Take the PureOS GNOME image from yesterday.

EDIT: @rootapoottoot, I also see that you are having a lot of packages installed over there (probably including local ones) Please follow this post and put packages.list file aside (including all other backups as @Caliga kindly recommended here) right away, and certainly before you reformat your current drive (if not replacing it with the brand new one), as described here: New Post: App Showcase: Backups. Also, please do not expect that all (especially obsolete) packages will get back and expect that you’ll need to remove “few” packages, by editing this file within gedit, saving it as new one, and retrying to restore what possible, in order to restore packages that are still available within byzantium repo.

1 Like

Thanks for the tip!

I just tried to backup my home directory and got an avalanche of these:
Operation not permitted
cp: cannot create hard link
Operation not permitted
cp: cannot create symbolic link
Invalid argument
cp: cannot create regular file

So, I’m assuming it failed… quite a few times. :frowning:

~$ apt list pureos-archive-keyring
Listing... Done
pureos-archive-keyring/now 2021.11.0 all [installed,local]

~$ sudo apt install pureos-desktop pureos-gnome pureos-standard pureos-minimal
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pureos-desktop
E: Unable to locate package pureos-gnome
E: Unable to locate package pureos-standard
E: Unable to locate package pureos-minimal

Yes, as far as I know, I am using https.

Is it sudo apt update working there now? sudo apt update needs to go through without any errors.

This post should help some further: Been awhile - looking for help updating distro.

Alas, no, I’m still getting the same errors as before… Certificate verification failed… does not have a Release file… Updating from such a repository can’t be done securely, and is
therefore disabled by default.

That’s why I thought maybe switching temporarily to http (as per Dwaff and irvinewade’s advice) might work.

Or should I change my sources.list file from amber to byzantium now?

I still think that the brand new install of PureOS Byzantium is the way to go with (no doubt for several reasons). You are trying to bridge two generations (versions) of PureOS through some simple way and at the same time using it on top of quite unsafe distro (it is not safe any more, old Linux Kernel, etc.).

1 Like

sudo apt full-upgrade

Yes, I agree.
I’ve had that Plan B on the backburner while trying to sort out and learn all of the things you’ve helped me with in my attempt to flow nicely from green to amber to byzantium. :slight_smile:
So… as I mentioned to Caliga in Post#29, I tried backing up my home directory, but it appears to have failed rather royally.

1 Like

Please select your main folders and not the whole /home partition (or user directory). Select (copy over) just Documents, Downloads, and other important folders.

1 Like

Wow, thanks for digging that up from my original post!

~$ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

But it’s still clinging to the PureOS 8 details…
~$ cat /etc/*-release

Your current PureOS installation is not at the moment connected to the and therefore this easy output. Without that sudo apt update works flawlessly there is no positive move to anything. Afterwards, it is to expect that other issues will pop up there as well. I’m just not sure if you will be able to catch PureOS train again.

Ok, I will try this later tonight and report back tomorrow.
Thanks again, @Quarnero, for your kind, patient and detailed help!

1 Like

Just downloaded it now! :slight_smile:

Egads, “a lot”? I don’t know what all they might be! To the best of my memory, I’ve only added about a dozen or so applications and a couple of add-ons.

[quote=“Quarnero, post:29, topic:17645”]
put packages.list file aside (including all other backups as @Caliga kindly recommended here) right away[/quote]

Sorry, you lost me here. How do I put packages.list file aside?

I read that post. Thanks! You specified aptitude though, and I don’t seem to have that on my system.

Thanks for the forewarning. Yes, I figured that’d be the case!

Copy them to a USB drive or other suitable location because if you reformat or reinstall, you’ll lose them.

You can use apt.

My two cents: sounds like you’re prepping to wipe your phone and start over anyway. Once you’re done backing things up, try Dwaff’s suggestion and see if you can get the certificates to do your upgrade. Afterward we’ll either know that A) it worked and you can upgrade from ancient to current, or B) it failed and reinstallation is the answer.

Yes, I understand that I have to copy my important data to an external USB drive prior to the clean install.
What I don’t know is if the packages.list Quarnero referred to is a file (like the sources.list) or a folder containing all packages or…?
Could you please tell me what the command would be to do this?
Sorry if this is a dumdum question!

Actually a Librem15 laptop, not a phone. :slight_smile:

Do you mean this?

Thanks, @Gavaudan!

From this post mentioned earlier:

Yes. Then when you’re done, put the s back.


I just went over that post again to try to get a grasp of it, and it looks/sounds very complicated. :confounded:
Do I just enter this command verbatim into Terminal? What will it do?
dpkg --get-selections | awk '!/deinstall|purge|hold/ {print $1}' > /home/purism/201230pkg.list

Sorry, I don’t understand the following…
Now someone can edit this pkg.list (.list) file and remove or add whatever preferred in order **to** or **not to** (re)install/restore very same packages again with:
xargs -a "201230pkg.list" apt-get install
xargs -a "201230pkg.list" aptitude install --without-recommends

I suspect that I won’t want to edit the package.list. So, I’ll likely not need either of those two commands. I simply wish to be able to put everything that I’ve copied back in their proper places after the (hopefuly successful) Byzantium installation… with the understanding that some might not work anymore due to obsolescence.

Yes. Basically, its a command for dpkg to get all the software you have installed, then pipe that list into awk which will clean it up and output the resultant list into a file named 201230pkg.list in the /home/purism directory. If your username isn’t “purism” than change it to what yours actually is.

You can edit the pkg list if you find things you want that aren’t in the list or don’t want that are in the list. Then you can use the “xargs…” line to install everything in the list, say on a newly installed system.