On 07/19/2013 10:47 AM, Niels Terp wrote:

Hi,

 

I have now installed RPM, and it seems to work. But when I tried to install
Webmin from a RPM, I got errors like "Webmin .. needs /bin/sh"

 

I found a very nice script (in the Linux Cookbook) to find things that has
been compiled from source, and include them in a emty RPM, which can then be
installed - then you should have everything in RPM. But even this I can't
install, because of the same dependency.

 

Does anyone know a shortcut to include all the "normal" linux commands in
the RPM database, or do I have to build LFS with RPM-support from the
beginning ?

 

The reason why I want RPM is, that I have not been able to build the Google
Chrome browser from source, while on my host system (Suse) it is a matter of
downloading and installing a RPM. So in case it is not possible to get RPM
to work on a finished system, I could certainly need some advice on building
Chrome from source !

 

Niels

You are getting that error because the rpm database is clean, it has nothing
in it.
You just can not install rpm onto a system and think it will work.  It knows
nothing of what is already installed.

---

Well, that was my fear. I had hoped that there was a "manual" way to get
linux itself into the RPM database, but the more I think about it, the more
I realize that it will be impossible.

In fact I tried your solution a few months ago, but I couldn't make it work
then. Now I have downloaded it again, I spotted a few errors in the md5sum
check (really not alarming, the files seems to be OK) and a patch file could
not be downloaded - I found it at another location. Right now my computer is
chewing its way through chapter 5, and still looking good.

Thank you for your advice on Chrome, I appreciate it ! And sorry to hear
that you are planning to leave the community, I had hoped for an updated
version of your system, but I guess you have shown me the way to go - Thank
you again !

Niels

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to