[NTLUG:Discuss] Relocating rpm's

Kyle Edbauer abignerd at yahoo.com
Sun Sep 26 19:50:14 CDT 1999


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





More information about the Discuss mailing list