Bug#929836: apt: export/exportall commands apparently useless if not parsable
Package: apt
Version: 1.8.2
Severity: minor
Dear Maintainer,
I have a script that runs "apt-key exportall" for backup-reasons. The
command diverts output to a file, and now outputs the following warning:
Warning: apt-key output should not be parsed (stdout is not a terminal)
That begs the question what export/exportall are meant for - their output
is clearly NOT human-readable but computer-parsable. If the output
is not meant to be parsed (presumably by computer program), and not
human-readable, do they have a purpose at all?
-- System Information:
Debian Release: 10.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 'stable-debug'), (500, 'unstable'), (500, 'stable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32
Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages apt depends on:
ii adduser 3.118
ii debian-archive-keyring 2019.1
ii gpgv 2.2.12-1
ii libapt-pkg5.0 1.8.2
ii libc6 2.28-10
ii libgcc1 1:8.3.0-6
ii libgnutls30 3.6.7-3
ii libseccomp2 2.3.3-4
ii libstdc++6 8.3.0-6
Versions of packages apt recommends:
ii ca-certificates 20190110
Versions of packages apt suggests:
pn apt-doc <none>
ii aptitude 0.8.11-7
ii dpkg-dev 1.19.6
ii gnupg 2.2.12-1
ii gnupg2 2.2.12-1
ii powermgmt-base 1.34
ii synaptic 0.84.6
-- no debconf information
Reply to: