~$ 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.
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?
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.
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
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.).
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.
So… as I mentioned to Caliga in Post#29, I tried backing up my home directory, but it appears to have failed rather royally.
Please select your main folders and not the whole /home partition (or user directory). Select (copy over) just Documents, Downloads, and other important folders.
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 DISTRIB_ID=PureOS DISTRIB_RELEASE=8 DISTRIB_CODENAME=green DISTRIB_DESCRIPTION="PureOS GNU/Linux 8" ID=pureos NAME=PureOS PRETTY_NAME=PureOS VERSION_ID=8 VERSION_CODENAME=green HOME_URL="https://pureos.net/" SUPPORT_URL="https://puri.sm/faq/#faq-pureosandsoftware" BUG_REPORT_URL="https://tracker.pureos.net/"
Your current PureOS installation is not at the moment connected to the https://repo.puri.sm/ 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.
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!
I just went over that post again to try to get a grasp of it, and it looks/sounds very complicated.
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
or 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.