On Thu, Dec 18, 2003 at 11:09:06AM +0530, Rahul Kumar wrote:
> (relating to my /var/lib/rpm problem, I also tried rpmdb --initdb and
> --rebuilddb but no luck. Is reinstalling the only way?)

I have never been in this situation, so cannot say this will work or not ;-)

Have your Redhat CDs dumped into HDD somewhere, and then:

cd /path/to/rpms/folder
rpm --initdb
rpm -ivh --justdb $( cat /var/log/rpmpkgs )

Ought to work, assuming you have all the RPMS from the three CDs in
your /path/to/rpms/folder.

If it fails, save the output and post here.

Binand

-- 
Linux - It is now safe to power ON your computer.


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to