[Bug 1004225] Re: dramatic combination of apt-get and bash completion
nesthib
1004225 at bugs.launchpad.net
Sun Jun 3 15:43:07 UTC 2012
** Package changed: ubuntu => bash-completion (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/1004225
Title:
dramatic combination of apt-get and bash completion
Status in “bash-completion” package in Ubuntu:
New
Bug description:
I don't know what to blame between apt-get, bash completion and
myself… I'm reporting this as a bug but it can also be seen as an open
question.
I wanted to install a python related package but was missing the exact
name when I was about to type it, thus I tried completion to list the
names of python packages:
sudo apt-get install python-[tab]
which nicely produces the list of python-* packages
scrolling the list a bit too far (using [enter]) it launched the command:
sudo apt-get install python-
resulting in the removal of python and a few hundreds of other
packages depending on python.
I know it's mostly based on a human mistake (I should have thought
about the package name before…), but the result is pretty dramatic and
I wonder if something could be done to prevent this?
Maybe scrolling in completion shouldn't use [enter] but arrows or
[space]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1004225/+subscriptions
More information about the foundations-bugs
mailing list