foreman-selinux left installed after "yum remove foreman forman-proxy"
I remove foreman and foreman-proxy through yum and the foreman-selinux package remains installed. This gave me dependency problems later on.
rpm -qa|grep foreman
#1 Updated by Dominic Cleal over 5 years ago
- Project changed from Foreman to Packaging
- Category changed from 21 to RPMs
- Status changed from New to Need more information
- Difficulty deleted (
I don't follow what problem this could give you? foreman-selinux isn't a sub-package or anything, just yum remove it too.
#2 Updated by Jorick Astrego over 5 years ago
Yes it is a trivial issue. I ran into problems when testing different versions, the foreman-selinux package broke the rpm dependencies.
When I remove foreman I expect all rpm dependencies to be removed, so normally I would do "yum remove foreman foreman-proxy" and not "yum remove foreman foreman-proxy foreman-selinux"
As I said not a big issue but is there a reason for the current behaviour?
#3 Updated by Dominic Cleal over 5 years ago
Removing any package from yum will never remove its dependencies, and foreman-selinux is a complementary package rather than a dep (or vice versa). I'm not sure that even making it a dependency of foreman would cause it to be removed - you'd probably just want to do "yum remove foreman\*" instead.