Bug#1069114: apt installs package without confirmation
Package: apt
Version: 2.9.1
Severity: important
X-Debbugs-Cc: wesley@schwengle.net
Dear Maintainer,
Testing the new apt UI with freeplane showed a rather interesting bug. Apt will
now install a package without confirmation if all the deps are met.
I triggered this like so:
apt install freeplane # shows confirmation y/n
apt remove freeplane # shows confirmation y/n
apt install freeplane # doesn't ask for confirmation and just starts installing
See https://asciinema.org/a/3KX3A1hshGiHL0qx42QFsMJQ5 for the behavior in
action.
-- Package-specific info:
-- (/etc/apt/preferences present, but not submitted) --
-- (/etc/apt/preferences.d/buster present, but not submitted) --
-- (/etc/apt/preferences.d/chrome present, but not submitted) --
-- (/etc/apt/preferences.d/docker-ce present, but not submitted) --
-- (/etc/apt/preferences.d/firewalld present, but not submitted) --
-- (/etc/apt/preferences.d/kernel present, but not submitted) --
-- (/etc/apt/preferences.d/libssl present, but not submitted) --
-- (/etc/apt/preferences.d/mozilla present, but not submitted) --
-- (/etc/apt/preferences.d/nodejs present, but not submitted) --
-- (/etc/apt/preferences.d/oldstable present, but not submitted) --
-- (/etc/apt/preferences.d/steam present, but not submitted) --
-- (/etc/apt/sources.list present, but not submitted) --
-- (/etc/apt/sources.list.d/docker.sources present, but not submitted) --
-- (/etc/apt/sources.list.d/endpoint-verification.sources present, but not submitted) --
-- (/etc/apt/sources.list.d/google-chrome.sources present, but not submitted) --
-- (/etc/apt/sources.list.d/mozilla.sources present, but not submitted) --
-- (/etc/apt/sources.list.d/nodesource.sources present, but not submitted) --
-- (/etc/apt/sources.list.d/signal-xenial.sources present, but not submitted) --
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'testing'), (100, 'experimental'), (10, 'stable-updates'), (10, 'stable-security'), (10, 'oldstable-security'), (10, 'oldoldstable'), (10, 'stable'), (10, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.7.9-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.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 depends on:
ii adduser 3.137
ii base-passwd 3.6.3
ii debian-archive-keyring 2023.4
ii gpgv 2.2.40-3
ii libapt-pkg6.0t64 2.9.1
ii libc6 2.37-17
ii libgcc-s1 14-20240330-1
ii libgnutls30t64 3.8.5-2
ii libseccomp2 2.5.5-1
ii libstdc++6 14-20240330-1
ii libsystemd0 255.4-1+b1
Versions of packages apt recommends:
ii ca-certificates 20240203
Versions of packages apt suggests:
ii apt-doc 2.9.1
ii aptitude 0.8.13-6
ii dpkg-dev 1.22.6
ii gnupg 2.2.40-3
ii powermgmt-base 1.37
-- debconf-show failed
Reply to: