[NTLUG:Discuss] Relocating rpm's

Brian briank at hex.net
Sun Sep 26 22:03:12 CDT 1999


The version of rpm I have is 2.5.5-10.  I don't see --relocate or
--badreloc in the man page.

Ah, but I just discovered it using 'rpm --help'.  Nothing like
up-to-date docs to keep you on your toes.  Thanks!

  --Brian

Kyle Edbauer wrote:
> 
> or maybe these two switches might help (from rpm man):
> 
>        --relocate <oldpath>=<newpath>
>               For relocatable packages, translates the files that
>               would be put in <oldpath> to <newpath>.
> 
>        --badreloc
>               To  be  used  in  conjunction with --relocate, this
>               forces the relocation even  if  the  package  isn't
>               relocatable.
> 
> Maybe something like < rmp --relocate /usr/bin=/usr/local/bin --badreloc >
> 
> Kyle
> 
> On Sun, 26 Sep 1999, J. Reeves Hall wrote:
> 
> > Brian wrote:
> >
> > > I'm trying to install an rpm of binaries that insists on using /usr/lib/
> > > as the install directory (the rpm --prefix option results in a
> > > "nonrelocatable" error message).  The box I'm on imports its /usr
> > > directory via NFS, so I can't just temporarily 'umount /usr', and I
> > > really don't feel like copying the entire /usr directory tree to the
> > > local drive just so I can install this thing.
> > >
> >
> > Can that perhaps be overridden with --force?
> >
> > -Reeves
> 
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss




More information about the Discuss mailing list