On Mon, Dec 29, 2003 at 09:18:41PM -0500, Joey Hess wrote:

> Matt Zimmerman wrote:
> > > Adding -o Debug::Acquire::gpgv=yes does not seem to add any additional
> > > debugging info about why it cannot validate my file: repositories.
> > 
> > It should print the gpg command line.  What is it?
> 
> It doesn't print any extra debugging information at all with that parameter.
> But here goes anyway:

That's because I didn't check the parameter before sending it to you.  It's
actually Debug::pkgAcquire::Auth=yes.

> [EMAIL PROTECTED]:~/bin>strace -s 4092 -f apt-get update 2>&1 |grep exec 
> |grep gpg
> [pid 13972] execve("/usr/lib/apt/methods/gpgv", 
> ["/usr/lib/apt/methods/gpgv"], [/* 44 vars */]) = 0
> [pid 13973] execve("/usr/lib/apt/methods/gpgv", 
> ["/usr/lib/apt/methods/gpgv"], [/* 44 vars */]) = 0
> [pid 13974] execve("/usr/bin/gpgv", ["/usr/bin/gpgv", "--status-fd", "3", 
> "--keyring", "/etc/apt/trusted.gpg", 
> "/var/lib/apt/lists/partial/uqm.debian.net_unstable_Release.gpg", 
> "/var/lib/apt/lists/uqm.debian.net_unstable_Release"], [/* 46 vars */] 
> <unfinished ...>
> [pid 13975] execve("/usr/bin/gpgv", ["/usr/bin/gpgv", "--status-fd", "3", 
> "--keyring", "/etc/apt/trusted.gpg", 
> "/var/lib/apt/lists/partial/_home_joey_lib_debian_local_Release.gpg", 
> "/var/lib/apt/lists/_home_joey_lib_debian_local_Release"], [/* 46 vars */]) = > 0

But anyway, it's as I suspected; it's assuming that the Release file has
been copied into Dir::State::Lists, but it isn't copied if it's local.  It
shouldn't be too big of a problem to fix it to verify the file in-place.

-- 
 - mdz

Reply via email to