When APT complains about security.debian.org

September 16, 2008

Shortly after responding to Jonathan Groll on the CLUG’s mailing list about BADSIG errors. I’ve had the pleasure of experiencing it again.

pants:~$ sudo aptitude update
[...]
W: GPG error: http://security.debian.org lenny/updates Release: The following signatures were invalid: BADSIG A70DAF536070D3A1 Debian Archive Automatic Signing Key (4.0/etch)
W: You may want to run apt-get update to correct these problems

I often have to remind myself to use Acquire::http::No-Cache=True when my machines are behind a SAIX proxy.

pants:~$ sudo aptitude -o Acquire::http::No-Cache=True update
[...]
it http://security.debian.org lenny/updates/non-free Sources
Fetched 14B in 12s (1B/s)
Reading package lists... Done

I should probably just put the below code in my apt.conf or in a file in apt.conf.d to safe me from future occurrences.

Acquire
{
  http
  {
    No-Cache "true";
  };
};

Leave a Reply