More > JRiver Media Center 28 for Linux
apt Warning: Gpg -Key deprecated
(1/1)
geier22:
(debian Testing/ apt 2.4.0)
apt update brings the following message:
--- Code: ---W: http://dist.jriver.com/latest/mediacenter/dists/buster/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
--- End code ---
the manual says the following:
--- Quote ---If your existing use of apt-key add looks like this:
--- Code: --- wget -qO- https://myrepo.example/myrepo.asc | sudo apt-key add -
--- End code ---
Then you can directly replace this with (though note the recommendation below):
--- Code: --- wget -qO- https://myrepo.example/myrepo.asc | sudo tee /etc/apt/trusted.gpg.d/myrepo.asc
--- End code ---
Make sure to use the "asc" extension for ASCII armored keys and the "gpg" extension for the binary OpenPGP
format (also known as "GPG key public ring"). The binary OpenPGP format works for all apt versions, while the
ASCII armored format works for apt version >= 1.4.
--- End quote ---
When I run this, I'm not sure what the correct name of the term myrepo.asc is
apt-key list gives me the following:
--- Code: ---apt-key list
pub rsa2048 2014-04-17 [SC]
AFCA BAC2 C6F1 6C0E 1F2D 9707 C30B 25C6 0777 65D5
uid [ unknown ] superid <superid@jriver.com>
sub rsa2048 2014-04-17 [E]
--- End code ---
Would that be correct?
--- Code: ---wget -qO "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" tee /etc/apt/trusted.gpg.d/XXXX??
--- End code ---
I would be grateful for a hint
geier22:
nobody has an idea?
apt-key is deprecated and should be corrected in the manual. Please refer:
https://yabb.jriver.com/interact/index.php/topic,129852.msg900830.html#msg900830
I only care about the name of the key file in etc/apt/trusted.gpg.d/.
I think the name is important
BryanC:
It doesn't matter what the filename is:
--- Code: ---wget -qO- "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" | sudo tee /etc/apt/trusted.gpg.d/jriver.asc
--- End code ---
geier22:
Thanks
The extension *.asc was the solution.
the jriver.com.gpg.key made me think it was a gpg key.
Therefore, error messages came up in various attempts.
Navigation
[0] Message Index
Go to full version