-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Rahul" == Rahul Kumar <[EMAIL PROTECTED]> writes:
Rahul> Recently i managed to lose my /var/lib/rpm (RH7.1). now i
Rahul> am trying to install an rpm but get errors since the entire
Rahul> database is wiped out. i tried the following: rpm --initdb
Rahul> rpm --rebuilddb (some empty files created) then i tried the
Rahul> following: rpm -iv --justdb glibc* filesystem* setup*
Rahul> With the above i got into a loop of dependencies, some
Rahul> which i dont know how to satisfy. What is the way out ???
Rahul> Do i have to reinstall ?
Reinstall all the rpms that you had from the distribution media. One
slow way of figuring out which ones would be:
find / -print0 | xargs -0 rpm -qf 2>/dev/null > /tmp/RPMS
sort -u -o /tmp/RPMS /tmp/RPMS
Now /tmp/RPMS will contain the list of all the RPMS you have installed
on your system.
Regards,
- -- Raju
- --
Raj Mathur [EMAIL PROTECTED] http://kandalaya.org/
GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F
It is the mind that moves
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard <http://www.gnupg.org/>
iD8DBQE/zDAFyWjQ78xo0X8RAo/aAJ9IgsxNNzMY0BFXMtMuY9jbtVlgTwCglYZH
ROCKMM8ivZJVmnlZ5s+MF3A=
=vgiP
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help