Bug#989496: apt-listchanges: Error output if choosing to not continue after reading list of changes
Package: apt-listchanges
Version: 3.24
Severity: normal
X-Debbugs-Cc: tia3100@protonmail.com
Dear Maintainer,
After reading list of changes decided not to upgrade, so chose 'n' when
asked. As such apt-listchanges aborted as it should, only issue is that
after that it would output error message
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
apt-listchanges: Do you want to continue? [Y/n] n
apt-listchanges: Aborting
E: Sub-process /usr/bin/apt-listchanges --apt || test $? -lt 10 returned an error code (1)
E: Failure running script /usr/bin/apt-listchanges --apt || test $? -lt 10
There is no issues in functionality after that if run again.
-- Package-specific info:
==> /etc/apt/listchanges.conf <==
[apt]
frontend=pager
which=both
email_address=root
email_format=text
confirm=true
headers=true
reverse=false
save_seen=/var/lib/apt/listchanges.db
-- System Information:
Debian Release: 11.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-7-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages apt-listchanges depends on:
ii apt 2.2.3
ii debconf [debconf-2.0] 1.5.75
ii python3 3.9.2-3
ii python3-apt 2.2.0
ii python3-debconf 1.5.75
ii sensible-utils 0.0.14
ii ucf 3.0043
apt-listchanges recommends no packages.
Versions of packages apt-listchanges suggests:
ii exim4-daemon-light [mail-transport-agent] 4.94.2-5
ii firefox-esr [www-browser] 78.10.0esr-1
ii konqueror [www-browser] 4:20.12.0-4
ii konsole [x-terminal-emulator] 4:20.12.3-1
ii python3-gi 3.38.0-2
ii termit [x-terminal-emulator] 3.1-1
ii xterm [x-terminal-emulator] 366-1
-- debconf information:
apt-listchanges/save-seen: true
apt-listchanges/no-network: false
apt-listchanges/frontend: pager
apt-listchanges/headers: false
apt-listchanges/reverse: false
apt-listchanges/confirm: false
apt-listchanges/email-address: root
apt-listchanges/email-format: text
apt-listchanges/which: news
Reply to: