Shalrath <[EMAIL PROTECTED]> writes:
> Another <crackpot=on> idea is rpm meta-packaging. ie, have an empty rpm
> which just has masses of dependencies to other packages.
> examples:
> c-development.meta.rpm
> kde-desktop.meta.rpm
> gnome-office.meta.rpm
> cd-burning-tools.meta.rpm
> games-arcade.meta.rpm
i kindoff like that idea...
>
> it would make removal of software easier too.. the kde|gnome fanatics would
> love this feature. hehe (rpm -e gnome-desktop kde-desktop Ahhh)
well, try
"urpme kdelibs" to remove kde
"urpme gnome-libs" to remove gnome
works nicely, and today!
>
> If you were handed a workstation that was missing some stuff that you needed
> (c development perhaps) then you could grab one of these meta packages, and
> have it install everything related to it. It would beat the hell out of
> manually comparing the cooker RPMS list to 'rpm -q foo' several thousand
> times.
This one is more difficult: do you remove all the dependencies? because "rpm -e
c-development" won't do anything (at least what you would like)
"rpm -e $(rpm -qR c-development)" will fail because of dependencies
for i in $(rpm -qR c-development); do rpm -e $i 2>/dev/null; done rpm -e c-development
may suits better?...