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

Re: Can apt-get do an "apt-get update"? Broken installs

Frans Pop wrote:
> This is in fact the same as what Martin sees.
> The first error is in fact during apt-setup and thus earlier than Martin 
> mentions:
>   W: GPG error: http://<hostname> etch Release: unknown error running gpgv
>   W: You may want to run apt-get update to correct these problems
> Which explains why running apt-get update does "fix" things.

Aha, I think I have it. apt-setup-verify needs this change:

Index: apt-setup-verify
--- apt-setup-verify	(revision 34779)
+++ apt-setup-verify	(working copy)
@@ -24,6 +24,7 @@
 	echo "$line" > $ROOT$tmp
 	if $chroot $ROOT apt-get -o APT::Get::List-Cleanup=false \
+		-o Acquire::gpgv::Options::=--ignore-time-conflict \
 		-o Dir::Etc::sourcelist=$tmp update
 		rm -f $ROOT$tmp

Could one of you check if this solves the problem? 

(Still not sure why this would make apt re-download Release.gpg later..
maybe it deletes it when it fails to validate.)

see shy jo

Attachment: signature.asc
Description: Digital signature

Reply to: