apt-get remove default should not be Y.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: apt
In Feisty when removing unwanted packages, apt-get asks for confirmation (Y/n) and then proceeds to remove even if the response is not Y. In this case I just hit carriage return. The confirmation should fail unless Y is provided. This is currently as designed, but it makes it easy to accidentally approve the removal. Default should be N so it takes typing a key to remove stuff from your system. Someone who can do so should set this to importance wishlist.
$ sudo apt-get remove bind9
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
bind9
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 807kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 132838 files and directories currently installed.)
Removing bind9 ...
* Stopping domain name service... bind
Changed in apt: | |
status: | Unconfirmed → Confirmed |
the Y is typed in Capital, this means this is the default option when you hit carriage return
when you use a translated version of Ubuntu it shows 'J/n' for example
and will continue on a y/Y/j/J or just carriage return
I believe this is a feature