[Bug 1605861] Re: apt-key output should not be parsed (stdout is not a terminal)
era
1605861 at bugs.launchpad.net
Fri Mar 16 07:56:47 UTC 2018
apt-key was changed in Debian Stretch to warn when you attempt to do
something like
apt-key add <file >/dev/null
or the equivalent pipeline. The manual page says
COMMANDS
add filename
(...)
Note: Instead of using this command a keyring should be placed
directly in the /etc/apt/trusted.gpg.d/ directory with a descriptive name
and either "gpg" or "asc" as file extension.
So, the right thing to do is to copy the file to the right path instead of
calling apt-key add with it.
^ I got the above snippet from the very tangentially related
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851774
** Bug watch added: Debian Bug tracker #851774
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851774
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1605861
Title:
apt-key output should not be parsed (stdout is not a terminal)
Status in software-properties package in Ubuntu:
Confirmed
Bug description:
Got that warning logged after registering two ppas and updating them:
com.ubuntu.SoftwareProperties[2113]: gpg: keyring `/tmp/tmp58u008j4/secring.gpg' created
com.ubuntu.SoftwareProperties[2113]: gpg: keyring `/tmp/tmp58u008j4/pubring.gpg' created
com.ubuntu.SoftwareProperties[2113]: gpg: requesting key F59EAE4D from hkp server keyserver.ubuntu.com
com.ubuntu.SoftwareProperties[2113]: gpg: /tmp/tmp58u008j4/trustdb.gpg: trustdb created
com.ubuntu.SoftwareProperties[2113]: gpg: key F59EAE4D: public key "Launchpad PPA for NoobsLab" imported
com.ubuntu.SoftwareProperties[2113]: gpg: no ultimately trusted keys found
com.ubuntu.SoftwareProperties[2113]: gpg: Total number processed: 1
com.ubuntu.SoftwareProperties[2113]: gpg: imported: 1 (RSA: 1)
com.ubuntu.SoftwareProperties[2113]: Warning: apt-key output should not be parsed (stdout is not a terminal)
com.ubuntu.SoftwareProperties[2113]: OK
com.ubuntu.SoftwareProperties[2113]: gpg: keyring `/tmp/tmpjwlat63e/secring.gpg' created
com.ubuntu.SoftwareProperties[2113]: gpg: keyring `/tmp/tmpjwlat63e/pubring.gpg' created
com.ubuntu.SoftwareProperties[2113]: gpg: requesting key E2D0EBE9 from hkp server keyserver.ubuntu.com
com.ubuntu.SoftwareProperties[2113]: gpg: /tmp/tmpjwlat63e/trustdb.gpg: trustdb created
com.ubuntu.SoftwareProperties[2113]: gpg: key E2D0EBE9: public key "Launchpad PPA for RAVEfinity Project" imported
com.ubuntu.SoftwareProperties[2113]: gpg: Total number processed: 1
com.ubuntu.SoftwareProperties[2113]: gpg: imported: 1 (RSA: 1)
com.ubuntu.SoftwareProperties[2113]: Warning: apt-key output should not be parsed (stdout is not a terminal)
com.ubuntu.SoftwareProperties[2113]: OK
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: software-properties-gtk 0.96.24.1
ProcVersionSignature: Ubuntu 4.6.0-9.11-generic 4.6.4
Uname: Linux 4.6.0-9-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
ApportVersion: 2.20.2-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME
Date: Sat Jul 23 13:37:35 2016
PackageArchitecture: all
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1605861/+subscriptions
More information about the foundations-bugs
mailing list