[Yum-devel] [Idea] Yum "groups"

Seth Vidal skvidal at fedoraproject.org
Fri Jun 29 13:41:41 UTC 2012




On Tue, 26 Jun 2012, roeglobal at insicuri wrote:

> Hello. So recently I had to install "Deluge" on GNOME (CentOS 6.2 CentosPlus 
> O.S.) from sources and have had a nightmare trying to resolve all the 
> dependencies, at last I quit trying to install it as I could not figure out 
> how to start the daemon, anyways, the point is, for some of the dependencies 
> and packages I used various rpm's and tarballs and for others I used yum, 
> now, this idea came to me:
>
> $> cat ideas
> When installing with yum (`yum install <packet>') you should specify a group 
> you have created (`yum groupcreate <name>') in which the specified packets 
> will be installed.
> This is to be done in case you only need specific packets (and dependencies) 
> installed for one application but in the end it fails or you want to quit 
> installing it from sources.
> The group will aid you in having all the installed packets and dependencies 
> over there (just the names of the packets and dependencies) so you can `yum 
> removegroup <group name>'
> which will prompt you if you want to remove all the packets dependencies or 
> you can `yum removegroup <group name> <packets and dependencies>' to remove 
> various packets and dependencies
> after you have listed them with  `yum grouplist <group name>'.
>
> The packets and dependencies will still install as usual only that they will 
> receive a 'tag' or 'ticket' that will make them belong to a certain group, 
> where you have them arranged
> and specified so it comes easier for you to search and remove/update/whatever 
> certain packages and dependency files.
>
>
> What do you (developers) say about this? Any advice if there is something 
> similar to this? Any quick tip to remove all the dependencies I installed 
> since last 30 minutes? Except the .bash_history file, haha!
>

Hi,
  Have you looked at the commands:

yum history list

and

yum history undo <transaction id>



those seem like what you want.

-sv



More information about the Yum-devel mailing list