[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#405621: apt-get update fails with "gpgv unknown error" when system date is too old



Package: apt
Version: 0.6.46.4
Severity: normal

apt-get update fails with "gpgv unknown error" when system date is too
old

I tried to install etch on a system with a bad date (something like
2000-01-05 10:23) and losed a lot of time before figuring that the
aptitude (and apt-get) error was caused by that bad date.

The message below come when executing 
"$ sudo aptitude -o Debug::Acquire::gpgv=true update"

  Prendre : 1 http://ftp2.fr.debian.org etch Release.gpg [378B]
  Atteint http://ftp2.fr.debian.org etch Release
  inside VerifyGetSigners
  gpgv path: /usr/bin/gpgv
  Keyring path: /etc/apt/trusted.gpg
  Preparing to exec: /usr/bin/gpgv /usr/bin/gpgv --status-fd 3 --keyring /etc/apt/trusted.gpg /var/lib/apt/lists/partial/ftp2.fr.debian.org_debian_dists_etch_Release.gpg /var/lib/apt/lists/ftp2.fr.debian.org_debian_dists_etch_Release
  Read: [GNUPG:] ERRSIG 010908312D230C5F 17 2 00 1167941288 40
  Read: [GNUPG:] ERRSIG A70DAF536070D3A1 17 2 00 1167941288 40
  gpgv exited
  Err http://ftp2.fr.debian.org etch Release
    
  Prendre : 2 http://ftp2.fr.debian.org etch Release [74,4kB]
  inside VerifyGetSigners
  gpgv path: /usr/bin/gpgv
  Keyring path: /etc/apt/trusted.gpg
  Preparing to exec: /usr/bin/gpgv /usr/bin/gpgv --status-fd 3 --keyring /etc/apt/trusted.gpg /var/lib/apt/lists/partial/ftp2.fr.debian.org_debian_dists_etch_Release.gpg /var/lib/apt/lists/ftp2.fr.debian.org_debian_dists_etch_Release
  Read: [GNUPG:] ERRSIG 010908312D230C5F 17 2 00 1167941288 40
  Read: [GNUPG:] ERRSIG A70DAF536070D3A1 17 2 00 1167941288 40
  gpgv exited
  Ign http://ftp2.fr.debian.org etch Release
  Atteint http://ftp2.fr.debian.org etch/main Packages/DiffIndex
  Atteint http://ftp2.fr.debian.org etch/main Sources/DiffIndex
   74,8ko téléchargés en 1s (50,4ko/s)
  Lecture des listes de paquets...
  Construction de l'arbre des dépendances...
  Lecture de l'information d'état étendu...
  Initialisation de l'état des paquets...
  Lecture des descriptions de tâches...
  Construction de la base de données des étiquettes...
  W: GPG error: http://ftp2.fr.debian.org etch Release: Erreur inconnue à l'exécution de gpgv
  W: Vous pouvez lancer « apt-get update » pour corriger ces problèmes.
  W: Vous devriez mettre à jour la liste des paquets pour corriger ces fichiers manquants.


Not a really useful message I think.

Thanks anyway for apt which is really great.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

# 
# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 CD Binary-1 20070101-09:25]/ etch contrib main

#deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 CD Binary-1 20070101-09:25]/ etch contrib main

deb http://ftp2.fr.debian.org/debian/ etch main
deb-src http://ftp2.fr.debian.org/debian/ etch main

#deb http://security.debian.org/ etch/updates main contrib
#deb-src http://security.debian.org/ etch/updates main contrib

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-k7
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages apt depends on:
ii  debian-archive-keyring       2006.11.22  GnuPG archive keys of the Debian a
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libgcc1                      1:4.1.1-19  GCC support library
ii  libstdc++6                   4.1.1-19    The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information



Reply to: