RPM relocation problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Installs with error in the /tmp dir when on the intel server.

John


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux