Description of problem: Upgrading firstboot-1.4.27.6-1.el5.x86_64 /var/tmp/rpm-tmp.78685: line 25: [: 27905VERSION: integer expression expected /var/tmp/rpm-tmp.78685: line 25: [: 27905VERSION: integer expression expected /var/tmp/rpm-tmp.78685: line 25: [: 27905VERSION: integer expression expected Version-Release number of selected component (if applicable): firstboot-1.4.27.6-1.el5 How reproducible: Consistent Steps to Reproduce: 1. Install 5.2 server @everything 2. upgrade to 5.3 with anaconda or yum Actual results: Above error Expected results: No errors Additional info: I've discussed this earlier with Panu wrt glibc changes but IIRC we couldn't figure out what was going on. The issue is that messages count increased from 1 to 3-4 messages. It's possible that the messages are emitted out of band and not related to firstboot. Also the integer in front of "VERSION" is different every time.
Perhaps this is something else related to scriptlet processing? These are the scriptlets in the (rather old) firstboot spec file: %preun if [ $1 = 0 ]; then rm -rf /usr/share/firstboot/*.pyc rm -rf /usr/share/firstboot/modules/*.pyc fi %preun tui if [ $1 = 0 ]; then chkconfig --del firstboot fi
Looking at the %preun I see the same issue as with system-config-kickstart package. We're removing the *.pyc files.
Well, firstboot is an approved component so let's take care of this while we've got a chance.
This should be fixed in firstboot-1.4.27.6-2.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0229.html