Bug 482838
| Summary: | uninstalll scriplet fails in spacewalk-config | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Jesus M. Rodriguez <jesusr> |
| Component: | Installation | Assignee: | Jan Pazdziora (Red Hat) <jpazdziora> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jesus M. Rodriguez <jesusr> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 0.4 | CC: | bperkins, frank.paulick |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-09-17 07:09:44 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 456553 | ||
Fixed in Spacewalk repo, commit 582245cd7301655bfeae66398c9e279462388955. With spacewalk-config-0.5.2-1 available, moving ON_QA. Removing bug 482838 blocks bug 484231. Spacewalk 0.5 released. Spacewalk 0.5 has been released for long time ago. |
Hi, i think there is a problem with the actual (0.4) package of spacewalk-config when i try to uninstall this package i get the following message: error reading information on service satellite-httpd: No such file or directory error: %preun(spacewalk-config-0.4.24-1.el5.noarch) scriptlet failed, exit status 1 the command "rpm -q spacewalk-config --scripts" show the following: preuninstall scriptlet (using /bin/sh): # This section can be removed after 0.4 has been released if [ $1 = 0 ] ; then /sbin/service satellite-httpd stop >/dev/null 2>&1 /sbin/chkconfig --del satellite-httpd fi postuninstall scriptlet (using /bin/sh): # This section can be removed after 0.4 has been released if [ "x$1" == "x0" ] ; then perl -i -ne 'print unless /satellite-httpd\.pid/' /etc/logrotate.d/httpd fi at the end. i think this part is making the uninstall problem. for now "rpm -e spacewalk-config --nodeps --nopreun" solved the problem for me. regarding the comment in the uninstall scriptlet they should be removed, if i'm not wrong :)