SparkyLinux Forums

Installation & Upgrade => System upgrading => Topic started by: AxL on December 04, 2024, 02:50:05 PM

Title: [SOLVED] - Public key, Keyring and Signatures issues
Post by: AxL on December 04, 2024, 02:50:05 PM


(https://i.imgur.com/bDtcOwK.gif)  This image clearly shows what the problem is:



(https://i.imgur.com/FjrYjRr.png)






Cheers !!  (https://i.imgur.com/emjz0.gif)



Title: Re: Public key, Keyring and Signatures issues
Post by: pavroo on December 04, 2024, 04:31:32 PM
Did you add the sparky gpg key to any other Debin or Ubuntu based distro?
Or is it a Sparky iso installation?
Title: Re: Public key, Keyring and Signatures issues
Post by: AxL on December 04, 2024, 05:34:17 PM
Quote from: pavroo on December 04, 2024, 04:31:32 PMDid you add the sparky gpg key to any other Debin or Ubuntu based distro?

Obviously not. (https://i.imgur.com/Lu1NYbU.gif)


 Please check the apt 2.9.16 changelog:


(https://i.imgur.com/u5jYkfl.png)


Quote from: pavroo on December 04, 2024, 04:31:32 PM[....]    Or is it a Sparky iso installation?

SparkyLinux, has been installed for more than two years:

(https://i.imgur.com/f1w7ykn.png)









Cheers !!  (https://i.imgur.com/emjz0.gif)


Title: Re: Public key, Keyring and Signatures issues
Post by: AxL on December 04, 2024, 05:41:47 PM



(https://i.imgur.com/CxmH9Us.png)



See also:

 #1088656 - apt: Regression with keyrings not ending in .gpg/.asc - Debian Bug report logs





Title: Re: Public key, Keyring and Signatures issues
Post by: MoroS on December 04, 2024, 07:30:39 PM
We'll need repackage the keys. With recent APT updates, the custom keyring files in /usr/share/keyrings are deprecated.

I did a small test:
sudo cp /usr/share/keyrings/sparky.gpg.key /etc/apt/trusted.gpg.d/sparky-linux.asc
Copied the file to the new, requested location and APT updates normally. It's just a test though - our packages should handle placing the keys in the new location. If you need to update, the above is the workaround.

It will give you a warning though while the old /usr/share/keyrings.sparky.gpg.key is there.
Title: Re: Public key, Keyring and Signatures issues
Post by: pavroo on December 04, 2024, 08:43:09 PM
Manually fixed, as MoroS suggested:

https://sparkylinux.org/sparky-gpg-key-issue-on-testing/

Packages sparky-apt and sparky-keyring 20241204 fix that too (on testing ONLY).

Sparky stable 7 and oldstable 6 are fine.
Title: Re: Public key, Keyring and Signatures issues
Post by: AxL on December 04, 2024, 10:51:21 PM
Quote from: MoroS on December 04, 2024, 07:30:39 PMWe'll need repackage the keys. With recent APT updates, the custom keyring files in /usr/share/keyrings are deprecated.

I did a small test:
sudo cp /usr/share/keyrings/sparky.gpg.key /etc/apt/trusted.gpg.d/sparky-linux.asc
Copied the file to the new, requested location and APT updates normally. It's just a test though - our packages should handle placing the keys in the new location. If you need to update, the above is the workaround.

It will give you a warning though while the old /usr/share/keyrings.sparky.gpg.key is there.


Well, thanks a lot, MoroS

And, my most sincere congratulations for solving this problem. As you describe yourself under your nick, you are a real 'Problem solver'   (https://i.imgur.com/qZur36x.gif)

With so many shitty morons around. It is a real pleasure to find solvent and competent people.









Cheers !! (https://i.imgbox.com/TkbBuT0I.gif)




Title: Re: Public key, Keyring and Signatures issues
Post by: AxL on December 04, 2024, 10:57:48 PM
Quote from: pavroo on December 04, 2024, 08:43:09 PMManually fixed, as MoroS suggested:

https://sparkylinux.org/sparky-gpg-key-issue-on-testing/

Packages sparky-apt and sparky-keyring 20241204 fix that too (on testing ONLY).

[....]



Thanks, for the info. (https://i.imgur.com/uZvkZOF.gif)