apt-key should not be used in scripts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-keyring (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Got that comment while upgrading ubuntu-keyring:
Setting up ubuntu-keyring (2016.09.01) ...
Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package ubuntu-keyring)
Warning: 'apt-key update' is deprecated and should not be used anymore!
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: ubuntu-keyring 2016.09.01
ProcVersionSign
Uname: Linux 4.8.0-5-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Sep 1 21:42:35 2016
PackageArchitec
SourcePackage: ubuntu-keyring
UpgradeStatus: No upgrade log present (probably fresh install)
This bug was fixed in the package ubuntu-keyring - 2016.09.19
---------------
ubuntu-keyring (2016.09.19) yakkety; urgency=medium
* Ship each active key in a separate keyring in /etc/apt/ trusted. gpg.d/ trusted. gpg as they are shipped
as conffiles for simpler usage of apt-secure(8).
* Remove all active keys from /etc/apt/
now as fragment files.
* Depend on gpgv and only recommend gnupg.
* Stop calling apt-key update LP: #1619444
* Generate SHA512SUMS.txt.asc file, signed by me, and verified against
debian-keyring at build time as a weak consistency check.
-- Dimitri John Ledkov <email address hidden> Fri, 16 Sep 2016 14:36:10 +0100