Bug 826668
Summary: | gridengine uninstall script(s) failed, causing preupgrade to abort, cannot upgrade to f17 cleanly | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Hin-Tak Leung <htl10> |
Component: | gridengine | Assignee: | Orion Poplawski <orion> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | orion |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-10 01:32:34 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Hin-Tak Leung
2012-05-30 18:04:32 UTC
Are there any logs that recorded what the error was? Are there any other gridengine rpms installed (-execd, -qmon, etc)? Unfortunately preupgrade does not keep much record around; but I keep a list of packages before and after upgrade (rpm -qa). $ grep gridengine beforelist gridengine-devel-6.2u5p2-7.fc16.3.x86_64 gridengine-6.2u5p2-7.fc16.3.x86_64 gridengine-qmon-6.2u5p2-7.fc16.3.x86_64 gridengine-qmaster-6.2u5p2-7.fc16.3.x86_64 gridengine-execd-6.2u5p2-7.fc16.3.x86_64 $ grep gridengine afterlist gridengine-6.2u5p2-7.fc16.3.x86_64 gridengine-devel-2011.11-3.svn131.fc17.x86_64 gridengine-2011.11-3.svn131.fc17.x86_64 gridengine-qmaster-2011.11-3.svn131.fc17.x86_64 gridengine-qmon-2011.11-3.svn131.fc17.x86_64 gridengine-execd-2011.11-3.svn131.fc17.x86_64 Seems that only the main package failed to clean up (and caused the rest of preupgrade to be unfinished). Can you attach /root/upgrade.log? (In reply to comment #3) > Can you attach /root/upgrade.log? Argh, you got it... The last two lines of that is: /usr/bin/qsub-ge has not been configured as an alternative for qsub error: %preun(gridengine-6.2u5p2-7.fc16.3.x86_64) scriptlet failed, exit status 2 # ls -l /etc/alternatives/qsub lrwxrwxrwx. 1 root root 20 May 24 19:32 /etc/alternatives/qsub -> /usr/bin/qsub-torque # ls -l /usr/bin/qsub* lrwxrwxrwx. 1 root root 22 May 24 19:32 /usr/bin/qsub -> /etc/alternatives/qsub -rwxr-xr-x. 1 root root 1701448 Apr 17 18:36 /usr/bin/qsub-ge -rwxr-xr-x. 1 root root 54352 Feb 5 13:31 /usr/bin/qsub-torque I have torque also. (for development purposes...) Can you please attach the entire upgrade.log to this report? Thanks. I'm starting to think that the whole alternatives system may not have been taken into consideration with the usrmove feature. We'll see. Well, usrmove has nothing to do with it I think. Any chance you have a backup of /var/lib/alternatives from before the upgrade? (In reply to comment #7) > Any chance you have a backup of /var/lib/alternatives from before the > upgrade? What you saw in comment 4 was essentially before the upgrade (I only started it late 29th May). # ls -l /var/lib/alternatives/q* -rw-r--r--. 1 root root 858 May 24 19:32 /var/lib/alternatives/qsub Its content only talks about torque. # rpm -q --scripts gridengine ... preuninstall scriptlet (using /bin/sh): alternatives --remove qsub /usr/bin/qsub-ge ... I assume this is where it failed - the packager did not think of somebody installing two grid-computing packages simultaneously... it probably should do alternatives --remove qsub /usr/bin/qsub-ge || /bin/true instead, or something? gridengine-6.2u5-10.fc15.5 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/gridengine-6.2u5-10.fc15.5 gridengine-6.2u5p2-7.fc16.4 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/gridengine-6.2u5p2-7.fc16.4 Package gridengine-6.2u5-10.fc15.5: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gridengine-6.2u5-10.fc15.5' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-8688/gridengine-6.2u5-10.fc15.5 then log in and leave karma (feedback). gridengine-6.2u5-10.fc15.5 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. gridengine-6.2u5p2-7.fc16.4 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |