Re: Strange behaviour with rpm -qf and %{epoch}

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

 



Peter Bowen wrote :

> On Tue, 2005-01-11 at 22:26 +0100, Jos Vos wrote:
> > Hi,
> > 
> > Why does
> > 
> >   rpm -q --qf '[%{name} %{version} %{release} %{epoch} %{arch}
%{filenames}\n]'
> > 
> > not work for *some* packages (and does work for others)?  The problem
> > is %{epoch}, as removing this tag makes the problem disappear.
> > 
> > I tried it on RHEL3 and RHEL4b2, and for example with samba it does
> > not work, while several other packages work fine.
> 
> try:
> 
> rpm -q --qf '[%{=name} %{=version} %{=release} %{=epoch} %{=arch}
%{filenames}\n]'
> 
> instead.  This is probably a parallel array issue.

Are you implying that in the above epoch would be an array!? Are they
_that_ evil, hiding in unsuspected forms? :-)

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 3 (Heidelberg) - Linux kernel 2.6.10-1.737_FC3
Load : 0.25 0.42 0.64

_______________________________________________
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