On the server side when passed the --sources option, rhn-delete-package-internal looks up the pkgid for the binary package, rather than the source one, then operates on that in the source package table, deleting a different package, in effect.
Is there an ETA for when the fix will land on stage?
To test: * identify an rpm with an associated source rpm. * run rhn-delete-package-internal --sources --package=package-version-release.arch * verify (via webui or up2date source download) that the source rpm is deleted.
Verified using a2ps-4.13b-28.i386.rpm in Q A- it has no src rpm anymore
With dgregor's help, verified in STAGE