Bug 750488
Summary: | [RFE] packages.removePackage() do not removes srpm package associated to rpm | ||
---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Jan Hutař <jhutar> |
Component: | API | Assignee: | Tomas Lestach <tlestach> |
Status: | CLOSED NOTABUG | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.6 | CC: | cperry, jdobes, jpazdziora |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-05-09 12:23:12 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: | 737830 |
Description
Jan Hutař
2011-11-01 10:13:53 UTC
Where did you find the information a src.rpm shall be deleted together with a rpm package? From API documentation: Method: removePackage Description: Remove a package from the satellite. Hmm, if not, we do not have way how to delete src.rpm, or do we? It looks like src.rpms are deleted from DB, but not from disk storage (/var/satellite). The problem is that there can be multiple arch/noarch packages for single srpm. So it's not like we always want to delete, more like delete when we delete the last one. Marking as RFE. Possibility to delete source RPMs was implemented in bz1192879. There are new API calls for deleting SRPMs, not removing within this API call method because it would require checking if the package is last one who uses this SRPM and even then - it's questionable if the SRPM should be deleted together with RPM. As we provided different way how to delete SRPMs, closing this as NOTABUG. |