Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#5364 closed defect (fixed)

gnupg-2.0.25: "rejected by import filter" and no "man gpg"

Reported by: Fernando de Oliveira Owned by: Fernando de Oliveira
Priority: normal Milestone: 7.6
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

First problem:

$ env LC_ALL=C gpg --recv-keys 32F8119D
gpg: requesting key 32F8119D from hkp server keys.gnupg.net
gpg: key 54265E8C: rejected by import filter
gpg: Total number processed: 1

Second (minor) problem:

$ man gpg
No manual entry for gpg

Second problem fix proposed:

ln -svf gpg2.1 /usr/share/man/man1/gpg.1

First problem has been around intermittently, recent hit being in gnupg-2.0.24. Found references, but usually for "gpg --refresh-keys", and apparently solved in this case.

I am going to try:

https://raw.githubusercontent.com/GPGTools/MacGPG2/517a05d757ea3396a2e94beb6b4b12b1c5bfd510/Formula/Patches/gnupg2/import-filter.patch

Change History (6)

comment:1 by Fernando de Oliveira, 10 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

OK. Problems seem fixed.

comment:2 by bdubbs@…, 10 years ago

I suggest leaving the man page alone. I have a /usr/bin/gpg2, but no /usr/bin/gpg.

comment:3 by Armin K, 10 years ago

For second problem, I propose the following:

for f in gpg gpgv
do
    ln -sfv ${f}2 /usr/bin/${f}
    ln -sfv ${f}2.1 /usr/share/man/man1/${f}.1
done
unset f

Of course, you'd need to modify current symlink creation of gpg and gpgv.

comment:4 by Fernando de Oliveira, 10 years ago

Resolution: fixed
Status: assignedclosed

Accepted Bruce's suggestion.

However, better might be as Armin suggested, but moving down, before optional documentation:

Optionally, compatibility symlinks with the first version of GnuPG
can be added (as root):

for f in gpg gpgv
...
done
unset f

If you created alternate formats...

Then, one entry from Command Explanations could be deleted.

Fixed at r13897.

comment:5 by Fernando de Oliveira, 10 years ago

Type: enhancementdefect

comment:6 by Fernando de Oliveira, 10 years ago

I have one doubt:

Is there any reason to keep the compatibility links creaton just after make install. Because I wanted to include them as described above, optional.

Note: See TracTickets for help on using tickets.