[Yum] yum list available weird output

Gerry Reno greno at verizon.net
Tue May 5 18:24:28 UTC 2009


Gerry Reno wrote:
> I run this command:
> yum -q list available $(rpm -qa --queryformat=%{name}\n) | grep "^ "
Should be: yum -q list available $(rpm -qa --queryformat='%{name}\n') | 
grep "^ "
> 1.0.0-2.fc11 preupgrade
> 0.1.0-6.fc11 preupgrade
> rawhide
> This output is strange because there are no package names. And it is 
> confusing one of my scripts. Is there a package named <blank>? Or a 
> package without a 'name' field?
>
> Regards,
> Gerry



More information about the Yum mailing list