On Saturday 31 July 2004 01:05 pm, Dennis Duffner wrote:
> >     Would this do what you want?
> >
> >'rpm --rebuilddb'    (as root, to make sure it's current)
> >
> >'rpm -qa | grep -i mdk > mkd_rpms.txt' (txt file of all
> > currently installed Mandrake rpms) 'rpm -qa | grep -i plf >
> > plf_rpms.txt'  (same for PLF)
> >
> >'cat mkd_rpms.txt plf_rpms.txt > all_rpms.txt'
> >
> >       That should give you a list of all currently installed
> > rpms. I usually do it for PLF only, so I've got a list to go
> > by after a fresh install to replace PLF packages.  If you've
> > got others, like Charles' 'cae' rpms, just add that step into
> > the mix.
> >
> >BTW I use an alias to save typing (alias frpm='rpm -qa | grep
> > -i') so just 'frpm plf > plf_rpms.txt' does the deal.

    Well, partner .... share the script with the list :)   Yeah, 
shortly after I hit send it occurred to me that adding 'sort' 
would make the result more useful. .... or there was a more 
elegant way to to this chore.

    Maybe newbie can show 'expert' and 'cooker' a useful tool ;)
-- 
      Tom Brinkman                 Corpus Christi, Texas
               Proud to be an American

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to