Bug#792100: sbuild-update --keygen fails if /root/.gnupg didn't exist before

2015-07-11 Thread Johannes Schauer
Source: sbuild Version: 0.65.2-1 Severity: normal Hi, when running `sbuild-update --keygen` on a fresh system I get: $ sudo sbuild-update --keygen Generating archive key. gpg: keyblock resource `/root/.gnupg/secring.gpg': file open error gpg: keyblock resource `/root/.gnupg/pubring.gpg': file

Bug#792100: sbuild-update --keygen fails if /root/.gnupg didn't exist before

2015-07-11 Thread Johannes Schauer
Control: tag -1 + patch Hi, On Sat, 11 Jul 2015 11:43:03 +0200 Johannes Schauer jo...@debian.org wrote: The fix is to just run `sudo mkdir /root/.gnupg` before running `sbuild-update --keygen`. Ideally, sbuild-update would run that mkdir command itself. and here comes a patch! Thanks!