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

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

 



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.

Thanks.
Peter

_______________________________________________
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