YUM History (list, info, summary, repeat, redo, undo, new)

terminal-logo-smallYum (Yellowdog Update Modified) is RPM Packet Management system for Fedora, CentOS, Red Hat, OpenSuse etc. Yum history (list, info, summary, repeat, redo, undo, new) commands is added on 3.2.25 version. So this works every Linux Distros, which uses yum 3.2.25 or newer. Yum history command is a really useful in situations where the need to example rollback latest yum activity or undelete some deletes or just see what is updated lately.

Yum history and Yum history list

yum history lists all latest yum operations and yum history list list all operations or just selected package operations

Listing all operations

Listing Arora browser operations

Yum history info

Show full information by history ID.

Remove Arora browser

Yum history list

Show history info for ID 2

Yum history summary

Shows summary of lates operations.

Yum history repeat

yum history repeat command repeats old operation by history ID.

Yum history undo

yum history undo simply undo operations by history ID.

Undo Arora browser erase

History list after undo

Yum history redo

yum history redo simply redos operation from yum history by ID.

Yum history new

yum history new command delete/clear old history listing.

Share this post

7 Comments

  1. Hi,

    Do you know how i can upgrade to the latest version of yum on a Centos 5 box?

    Reply
    • Hi Ola,

      Yum’s updating manually can be little problematic, because it might need other dependency packages/versions, which not even exist directly on CentOS 5 repositories.

      But if you want to try…YUM official source RPM files found here.

      Reply
  2. This helped me reinstall about 170 application I had to remove in order to get around a dependency hell. With this knowledge I like yum even more.
    Thanks again

    Reply
  3. do you mean “yum update yum” ?

    Reply
    • Hi nightfighter,

      I not sure what you mean, but on CentOS 5 (5.8) latest yum version is 3.2.22, so yum history won’t work, even if you update yum using yum.

      Reply
  4. Thanks for posting this. It helped me undo a desktop crashing yum move.

    Reply
  5. This is very helpful document. Good work!

    Reply

Trackbacks/Pingbacks

  1. Fedora 12: yum History (list, info, summary, repeat, redo, undo … | Just linux! - [...] Here is the original: Fedora 12: yum History (list, info, summary, repeat, redo, undo … [...]

Submit a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">