[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: It isn´t possible to define 2 or more Prefix
- From: Jeff Johnson <jbj JBJ ORG>
- To: rpm-list redhat com
- Subject: Re: It isn´t possible to define 2 or more Prefix
- Date: Wed, 18 Jul 2001 07:19:47 -0400
On Wed, Jul 18, 2001 at 01:11:50PM +0200, Juan Carlos Martín Cano wrote:
> Hi,
>
> I'm using RPM 4.0.3 for Solaris2.8 and HP-UX.11. I want to define 2
> or more Prefix in a product (eg.: Prefix:/home/juancmc
> Prefix:/usr/juancmc). When I package all it´s right, but when I install
> (eg.: rpm -i --prefix /tmp/directory <PackageName>), the next error is
> showed:
There's less need these days for explicit Prefix: directives, there
basically just a hint that the package was intended for relocateable
installs.
Meanwhile, all paths are relocateable for any package using
--relocate oldpath=newpath
You will need to add --badrelocate if the Prefix: hints are not included
in the package. And, as always, rpm does nothing to make file contents
relocateable, that's the packager's responsibility, not rpm's.
Try the --relocate form, as --prefix is the Old Way of specifying relocations,
and does not permit multiple Prefix: hints.
You might also check to see that the tags are actually in the package
by doing
rpm -qp --qf '[%{prefixes}\n]' <your_package>
73 de Jeff
--
Jeff Johnson ARS N3NPQ
jbj@jbj.org (jbj@redhat.com)
Chapel Hill, NC
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]