Ask Your Question

Revision history [back]

Well, as you may know, Fedora's package management tool is Yum (Yellowdog Update Modified). It has lots of facilities, and one which will be of interest to you is it's transaction history management.

From Redhat's documentation

The yum history command allows users to review information about a timeline of Yum transactions, the dates and times they occurred, the number of packages affected, whether transactions succeeded or were aborted, and if the RPM database was changed between transactions. Additionally, this command can be used to undo or redo certain transactions.

Some commands of interest are:

  • yum history lists all latest yum operations
  • yum history list list all operations or just selected package operations.
  • yum history info shows full information by history ID.
  • yum history undo simply undo operations by history ID.
  • yum history redo simply redos operation from yum history by ID.

So, you can first find out the installation operations ID using yum history and then undo it with yum history undo.