"yum history undo" output: Error: Trying to remove "systemd", which is protected

Solution Verified - Updated -

Issue

  • When trying to use yum history undo <id> or yum history rollback <id> a yum transaction which includes systemd, yum fails with:

    Error: Trying to remove "systemd", which is protected
    

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • yum
  • systemd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In