Re: yum list available weird output

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

 



Gerry Reno <greno@xxxxxxxxxxx> writes:

> I run this command:
> yum -q list available $(rpm -qa --queryformat=%{name}\n) | grep "^ "
>                                       1.0.0-2.fc11
> preupgrade
>                                       0.1.0-6.fc11
> preupgrade

 Pipe the "yum list available" output through less, and you'll see
what is happening. In general we don't recommend screen scrapping yum
output, writing a yum script is often significantly easier (and
supported).

 For what I _think_ you are trying to do above, you probably just want
"yum list updates" or "yum check-update" output.

-- 
James Antill -- james@xxxxxxx
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux