hi,
I am intending to uninstall lvm utility from /usr/sbin and install it in root directory /sbin
I want to install it using yum or rpm to guarantee that lvm will be able to locate all its dependencies that are required to make it works properly.
I checked the yum/rpm man pages and I could not see an explicit option that makes it possible.
IS IT POSSIBLE TO CONTROL OR SPECIFY WHERE YUM/RPM INSTALL A PACKAGE?
I attempt the following without success:
Code:
[root@localhost ~]# rpm -qi lvm2
Name : lvm2 .... Source RPM: lvm2-2.02.28-1.fc8.src.rpm ....
...etc
[root@localhost ~]# rpm -i --relocate /usr/sbin=/sbin lvm2
error: open of lvm2 failed: No such file or directory
[root@localhost ~]# rpm -i --relocate /usr/sbin=/sbin lvm
error: open of lvm failed: No such file or directory
[root@localhost ~]# rpm -i --relocate /usr/sbin=/sbin lvm2-2.02.28-1.fc8.src.rpm
error: open of lvm2-2.02.28-1.fc8.src.rpm failed: No such file or directory
[root@localhost ~]# rpm -i --relocate /usr/sbin=/sbin lvm2.i386
error: open of lvm2.i386 failed: No such file or directory
[root@localhost ~]#
thanks in anticipation.
(OS Fedora 8)