We use cookies to give you the best experience possible. By continuing we’ll assume you’re on board with our cookie policy

Rpm Package Manager and Yum History

The whole doc is available only for registered users

A limited time offer! Get a custom sample essay written according to your requirements urgent 3h delivery guaranteed

Order Now

Search and explore the ITT Tech Virtual Library on the uses of yum. Students should use the following keywords and phrases to help them locate appropriate resources: Yum repositories yum is the primary tool for getting, installing, deleting, querying, and managing Red Hat Enterprise Linux RPM software packages from official Red Hat software repositories, as well as other third-party repositories.

The yum command is the primary tool for getting, installing, deleting, querying, and otherwise managing Red Hat Enterprise Linux RPM software packages from official Red Hat software repositories, as well as other third-party repositories. Download the attached reference card and use it as a quick reference to yum commands, options, tasks, and sample command lines.

Yum Linux history
Near the end of 2009 (or thereabouts) a ‘history’ command was added to yum. The history command allows an admin to access detailed information on the history of yum transactions that have been run on a system.

Yum started keeping a sqlite db of the information from each and every transaction. The history is organized by transaction id. Each time you perform a ‘yum’ command which changes your system pkgs in someway the history db is updated with this information.

The yum history dbs are normally found in /var/lib/yum/history/ Commands
yum history list [all] [pkgname…] [transaction_id…] a table of the transactions. It takes two optional arguments. A package name/glob and a transaction id number. For example:
yum history list zsh will return a table of all the transactions where the pkg ‘zsh’ was modified in some way. yum history list 1 2 10 will return a table of transactions 1, 2 and 10. yum history list all will list every transaction in the history db. This could be A LOT. with no arguments it will list the most recent 20 transactions. yum history info [pkgname…] [transaction_id …]

superset of that ‘list’ takes but provides detailed information on the transaction. You may best use this piped to ‘less’. You can also see a “merged history” of some transactions. For example: yum history info 1..4 will show a single transactions for what would have happened if the first four transactions had been one single transaction. with no arguments it will display info on the most recent transaction. yum history summary create a summary of what the transactions have done.  with no arguments it will present a total summary of the current history database. example:

yum history summary glibc seth vidal | Last 3 months | E, I, O, U | 1873 seth vidal | Last 6 months | I, U | 154 seth vidal | Last year | Update | 16 The first row of this chart says that in the last 3 months transactions involving the glibc pkg were performed which modified 1873 pkgs and involved Erase, Install, Obsolete and Update operations. yum history package-list this will attempt to ‘undo’ what the specified transaction did. In many cases this is possible, but in some cases the packages yum needs to downgrade to are no longer available anywhere and therefore an undo will not succeed. yum history redo this will attempt to perform the exact same transaction specified. This does NOT do a ‘reinstall’ but simply performing the same transaction again. yum history new  creates a new yum history db, saving the old one. This command is only to let you keep the size of any single yum history database down in size. When you create a new history db the older transactions will not be accessible unless you move the new history db out of the way. You should rarely ever need to run this command.

Fedora 15 installing software

Linux software repositories
Google’s Linux packages are signed with a GNU Privacy Guard (GPG) key. Google’s packages will automatically configure your package manager to verify product updates with the public signing key, but you may also install it separately if, for instance, you want to verify the integrity of an initial package download. Follow the instructions below to manually configure your package manager to use the key.

Related Topics

We can write a custom essay

According to Your Specific Requirements

Order an essay
Materials Daily
100,000+ Subjects
2000+ Topics
Free Plagiarism
All Materials
are Cataloged Well

Sorry, but copying text is forbidden on this website. If you need this or any other sample, we can send it to you via email.

By clicking "SEND", you agree to our terms of service and privacy policy. We'll occasionally send you account related and promo emails.
Sorry, but only registered users have full access

How about getting this access

Your Answer Is Very Helpful For Us
Thank You A Lot!


Emma Taylor


Hi there!
Would you like to get such a paper?
How about getting a customized one?

Can't find What you were Looking for?

Get access to our huge, continuously updated knowledge base

The next update will be in:
14 : 59 : 59