On Wed, 31 Mar 2004, McClung, John M, ALABS wrote: > I am building my rpm on an alpha server using rpm version 3.0.2 (rpm binary from HP), and I am trying to use the relocate (or prefix) option during the install. My problem is this, I can use the below command fine on the alpha box to change the install directory from /tmp to /opt, but when I try to install using the same command on an intel (Linux i386 with rpm version 4.1) the --prefix and --relocate options aren't recognized (or just don't work). > > Works on the alpha (using rpm-3.0.2): Doesn't recognize the --prefix /opt on the i386 Linux server (using rpm4.1) > # rpm --prefix /opt --ignorearch --ignoreos -ivv rg-1.1-222.alpha.rpm > > Doesn't recognize the --relocate /tmp=/opt on the i386 Linux server (using rpm4.1) either > # rpm --relocate /tmp=/opt --ignorearch --ignoreos -ivv rg-1.1-222.alpha.rpm > If I recall, 4.1 had problems (read broken) with relocation. It was fixed almost immediately, so I suspect if you can update to something a little newer the problem should go away. Don't know if there was errata from RedHat for that broken version (rpm errata has been mighty scarce). Cheers...james _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list