From: Dinesh A. <mdl...@ya...> - 2005-06-11 20:38:06
|
>That would work, but there is another possibility : >loop-mount the root_fs from the host and use the rpm >option to specify where you want to install the >packages. As per guidance, I have tried the following method [root@localhost UML]# rpm -i --prefix /mnt/cdrom/usr/local binutils-2.13.90.0.18-9.i386.rpm error: package binutils is not relocateable Any suggestions ? I am using Red Hat 8.0. Is there filesystem which has all these utilities installed ? Thanks & Regards Dinesh --- Blaisorblade <bla...@ya...> wrote: > On Thursday 09 June 2005 18:37, Dinesh Ahuja wrote: > > > When you install a package inside the UML > > > filesystem, the fact that it's UML > > > does not matter *at all* (unless it's hdparm, > which > > > will likely fail since > > > there is no IDE device)... You must only think > to > > > what distro you are using > > > in the UML filesystem. > > > > I got your point. I am working with Red Hat and it > > means that I need to download the rpm packages for > GNU > > utilities. > > > > As rpm was not available in UML filesystem , I > tried > > to run rpm by mounting host file system [Red Hat > which > > has rpm installed in /bin directory]. > > I got following error : > > rpm: error while loading shared libraries: > > librpm-4.2.so: cannot open shared object file: No > such > > file or directory. > > > > Please tell me where I am going wrong. To install > rpm > > packages, i need to have rpm manager installed in > UML > > filesystem. Am i right in my understanding ? > That would work, but there is another possibility: > loop-mount the root_fs from > the host and use the rpm option to specify where you > want to install the > packages... don't do that if the Distro versions are > too different because > different RPM version have different archive > versions. > > > Are you sure you built your kernel with module > > > > > support? > > > > Yes. Module support in switched on. > > > > Thanks & Regards > > Dinesh > > > -- > Inform me of my mistakes, so I can keep imitating > Homer Simpson's "Doh!". > Paolo Giarrusso, aka Blaisorblade (Skype ID > "PaoloGiarrusso", ICQ 215621894) > http://www.user-mode-linux.org/~blaisorblade > > > ___________________________________ > Yahoo! Messenger: chiamate gratuite in tutto il > mondo > http://it.beta.messenger.yahoo.com > __________________________________________________________ How much free photo storage do you get? Store your friends 'n family snaps for FREE with Yahoo! Photos http://in.photos.yahoo.com |