Sparky changed repos signing

The last update of ‘apt’ package returns with an issue like that:
W: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

It means, signing repos via ‘apt-key’ in the:
file is deprecated now.

How to fix it?
Simply make system upgrade, specially the ‘sparky-apt’ and ‘sparky-apt-unstable’ (if installed) packages of the Sparky 6 & 7:

The fix changes the Sparky repos list to (example):
deb [signed-by=/usr/share/keyrings/sparky.gpg.key] core main
deb-src [signed-by=/usr/share/keyrings/sparky.gpg.key] core main

Make sure it removes your Sparky mirror list if you use it, simply put it back after upgrading is finished.

You can also remove the present ‘sparky.gpg.key’ stored by ‘apt-key’ by the command:
sudo apt-key del C40956B8
and the old ‘sparkylinux.gpg.key’ if still installed:
sudo apt-key del D117204E

To make sure is everything ok, after upgrade, run:
sudo apt update

This upgrade does not change the Sparky repos public key, but only a way of signing repos.

Sparky Wiki pages of Sparky repos have been also updated:

If you find any problem post it at our forums, please.

Leave a Comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Skip to content