apt-add-repository fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
$ sudo apt-add-repository ppa:maas-
gpg: keyring `/tmp/tmpf0nr53
gpg: keyring `/tmp/tmpf0nr53
gpg: requesting key 93EE8CC5 from hkp server keyserver.
gpg: fatal: /home/ubuntu/
secmem usage: 1408/1408 bytes in 2/2 blocks of pool 1408/32768
If I do create .gnupg for it, then:
$ sudo apt-add-repository ppa:maas-
gpg: keyring `/tmp/tmp54k44x
gpg: keyring `/tmp/tmp54k44x
gpg: requesting key 93EE8CC5 from hkp server keyserver.
gpg: /home/ubuntu/
gpg: key 93EE8CC5: public key "Launchpad PPA for MaaS Maintainers" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
gpg: keyring `/home/
OK
but
a.) its still noisy
b.) I now have root owned files in my .gnupg directory:
$ ls -l .gnupg/
total 4
-rw------- 1 root root 0 Oct 2 17:08 secring.gpg
-rw------- 1 root root 1200 Oct 2 17:08 trustdb.gpg
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: software-
ProcVersionSign
Uname: Linux 3.5.0-16-generic x86_64
ApportVersion: 2.6.1-0ubuntu1
Architecture: amd64
Date: Tue Oct 2 17:10:44 2012
Ec2AMI: ami-00000159
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: m1.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
PackageArchitec
ProcEnviron:
TERM=screen
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- No reviews requested
Looks to me like it's not setting --homedir to tmp_keyring_dir like other GPG calls do.