On Sat, 2004-07-31 at 18:29, Tom Brinkman wrote:

> '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.

many thanks for this, Tom.

certainly one to save.

-- 
pm
___
It is dangerous to be right when the government is wrong.
Voltaire


____________________________________________________
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