Name
- Yum Complete Transaction Centos
- Yum Complete Transaction Rhel 7
- Yum Complete Transaction Command Not Found
- Yum Complete Transaction Command
yum-utils - tools for manipulating repositories and extended package management
Synopsis
Yum-complete-transaction is a program that searches for incomplete or aborted yum transactions in the system and tries to complete them. Search the transaction-all. and transaction-done. archives that are normally found in /var/lib/yum looking for a transaction that has been aborted in the middle of its execution. $ yum-complete-transaction. The command can return the following: $ yum-complete-transaction bash: yum-complete-transaction: command not found. It means you do not have yum-utils package installed in your system. Run the following to install yum-utils $ yum install yum-utils. This will install necessary for yum-complete-transaction. The yum-complete-transaction command finds incomplete or aborted yum transactions on a system and attempts to complete them. It looks at the transaction-all and transaction-done files which can normally be found in /var/lib/yum if a yum transaction aborted in the middle of execution. Yum complete transaction with CentOS 6.5 server. Ask Question Asked 6 years, 3 months ago. Active 6 years, 3 months ago. Viewed 591 times 0. I want update my.
Description
yum-utils is a collection of tools and programs for managing yum repositories, installing debug packages, source packages, extended information fromrepositories and administration.
Notes
See respective tools for additional help for commands without a manual page
See Also
package-cleanup(1), repo-rss(1), repoquery(1), reposync(1), yum-builddep(1), yum-complete-transaction(8), yumdownloader(1)
Author
Shawn Starr <shawn.starr@rogers.com>
Referenced By
yum-aliases(1)Introduction
The yum package manager maintains a history of all yum based transactions i.e. software installation, update and removal operations. This history is kept in an sqlite database (rpmdb) which is available in the /var/lib/yum/history/ directory. The transaction history in the rpmdb can be queried via the yum history command. We would also like to point out that a log of package installs, updates and removals is maintained in a text file as well located at /var/log/yum.log. The file provides one line descriptions about the yum related actions that were performed. But a very interesting facet of the yum transaction history is that transactions can be repeated and reversed and also incomplete transactions can actually be resumed. In this article we’ll be focusing on how we could resume incomplete yum transactions and complete them to fruition.
Demonstration
With a basic understanding of how yum transactions are maintained, let’s perform a practical demonstration of how we could resume an incomplete yum transaction. Consider the following operation, we are just installing the openssl package on our system. What if during the installation we loose our network connectivity. This is just a single package so repeating the installation isn’t challenging but if it were an entire system update then redoing the entire task from scratch would be tedious. To simulate an interruption I hit the ctrl+c key to stop the yum package installation.
The log containing the progress of the above interrupted transaction has been saved in /tmp in a file named yum_save_tx.2018-03-02.12-34.RZUTa5.yumtx. This file is a simple text file and we can view it’s contents as shown below.
To resume the transaction we use the load-transaction sub-command with the yum command followed by the complete path to the .yumtx file.
It might not seem obvious from the above command line output but the openssl package installation actually resumed exactly from where I had left it off. If you wish to check if the system has any incomplete transactions and complete them then use the yum-complete-transaction command.
Yum Complete Transaction Centos
Yum Complete Transaction Rhel 7
To only cleanup incomplete transactions without resuming them, use the following command.
Conclusion
Yum Complete Transaction Command Not Found
This concludes our demonstration of how we could use yums’ transaction history feature to resume incomplete transactions. We hope that you’ve found this demonstration to be useful and we look forward towards your feedback.
The following two tabs change content below.Yum Complete Transaction Command
- Google Cloud basics: Activate Cloud Shell - May 19, 2021
- Create persistent swap partition on Azure Linux VM - May 18, 2021
- DNF, YUM and RPM package manager comparison - May 17, 2021
- Introduction to the aptitude package manager for Ubuntu - March 26, 2021
- zypper package management tool examples for managing packages on SUSE Linux - March 26, 2021