]> git.saurik.com Git - apt.git/blobdiff - debian/apt.postinst
send "dpkg-exec" message on the status fd when dpkg is run
[apt.git] / debian / apt.postinst
index df0433057f1dba4c0c87737214f2ab75a570c9ac..88fb932dfed5628494fd8efdb2b8b945755b12ff 100644 (file)
@@ -17,9 +17,11 @@ case "$1" in
     configure)
 
         if ! test -f /etc/apt/trusted.gpg; then
-                cp /usr/share/apt/ubuntu-archive.gpg /etc/apt/trusted.gpg
+                cp /usr/share/apt/debian-archive.gpg /etc/apt/trusted.gpg
         fi
 
+       apt-key update
+
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)