Skip to content

trusted.gpg.d is deprecated #354

@HertzDevil

Description

@HertzDevil

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: /

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions