[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rpm



Emmanuel Lanzmann wrote:
> 
> I have Red Hat linux (6.1). I recently decided to upgrade rpm to
> 3.0.5-9. Instead to do it with rpm, I decided to download the
> SOURCE (of rpm) and to compile it (I really like to see my computer
> compiling !!). So far, evrything went great.
> 
> Now, since then, when I try to install some package with rpm it
> almost always complains that a lot of stuff are missing (i.e.
> dependencies). I am ready to admit that my libraries are certainly
> not all up to date (!!), but it often  complains for instance that
> 
>  /bin/sh is needed by .... (the package I am installing)
>  /usr/bin/perl is needed by ....
> 
> Which I certainly do have !!!.
> 
> So, something is apparently going wrong since I installed this new
> version of rpm. Does someone has an idea ?
> 

Yes, RPM keeps a database on things installed on the system. When you
recompiled from sources the installation proceess deleted the previous
RPM database and the RPM is not aware of anything that was installed
previously to it's update. Alternativly the RPm satabase was not deleted
but the new compiled RPM looks for it in a different place then the
default RPM that came with the system.

My suggestion? get a default RPM database from some random RH6.1
installation disk. I think it sits in a package of it's own or find
where the new RPm looks for that database and link to it.

Good luck,
Gilad.


-- 
Gilad Ben-Yossef <gby@kagoor.com> 
http://kagoor.com | +972(9)9565333 x230 | +972(54)756701
"I've been seduced by the chocolate side of the force."

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il