aptitude automatically beginning an upgrade without waiting for user consent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptitude (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: aptitude
I have observed this problem in Hardy with the aptitude package manager, but others have reported something similar with apt-get: see discussion at http://
Essentially it seems to come down to aptitude behaving 'as if' the user has pressed the Enter key multiple times, e.g. on occasion when typing 'sudo aptitude update' the output of the update check is followed by about 20 command prompts.
The effect becomes much more serious when it occurs with 'aptitude safe-upgrade' or, even worse, 'full-upgrade', where the 'extra' Enter commands become interpreted as user consent. As a result the upgrades proceed automatically without the user getting their normal chance to confirm.
In the case of full-upgrade in particular this could involve a seriously undesirable alteration to the system taking place without user confirmation.
One possible way to generate this error may be to run 'sudo aptitude update' twice in quick succession in the same command prompt, when new upgrades are available -- and then run safe-update, where the error will manifest.