Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apt-key is deprecated for key usage on debian and ubuntu #1106

Open
aqueos opened this issue May 12, 2023 · 1 comment
Open

apt-key is deprecated for key usage on debian and ubuntu #1106

aqueos opened this issue May 12, 2023 · 1 comment

Comments

@aqueos
Copy link

aqueos commented May 12, 2023

## Describe the Bug

apt::key use tha apt-key command which is deprecated

https://manpages.debian.org/bullseye/apt/apt-key.8.fr.html

NAME
apt-key - Deprecated APT key management utility

## Expected Behavior

The module should put keys in

/etc/apt/trusted.gpg.d/${name}.gpg

## Steps to Reproduce

Use apt::key in any modern debian and you will got the error:
Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

each time you use apt.

## Environment

  • Version debian 10+, ubuntu 22.04+
  • Platform all the debian familly

Additional Context

as apt-key is deprecated the module should add the keys in /etc/apt/trusted.gpg.d
and not anymore use the debian deprecated utility apt-key.

best regards,
Ghislain.

@kenyon
Copy link

kenyon commented May 12, 2023

Duplicates #1034.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants