From: David Kalnischkies Date: Mon, 12 Aug 2013 15:26:54 +0000 (+0200) Subject: do not call 'apt-key update' in apt.postinst X-Git-Tag: 0.9.10~1 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/ec9272975f454d3911e61e5cc3b29fe90fe2ee54?hp=-c do not call 'apt-key update' in apt.postinst The debian-archive-keyring package ships trusted.gpg.d fragment files for a while now and dropped their call to 'apt-key update', so there is no need for use to call it as the keys will always be available. This also finally allows a user to remove key(ring)s without APT to overriding this decision by readding them with this step. The functionality is kept around in the odd case that an old debian-archive-keyring package is used which still calls 'apt-key update' and depends on the import (hence, we also do not enforce a newer version of the debian-archive-keyring via our dependencies) --- ec9272975f454d3911e61e5cc3b29fe90fe2ee54 diff --git a/debian/apt.postinst b/debian/apt.postinst index caa05ccdf..70de237d0 100644 --- a/debian/apt.postinst +++ b/debian/apt.postinst @@ -25,7 +25,6 @@ case "$1" in rm -f $SECRING fi fi - apt-key update # ensure tighter permissons on the logs, see LP: #975199 if dpkg --compare-versions "$2" lt-nl 0.9.7.7; then