[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: rpm -qp --queryformat "%{defaultprefix}\n" perl.rpm
- From: Peter Gibbons-BU <peter gibbons 01 bbc co uk>
- To: "'rpm-list redhat com'" <rpm-list redhat com>
- Subject: RE: rpm -qp --queryformat "%{defaultprefix}\n" perl.rpm
- Date: Mon, 3 Dec 2001 15:52:58 -0000
many thanks,
so defaultprefix is no longer valid as a tag, although mentioned on the
redhat site.
so, my question now if:
rpm -qp --queryformat "%{instprefixes}\n" perl.rpm
if this returns none, does this mean, that the rpm is not relocatable?
ie how do i find out if the perl.rpm is relocatable?
many thanks
peewee
-----Original Message-----
From: Jeff Johnson [mailto:jbj@JBJ.ORG]
Sent: Monday, December 03, 2001 3:04 PM
To: rpm-list@redhat.com
Subject: Re: rpm -qp --queryformat "%{defaultprefix}\n" perl.rpm
On Mon, Dec 03, 2001 at 02:29:51PM -0000, Peter Gibbons-BU wrote:
> hi-there,
>
> i 'm tring to find out the default installation prefix of a packaage
> perl.rpm. I have read the example at rpm.org help docs and know that
this
> is possible. However, when i use the example i get an error:
>
> rpm -qp --queryformat "%{defaultprefix}\n" perl.rpm
>
> error: incorrect format - unknown tag
>
> what should my command read?
bash$ rpm --querytags | grep -i prefix
PREFIXES
INSTPREFIXES
INSTALLPREFIX
bash$ rpm -qp --queryformat "[%{prefixes}\n]" perl.rpm
73 de Jeff
--
Jeff Johnson ARS N3NPQ
jbj@jbj.org (jbj@redhat.com)
Chapel Hill, NC
_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://listman.redhat.com/mailman/listinfo/rpm-list
This e-mail, and any attachment, is confidential. If you have received
it in error, please delete it from your system, do not use or disclose
the information in any way, and notify me immediately. The contents of
this message may contain personal views which are not the views of the
BBC, unless specifically stated.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]