raspbian-archive-keyring: apt-key should not be used in scripts
Bug #1727874 reported by
Alistair Buxton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
New
|
Undecided
|
Unassigned |
Bug Description
When running dpkg --configure -a:
Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package raspbian-
Currently it does:
apt-key add /usr/share/
Instead the package should just ship the keyring in /etc/apt/
To post a comment you must log in.
Moreover apt-key should not be used at all since it has been deprecated with newest APT and will be removed in Q2/2022. I agree with Alistair that the key should be shipped within the effective directory /etc/apt/ trusted. gpg.d/raspbian- archive- keyring. gpg directly, like the raspberrypi.org and Debian keyring packages do.
For reference: /metadata. ftp-master. debian. org/changelogs/ /main/a/ apt/apt_ 2.1.11_ changelog /github. com/RPi- Distro/ pi-gen/ issues/ 460
- https:/
- https:/