Description of problem: [snip] Downloading Packages: Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction File "<stdin>", line 8 finally: ^ SyntaxError: invalid syntax Error in PREUN scriptlet in rpm package r Removed: rhevm-guest-agent.noarch 0:1.0.7-9.el5ev Complete! # rpm --scripts -qp rhevm-guest-agent-1.0.7-9.el5ev.noarch.rpm | sed -n '/python/,/^EOF/p;' /usr/bin/python << EOF import os vp = None try: vp = os.open('$VIRTIO', os.O_WRONLY|os.O_NONBLOCK) os.write(vp, '{"__name__": "uninstalled" }\n') except OSError: pass finally: if vp: os.close(vp) EOF [root@localhost ~]# cat /etc/redhat-release ; python -V Red Hat Enterprise Linux Server release 5.9 (Tikanga) Python 2.4.3 ...A more complicated example (having except and finally clauses in the same try statement works as of Python 2.5)... Version-Release number of selected component (if applicable): is10 - rhevm-guest-agent-1.0.7-9.el5ev How reproducible: 100% Steps to Reproduce: 1. install GA on RHEL5 from is10 2. 3. Actual results: bogus preuninstall scriptlet Expected results: replace finally... Additional info: http://docs.python.org/2/tutorial/errors.html
ok, is13 - 1.0.8-3.el5ev.
Closing - RHEV 3.3 Released