You can also use  'package-cleanup --cleandupes' to remove  duplicate packages.

Best Regards,
Strahil Nikolov

On Oct 18, 2019 10:15, Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
On Fri, Oct 18, 2019 at 8:28 AM karli <karli@inparadise.se> wrote:
Hey guys!

I got a wierd issue today doing 'yum upgrade' I'm hoping you can help
me with. The transaction failed because of systemd packages. I can't
update systemd packages because they're already the latest, but old
versions are still around because of ovirt related dependencies:

# rpm -q systemd
systemd-219-62.el7_6.9.x86_64
systemd-219-67.el7_7.1.x86_64
# rpm -e systemd-219-62.el7_6.9.x86_64
error: Failed dependencies:
        systemd = 219-62.el7_6.9 is needed by (installed) systemd-
python-219-62.el7_6.9.x86_64
# rpm -e systemd-python-219-62.el7_6.9.x86_64
error: Failed dependencies:
        systemd-python is needed by (installed) ovirt-imageio-proxy-
1.5.1-0.el7.noarch

Is this something you are aware of or are am I a special little
snowflake? :)

/K


Possibly you have an incomplete transaction in the past that didn't clean the old systemd?
If you run 
 yum-complete-transaction
what do you get as output of candidate removals?
Gianluca