← Back to team overview

touch-packages team mailing list archive

[Bug 1541925] Re: Tries to create temp files under ~/.gnupg but doesn't create the dir

 

** Changed in: gnupg
       Status: Unknown => New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gnupg in Ubuntu.
https://bugs.launchpad.net/bugs/1541925

Title:
  Tries to create temp files under ~/.gnupg but doesn't create the dir

Status in GnuPG:
  New
Status in gnupg package in Ubuntu:
  New

Bug description:
  That's a regression since the 1.4.20 update which impacts the
  software-properties tests [1]

  the error is
  "test_add_gpg_key (tests.test_dbus.TestDBus) ... gpg: failed to create temporary file `/home/ubuntu/.gnupg/.#lk0x21044c0.adt.7314': No such file or directory"

  the command called is 
  "/usr/bin/gpg --no-options --no-default-keyring --no-auto-check-trustdb --trust-model always --keyring /build/software-properties-0.96.17/tests/aptroot/etc/apt/trusted.gpg --secret-keyring /tmp/tmpohq9ksnp/secring.gpg --quiet --batch --import /build/software-properties-0.96.17/tests/data/testkey.gpg"

  which fails if there is no .gnupg directory

  [1]
  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
  /autopkgtest-xenial/xenial/amd64/s/software-
  properties/20160203_235320@/log.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnupg/+bug/1541925/+subscriptions


References