Bug#884560: Reproduction attempts
Hi!
The cause of this ticket may be similar to #1082956 (fix in
https://salsa.debian.org/apt-team/apt/-/commit/a44bd300f006b74c09a74aff419b43912e114e0c).
With the following reproduction setup:
- install Debian Buster,
- install apt 1.5 rc4 deb packages compiled from sources (I needed to
downgrade dpkg and dash too),
- change "buster" to "bullseye" in /etc/apt/sources.list,
- change locale per information from ticket (localectl set-locale
LANG=en_GB.utf8),
- apply apt config from ticket (save to /etc/apt/apt.conf),
- dpkg --add-architecture i386
I ran the following actions from the ticket ~30 times:
- run "sudo apt-get update; sudo apt-get dist-upgrade"
- when prompted with "Do you want to continue? [Y/n]", press 'n'
without any reproduction of the problem.
Then I noticed recent changes in implementation of YnPrompt() (see the
commit), which led me to modify the actions:
- run "sudo apt-get update; sudo apt-get dist-upgrade"
- while apt downloads information about packages, press 'y',
- when prompted with "Do you want to continue? [Y/n]", press 'n'
- observe that apt starts downloading packages.
After I applied changed from the commit mentioned above, I was unable to
reproduce the behaviour using the modified set of actions.
It's possible that in reporter's case some key was pressed while apt
downloaded packages' meta info. The downloading took 25 seconds (that's
stated in the ticket), so some key may have been accidentally pressed
during that time.
Kamil
Reply to: