Your message dated Mon, 12 Mar 2012 21:49:18 +0000
with message-id <[email protected]>
and subject line Re: Bug#663479: reprepro fails to use gnupghome as option, 
conf file or env variable
has caused the Debian Bug report #663479,
regarding reprepro fails to use gnupghome as option, conf file or env variable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
663479: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663479
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: reprepro
Version: 4.9.0-1+b1
Severity: normal

# GNUPGHOME=/var/lib/ladder/keys reprepro -v -v  -b /var/lib/ladder/azuki export
Exporting swift...
Could not find any key matching '0xA897FD02'!
ERROR: Could not finish exporting 'swift'!
There have been errors!

# reprepro --gnupghome /var/lib/ladder/keys -b /var/lib/ladder/azuki export
Could not find any key matching '0xA897FD02'!
ERROR: Could not finish exporting 'swift'!
There have been errors!

# reprepro -b /var/lib/ladder/azuki export
Could not find any key matching '0xA897FD02'!
ERROR: Could not finish exporting 'swift'!
There have been errors!

# export GNUPGHOME=/var/lib/ladder/keys

# reprepro -b /var/lib/ladder/azuki export
Could not find any key matching '0xA897FD02'!
ERROR: Could not finish exporting 'swift'!
There have been errors!

# gpg --list-secret-keys
/var/lib/ladder/keys/secring.gpg
--------------------------------
sec   1024D/A897FD02 2002-01-27
uid                  Neil Williams (laptop) <[email protected]>
uid                  Neil Williams (Debian) <[email protected]>
ssb   1024g/4D6D2952 2002-01-27

I'm not sure if it is related to having to do this as root (to be able to use
apt to populate this repository in a single process) but unless I add the public
and secret key to /root/.gnupg/, reprepro continually fails to export this
repository.

I've also tried conf/options (which has a surprising syntax of not using
a colon separator, the content which failed to generate a reprepro syntax
error was 'gnupghome /var/lib/ladder/keys' rather than the more typical
'gnupghome: /var/lib/ladder/keys' but once reprepro parsed conf/options,
the key in that location was not deemed available for the export.

I'm going to have to add the key to the /root/.gnupg keyring, parse the
fingerprint and then remove it in batch mode later, which is ugly.

This is for the new 'ladder' package (as per current SVN) to fix #660323.

If this is fixable/fixed, please also consider making a backport of this fix
to squeeze because I will also be backporting ladder once this support is
working.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reprepro depends on:
ii  libarchive12   3.0.3-6
ii  libbz2-1.0     1.0.6-1
ii  libc6          2.13-27
ii  libdb5.1       5.1.29-1
ii  libgpg-error0  1.10-3
ii  libgpgme11     1.2.0-1.4
ii  zlib1g         1:1.2.6.dfsg-2

Versions of packages reprepro recommends:
ii  apt  0.8.15.10

Versions of packages reprepro suggests:
ii  gnupg-agent     2.0.18-2
ii  inoticoming     <none>
ii  lzip            <none>
ii  xz-lzma [lzma]  5.1.1alpha+20110809-3
ii  xz-utils        5.1.1alpha+20110809-3

-- no debconf information



--- End Message ---
--- Begin Message ---
notfound 663479 4.9.0-1
quit

On Mon, 12 Mar 2012 11:51:29 +0100
"Bernhard R. Link" <[email protected]> wrote:

> * Neil Williams <[email protected]> [120311 16:57]:
> > # GNUPGHOME=/var/lib/ladder/keys reprepro -v -v  -b /var/lib/ladder/azuki 
> > export
> > Exporting swift...
> > Could not find any key matching '0xA897FD02'!
> > ERROR: Could not finish exporting 'swift'!
> > There have been errors!
> 
> I cannot reproduce this here (neigther as user nor as root).

It was my fault. Sorry for the noise. I should have spent more time
debugging the problem.

I wasn't being consistent in the paths when including the key. It's
working now.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: pgpDKS37mEL5y.pgp
Description: PGP signature


--- End Message ---

Reply via email to