#884560 apt-get will not take no for an answer

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Alexander Lyons Harkness
Date:
2017-12-16 21:18:03 UTC
Severity:
important
#884560#5
Date:
2017-12-16 21:14:30 UTC
From:
To:
Dear Maintainer,

When using apt-get to upgrade my system today, I reviewed the update summary
and decided to cancel the upgrade (so my graphics drivers would not be
uninstalled). (I had left apt waiting at the prompt for ~5 minutes - might that
have an effect?) However, apt-get continued with the upgrade after I entered 'n'
at the prompt. I attached the summarised terminal output (copied and pasted)
below. I was able to cancel the upgrade with Ctrl-C. I was not immediately
able to reproduce this bug, so I think this is likely an intermittent problem.

 $ sudo apt-get update; sudo apt-get dist-upgrade
 > Get:1 http://ftp.uk.debian.org/debian testing InRelease [142 kB]
 > [...]
 > Fetched 28.2 MB in 25s (1,119 kB/s)
 > Reading package lists... Done
 > Reading package lists... Done
 > Building dependency tree
 > Reading state information... Done
 > Calculating upgrade... Done
 > The following packages were automatically installed and are no longer required:
 > [...]
 > xserver-xorg-video-nvidia xserver-xorg-video-radeon xxd zenity-common
 > 862 upgraded, 75 newly installed, 45 to remove and 1 not upgraded.
 > Need to get 1,636 MB of archives.
 > After this operation, 642 MB of additional disk space will be used.
 > Do you want to continue? [Y/n] n
 > Get:1 http://ftp.uk.debian.org/debian testing/main amd64 libc-l10n all 2.25-3 [844 kB]
 > Get:2 http://ftp.uk.debian.org/debian testing/main amd64 locales all 2.25-3 [3,288 kB]
 > Get:3 http://ftp.uk.debian.org/debian testing/main amd64 libc6 amd64 2.25-3 [2,721 kB]
 > Get:4 http://ftp.uk.debian.org/debian testing/main i386 libc6 i386 2.25-3 [2,501 kB]