6

There are many questions and answers on the internet about the "Running transaction test" notice which appears after a yum update. These questions usually concern what to do if it gets stuck.

My question is simply to know: what is taking place during this transaction test? What is the transaction in question? What kind of test is being done?

enter image description here

peterh
  • 5,017

1 Answers1

6

Transaction Test tells if the required package/rpm will install without any issue if it fails it will throw error. To understand it better you must understand the transaction with rpm command.

In brief this is what yum does :

1: Installing the package breaks none of the already installed packages (recursively, as they may need packages of their own to be installed).

2: All the packages that the package requires for correct operation are also (or already) installed along with the selected package, recursively..

3: A later version of the package does not (accidentally) replace an earlier version of the package.

Hope this makes sense to you.

Pratap
  • 705