On Fri, 25 Jul 2003 20:06:14 +0200
Michael Schwendt <[EMAIL PROTECTED]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Fri, 25 Jul 2003 19:14:03 +0200, Olivier Dony wrote:
> 
> > On Friday, 25 July, 2003 17:57, Jonathan Bartlett wrote:
> > > I think you're stuck with rpm2cpio.  Alternatively, you could
> > > build RPM statically on your machine, but my guess is that
> > > rpm2cpio would be easier.
> > 
> > Ah yes but I have no idea as to how I can use rpm2cpio to bypass
> > rpm and install a package. Can you explain this a bit, I am very
> > new to redhat. (this is on RH7.2- Enigma)
> 
> "man cpio" *grin*  cpio is not specific to Red Hat Linux. ;)
> 
> Really, rpm2cpio gives you access to a cpio archive inside the rpm.
> Try something like
> 
>   mkdir test ; cd test
>   rpm2cpio glibc-2.3.2-27.9.i686.rpm | cpio -id
>   --no-absolute-filenames
> 
> to extract the files inside. You could also extract them within your
> top-level directory and overwrite what's installed.
> 
Might Midnight Commander:

  /usr/bin/mc

be able to do the install? I see where mc displays the files inside a
.rpm (including CONTENTS.cpio), and also gives an "install" and an
"upgrade" executable. You just highlight the RPM file in Midnight
Commander and <enter>. 
  Perhaps you can get the 'proper' glibc RPM to the remote stystem and
then fix it in that manner. You could make a "test" install of some
other .rpm, perhaps a game, just to see how it works.

                                             Regards,

                                              Tom


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to