On Saturday 31 July 2004 04:39 am, Lanman wrote:
> > The reason I made the suggestion was because I couldnt find
> > rpmpkgs. �I just looked again and found 2 of them. �Sorry if
> > I caused any difficulty.
>
> No problems here Hoyt. I'm still on the trail of that file
> though. If you were to launch the software remover in MCC or
> KDE's Kpackage, you would see the list of currently-installed
> packages. That's the list that I'm after but I'm after the
> actual list.
>
> MCC's rpm remover and Kpackage both access a database or two of
> installed packages, and generate the list that you see inside
> of themselves based on that database. I just can't find the
> database. Once I do, I can start harassing the list about how
> to extract the list from that database.
>
> Fun, Huh?
>
> Lanman
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.
--
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
____________________________________________________