[Yum] yum output
seth vidal
skvidal at phy.duke.edu
Wed Mar 2 05:21:01 UTC 2005
On Tue, 2005-03-01 at 19:47 -0800, Earl wrote:
>Any way I can get the "full" output from say a yum
>list avaialble?
>
>Normally, when you get to a rediculously long package
>name, you get this:
>
>video4linux-kmdl-2.6.10-1.760_FC3smp.i68
>1:20050113_172233-54.1 at-stable
>video4linux-kmdl-2.6.10-1.760_FC3smp.i58
>1:20050113_172233-54.1 at-stable
>
>For those in a lame-*ss yahoo limited size window, the
>package name gets chopped at colunm 40 (I believe).
>Not a biggy most times but I want to do some "foo"
>with the output and need the full package name.
>
>Any ideas?
>
>Looked for the python code that handles this part of
>the output but didnt have any luck...
>
yum's output is not written to be screen scraped for script use. If you
want to do that you can easily provide your own mechanism for getting to
that data w/some python scripting.
look in /usr/share/yum-cli/output.py
-sv
More information about the Yum
mailing list