Package: gpgsm
Version: 2.0.18-2
Severity: normal

Two problems:

Really create such a CSR?
 [1] yes
 [2] no
Your selection: 1
You selected: yes
gpgsm: error creating keybox `/root/.gnupg/pubring.kbx': No such file or 
directory
gpgsm: you may want to start the gpg-agent first
gpgsm: keyblock resource `/root/.gnupg/pubring.kbx': No such file or directory
=> Please check for this file before asking all these questions.

This code section:
    [ -n "$DNS_ADDRESSES" ] && echo "$DNS_ADDRESSES"
    [ -n "$URI_ADDRESSES" ] && echo "$URI_ADDRESSES"
    ) > "$file_parameter"
causes the whole script to exit prematurely when URI_ADDRESSES is empty. This 
is because the last command's exit code propagates out of the sub-shell, and 
the main shell has -e set. Add "true" in front of the closing parenthesis to 
fix that:
    [ -n "$DNS_ADDRESSES" ] && echo "$DNS_ADDRESSES"
    [ -n "$URI_ADDRESSES" ] && echo "$URI_ADDRESSES"
    true
    ) > "$file_parameter"

NB: The second error message, above, seems to say that adding gnupg-agent to 
the package's Recommends: would make a whole lot of sense.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing'), (650, 'unstable'), (600, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gpgsm depends on:
ii  libassuan0     2.0.2-1
ii  libbz2-1.0     1.0.6-1
ii  libc6          2.13-24
ii  libgcrypt11    1.5.0-3
ii  libgpg-error0  1.10-2
ii  libksba8       1.2.0-2
ii  libreadline6   6.2-8
ii  scdaemon       2.0.18-2
ii  zlib1g         1:1.2.3.4.dfsg-3

gpgsm recommends no packages.

gpgsm suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to