The officially official Devuan Forum!

You are not logged in.

#1 2025-12-22 06:56:13

Dutch_Master
Member
Registered: 2018-05-31
Posts: 316  

Removing obsolete keyrings

Over time, upgrades to Devuan have increasingly becoming more annoying as errors come up, either in aptitude or synaptic. The 2 main culprits are old Devuan keyring archives: devuan-keyring-2022-archive.asc and devuan-keyring-2016-archive.asc Neither show up in package management tools. Both error out with "unsupported file type" or similarly named. So, how to get rid of these? Is there a tool to do so ('cuz I didn't find any sad )

Online

#2 2025-12-22 08:10:14

RedGreen925
Member
Registered: 2024-12-07
Posts: 286  

Re: Removing obsolete keyrings

sudo rm /etc/apt/keyrings/keyring-2022-archive.asc
sudo rm /etc/apt/keyrings/keyring-2016-archive.asc

Used in a Terminal if in old location if in the new then /usr/share/keyrings/ could be the location to remove them from.

Online

#3 2025-12-22 09:25:29

Dutch_Master
Member
Registered: 2018-05-31
Posts: 316  

Re: Removing obsolete keyrings

Thx for that reply. Won't these keys need to be de-registered? (they're found in /etc/apt btw)

Online

#4 2025-12-22 11:21:15

rolfie
Member
Registered: 2017-11-25
Posts: 1,402  

Re: Removing obsolete keyrings

You simply remove them. There is no de-registering required.

Online

#5 2025-12-22 11:36:51

Altoid
Member
Registered: 2017-05-07
Posts: 1,977  

Re: Removing obsolete keyrings

Hello:

I run an up to date Devuan Daedalus:

$ uname -a
Linux devuan 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64 GNU/Linux
$ 

I have all these keys as well as those prevously posted:

$ ls -1 /etc/apt/trusted.gpg.d
debian-archive-bookworm-automatic.asc
debian-archive-bookworm-security-automatic.asc
debian-archive-bookworm-stable.asc
debian-archive-bullseye-automatic.asc
debian-archive-bullseye-security-automatic.asc
debian-archive-bullseye-stable.asc
debian-archive-trixie-automatic.asc
debian-archive-trixie-security-automatic.asc
debian-archive-trixie-stable.asc
devuan-keyring-2016-archive.gpg
devuan-keyring-2022-archive.gpg
devuan-keyring-amprolla-2022-archive.gpg
devuan-keyring-daedalus-archive.gpg
devuan-keyring-excalibur-archive.gpg
$ 

Only times I have had an issue with apt it was due to some round-robin malfunction.
Just a question of waiting 15' and trying again.

Now ...
rm on devuan-keyring-2016-archive.gpg and devuan-keyring-2022-archive.gpg screws up apt update.
So it would seem that they are current and needed.

Should they be replaced?
ie: because of the 2022 and 2016 dating?

No idea how all this works.
I'd appreciate a heads up.

Best,

A.

Offline

#6 2025-12-22 11:56:56

Dutch_Master
Member
Registered: 2018-05-31
Posts: 316  

Re: Removing obsolete keyrings

I have now removed both keyring archives mentioned in my OP, but left all others in that directory. So far, apt/aptitude/synaptic is not complaining (yes, also updated Devuan Stable on my system)

Online

#7 2025-12-22 12:59:39

Altoid
Member
Registered: 2017-05-07
Posts: 1,977  

Re: Removing obsolete keyrings

Hello:

Dutch_Master wrote:

... also updated Devuan Stable on my system.

Ahh ...
Therein lies the difference.

ie:
Devuan [stable] is now Excalibur, released 2025-11-02.
As a consequence, Daedalus is now [oldstable].

Thanks for your input.

Best,

A.

Offline

#8 2025-12-22 17:01:36

RedGreen925
Member
Registered: 2024-12-07
Posts: 286  

Re: Removing obsolete keyrings

The keys you want to remove can be backed up to some other location then if needed again they can be copied back into the keyring directory.

Online

Board footer