[Yum] yumgengroups.py

Peter Peltonen peter.peltonen at iki.fi
Thu Nov 13 10:52:26 UTC 2003


On Sun, 2003-09-21 at 01:52, seth vidal wrote:
> yumgengroups.py -g 'foo group' -i foo -v true --groupreq bar \
>    --groupreq baz --groupreq quux file.i386.rpm otherfile.i386.rpm

I just gave my first try to yumgengroups.py. It didn't quite work out:

--<snip>--
# /scratch/yum/scripts/yumgroups/yumgengroups.py -g "Top Group" -i top
-v true --groupreq group1 --groupreq group2 foo.rpm 
  File "/scratch/yum/scripts/yumgroups/yumgengroups.py", line 26
    print >> sys.stderr, stuff
                ^
SyntaxError: invalid syntax
--</snip>--

I am running RHL73 with

yum-2.0.3-0.rh7.rh.fr
rpm-4.1.1-1.7x
rpm-python-4.1.1-1.7x
python-1.5.2-43.73

Any ideas what I'm doing wrong / what is breaking and how I could fix
it?

Regards,
-- 
Peter Peltonen <peter.peltonen at iki.fi>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum/attachments/20031113/b476ab5f/attachment-0001.pgp 


More information about the Yum mailing list