:~>> > And then in that insane moment i typed rpm -e rpm - which removes the
:~>> > old version and left nothing to rpm the new rpm....
:~>> > (one moment of silent for such a stupid move ;-) )
:~>> >
:~>Useless. When you erased rpm, the database seems to have been erased
:~>too. So there's no rpm information on your disk anymore. You are to
:~>reinstall your rpm in order to get back the database and not to have
:~>dependancies problem when installing new rpm.
:~>Or if you know what is on your HD, just use rpm --nodeps when the only
:~>failed dependancies are related to something which is already on your
:~>disk.
ajajaj... If you know which packages are on your disk, then just save
"/etc" (and wherever else you made changes to the system), and reinstall
all the packages. In case you have no idea which packages are on the
system... Ahem. If your box had just a simple system on it - save
"/etc" reinstal and put the /etc back.
In case your system was rather complicated.... Pff... Try finding out
which packages are installed, by comparing the installed files to those
from the rpm packages. You will need to write a script for that, unles
you want to become completely crazy. Something along the following lines:
1) make a list of all the files in RPM-packages
2) compare them with your installed files
This should give you a list of installed packages on your system.
Good luck -you will need it.
Denis
-----------------------------------------------------
Mag. Denis Havlik <http://www.ap.univie.ac.at/users/havlik>
University of Vienna ||| e-mail: [EMAIL PROTECTED]
Austria (@ @) tel: (++431) 4277/51179
-------------------oOO--(_)--OOo---------------------