on first run, gpg2 fails to find default settings file

Bug #657897 reported by dn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnupg2 (Debian)
Fix Released
Unknown
gnupg2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gnupg2

On a fresh install, with no ~/.gnupg directory, gpg2 fails to create the configuration file with the default settings because it's looking in the wrong directory for the file 'gpg-conf.skel':

$ gpg2 --recv-key 16126D3A3E5C1192
gpg: directory `/home/user/.gnupg' created
gpg: can't open `/usr/share/gnupg/gpg-conf.skel': No such file or directory
gpg: keyring `/home/user/.gnupg/secring.gpg' created
gpg: keyring `/home/user/.gnupg/pubring.gpg' created
gpg: no keyserver known (use option --keyserver)
gpg: keyserver receive failed: Syntax error in URI

$ ls /usr/share/gnupg/
options.skel
$ ls /usr/share/gnupg2/*.skel
gpg-conf.skel

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gnupg2 2.0.14-1.1ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Sun Oct 10 16:26:16 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate amd64 (20100928)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnupg2

Revision history for this message
dn (nobled) wrote :
Changed in gnupg2 (Debian):
status: Unknown → New
Changed in gnupg2 (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.