Red Hat Bugzilla – Bug 497467
RFE: Allow users to select only specific packages when running yum update, at the y/n prompt
Last modified: 2014-01-21 18:09:16 EST
Created attachment 341060 [details]
text file showing how a list could be formatted
Currently, when running something like 'yum update', or 'yum install lots of packages', the only way to then reduce the number of packages being installed is to cancel and re-run the command, being more specific about which packages.
A more user-friendly behaviour could be to allow users to remove some packages from the list when asking if they want to continue (assumes running without "-y")
rum 'yum update'
if there are updates, you will be given a Y/N choice.
enter choice, yum proceeds accordingly
Possible new behaviour:
run 'yum update'
if there are updates, you are given a Y/N/S choice; Yes, No, or Select.
You are provided an indexed list of packages, and their dependencies, and you choose which packages to update, by entering the index number of the appropriate packages.
See attached text file for envisioned output after entering "S" at the prompt, displaying which package created which dependency.
If you want that sort of functionality you can use yumex or use the yum shell interface to determine what you would need and depsolve from there.
Implementing this wouldn't be worth the time it would take and the amount of code it would add.