I used to be performing a routine yum replace
when it beginning throwing a stream of ‘non-fatal’ errors. It was complaining the machine had run out of reminiscence. Nonetheless, yum did not discover it essential to cease this prepare.
So when it was completed and I ran one other yum replace
to examine, it listed 100+ packages which might be duplicates. Apparently, the reminiscence scarcity meant yum couldn’t carry out the removing of duplicates. After some looking out, I discovered the package-cleanup --cleandupes
command. This neatly listed the duplicates and supplied to take away them. YES!
My delight was short-lived, when it errored out with:
iptables = 1.4.21-34.el7 is required by (put in) iptables-services-1.4.21-34.el7.x86_64
Whereas that is true, the duplicate it listed to be deleted was model 1.4.21-33.el7.
When manually attempting: rpm -e --justdb iptables-services-1.4.21-33.el7.x86_64
it says once more:
error: Failed dependencies:
iptables = 1.4.21-34.el7 is required by (put in) iptables-services-1.4.21-34.el7.x86_64
It doesn’t appear to know I wish to delete model ’33’, not ’34’. How can I clear up this?