Yes, you need replacement for sure (sorry for not making this clear, the one from 2016
is just some obsolete key, not useful any more):
Grateful for the clarification, @Quarnero! I really appreciate you taking the time and effort to walk me through this.
I just tried this…
sudo dpkg --install pureos-archive-keyring_2021.11.0_all.deb
but got this…
dpkg: error: cannot access archive 'pureos-archive-keyring_2021.11.0_all.deb': No such file or directory
Was I supposed to run all of the additional commands? I.e., downloading the related package, and:
cd Downloads
sudo dpkg --install pureos-archive-keyring_2021.11.0_all.deb
sudo apt update
sudo apt upgrade
Thanks!
Yes. dpkg works on a deb file you already have.
Thanks! But now please read (study) carefully:
Ok, I downloaded pureos-archive-keyring_2021.11.0_all.deb
.
Then, proceeded with cd Downloads
and…
~/Downloads$ sudo dpkg --install pureos-archive-keyring_2021.11.0_all.deb (Reading database ... 265712 files and directories currently installed.) Preparing to unpack pureos-archive-keyring_2021.11.0_all.deb ... Unpacking pureos-archive-keyring (2021.11.0) over (2021.11.0) ... Setting up pureos-archive-keyring (2021.11.0) ...
Is that correct? It seems stuck at “Setting up…” ???
And, when I run sudo apt-key list
, the new key isn’t listed and the old one is still there. I also tried installing it via Software & Updates, but got this popup…
Should I try removing the old key via Software & Updates?
Might help:
sudo apt purge pureos-archive-keyring
And afterwards:
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.
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?
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.
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.
~$ 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.).
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.
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.
Ok, I will try this later tonight and report back tomorrow.
Thanks again, @Quarnero, for your kind, patient and detailed help!