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

version graph

Package: apt; Maintainer for apt is APT Development Team <[email protected]>; Source for apt is src:apt (PTS, buildd, popcon).

Reported by: [email protected]

Date: Fri, 5 Jan 2007 01:18:01 UTC

Severity: normal

Found in version apt/0.6.46.4

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], APT Development Team <[email protected]>:
Bug#405621; Package apt. (full text, mbox, link).


Acknowledgement sent to [email protected]:
New Bug report received and forwarded. Copy sent to APT Development Team <[email protected]>. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: [email protected]
To: Debian Bug Tracking System <[email protected]>
Subject: apt-get update fails with "gpgv unknown error" when system date is too old
Date: Fri, 5 Jan 2007 01:42:46 +0100
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



Information forwarded to [email protected], APT Development Team <[email protected]>:
Bug#405621; Package apt. (full text, mbox, link).


Acknowledgement sent to "Karl O. Pinc" <[email protected]>:
Extra info received and forwarded to list. Copy sent to APT Development Team <[email protected]>. (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: "Karl O. Pinc" <[email protected]>
To: [email protected]
Subject: I too wasted a lot of time becuase of this
Date: Wed, 03 Sep 2008 20:22:19 -0500
I too wasted a lot of time becuase of this.

My install was successful (4.0r4), but attempting
aptitude update
aptitude upgrade
I got warnings about untrusted packages.

It took at least 2 hours to notice the system
time was bad.

Some thing, somewhere, knows that the problem
is that the creation date of the key is in the
future.  It would have saved a lot of hassle if
both update and upgrade had a more informative
error message.

Thank you.


Karl <[email protected]>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein




Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Sun Sep 22 07:24:42 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.