From 2ce23a2ae5d85565603038cbeae59219d36b0aea Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 13 Feb 2008 15:50:24 +0100 Subject: [PATCH] * debian/apt.cron.daily: - add apt-key net-update to the nightly cron job --- debian/apt.cron.daily | 3 +++ debian/changelog | 2 ++ 2 files changed, 5 insertions(+) diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily index c4124981a..d1ee08a5c 100644 --- a/debian/apt.cron.daily +++ b/debian/apt.cron.daily @@ -182,6 +182,9 @@ fi UPDATE_STAMP=/var/lib/apt/periodic/update-stamp if check_stamp $UPDATE_STAMP $UpdateInterval; then + # check for a new archive signing key (against the master keyring) + apt-key net-update + # now run the update if apt-get -qq update -o APT::Update::Auth-Failure::="cp /usr/share/apt/apt-auth-failure.note /var/lib/update-notifier/user.d/" 2>/dev/null; then # Could possible test access to '/var/run/dbus/system_bus_socket' has well, # but I'm not sure how stable the internal pipe location is defined as diff --git a/debian/changelog b/debian/changelog index c71695fd1..12b6d6306 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,8 @@ apt (0.7.9ubuntu10) hardy; urgency=low ubuntu-archive-keyring.gpg and add keys from it that are signed by the ubuntu-master-keyring.gpg (apt-archive-key-signatures spec) + * debian/apt.cron.daily: + - add apt-key net-update to the nightly cron job -- -- 2.45.2