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

trusted.gpg.d is deprecated #354

Open
HertzDevil opened this issue Feb 18, 2025 · 1 comment
Open

trusted.gpg.d is deprecated #354

HertzDevil opened this issue Feb 18, 2025 · 1 comment
Labels

Comments

@HertzDevil
Copy link

From Apt 2.9.24's release notes:

/etc/apt/trusted.gpg is no longer trusted. Setting the Dir::Etc::trusted
option manually continues to work for some more time.

sources.list(5) entries without the Signed-By field are deprecated;
migrate any legacy entries to the deb822 .sources format. See the
apt-secure(7) manual page for best practices for signer configuration.
This deprecates the /etc/apt/trusted.gpg.d directory.

This affects install.sh:

wget -qO- https://download.opensuse.org/repositories/${OBS_PROJECT//:/:\/}/${DISTRO_REPO}/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/devel_languages_crystal.gpg > /dev/null
echo "deb http://download.opensuse.org/repositories/${OBS_PROJECT//:/:\/}/${DISTRO_REPO}/ /" | tee /etc/apt/sources.list.d/crystal.list

Running apt modernize-sources gives:

Modernizing /etc/apt/sources.list.d/crystal.list...

# Would write to: /etc/apt/sources.list.d/crystal.sources
Types: deb
URIs: http://download.opensuse.org/repositories/devel:languages:crystal/Debian_Unstable/
Suites: /
Components: 
Signed-By: 
Warning: Could not determine Signed-By for URIs: http://download.opensuse.org/repositories/devel:languages:crystal/Debian_Unstable/, Suites: /
@straight-shoota
Copy link
Member

This seems to affect Debian Unstable and Testing, probably also similar versions of other DEB-based distros. It's only a deprecation though, so nothing is broken (yet).

Maybe we can wait for updated default instructions from OBS and adapt them accordingly.

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

No branches or pull requests

2 participants