OK. A favour for a favour, ( I hope? )
# rpm -qa
Thats the command, now what do I add to the end of it to successfully pipe it to a text file?
Regards
Frank
Big or small, a challenge requires the same commitment to resolve.
Registered Linux User # 324213
Hoyt Bailey wrote:
On Friday 30 July 2004 18:03, Charlie Mahan wrote:
On July 30, 2004 15:57:03, Hoyt Bailey wrote:Sorry I couldnt find it when I first looked but after going back I found 2.
On Friday 30 July 2004 14:30, Charlie Mahan wrote:
On July 30, 2004 12:44:12, Lanman wrote:Perhaps you mean '/var/cache/urpmi/rpms'?
To: Our Gang;
Is there a command that will provide me with a detailed package list of all installed rpms? Since doing the install on my system, I've added, updated and removed quite a few of them, and I'd like to create a repository of the packages that are currently installed.
That way, I can re-install them from a local source if I have to recover from a cooker install of 10.1. I know that I have a package list from my original install, but I'm looking for an updated list.
Is it possible to extract the list from the RPM database? ideas? suggestions?
TIA
Lanman
/var/log/rpmpkgs should show you what you want.
It's plain text so it may just be easier than all the grepping and diffing. <GRIN>
Charlie
Or perhaps not Hoyt. That's where the packages go before they're installed but unless you use a no-clean or keep flag that directory gets emptied after all transactions are finished.
The file that I posted about is where everything that has been installed is listed.
Charlie
------------------------------------------------------------------------
____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
