• Home »
  • Errors »
  • Yum Warning: There Are Unfinished Transactions Remaining, You Might Consider Running Yum-Complete-Transaction First To Finish Them

Yum Warning: There Are Unfinished Transactions Remaining, You Might Consider Running Yum-Complete-Transaction First To Finish Them

During the build of a Linux development server earlier I performed a “yum update” to update all of the packages after installing CentOS 5.4. I got busy with other tasks and left the server at work without checking to verify that the update had worked properly. Now after dinner I started to get back to work on the server by installing some new packages via yum and received a yum warning message which I describe in greater detail below along with how to resolve the warning.

CentOS Linux Yum Warning Message:

bash

  1. There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
  2. The program yum-complete-transaction is found in the yum-utils package.

The above message showed up near the top of the output of “yum remove sendmail” and after testing it turns out that the message displays on any yum command that is issued to this server. I assume that earlier when issuing a yum update things did not complete correctly thus leaving some unfinished transactions. Resolving this issue is easy enough though by installing the “yum-utils” package and then running yum-complete-transaction.

Install Yum-Utils Using The Yum Package Manager:

bash

  1. [root@cent1 src]# yum install yum-utils
  2. Loaded plugins: fastestmirror
  3. Loading mirror speeds from cached hostfile
  4.  * addons: www.gtlib.gatech.edu
  5.  * base: mirror.steadfast.net
  6.  * extras: mirror.cogentco.com
  7.  * rpmforge: apt.sw.be
  8.  * updates: pubmirrors.reflected.net
  9. Setting up Install Process
  10. Resolving Dependencies
  11. There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
  12. The program yum-complete-transaction is found in the yum-utils package.
  13. --> Running transaction check
  14. ---> Package yum-utils.noarch 0:1.1.16-14.el5.centos.1 set to be updated
  15. --> Finished Dependency Resolution
  16.  
  17. Dependencies Resolved
  18.  
  19. ====================================================================================================================================
  20.  Package                       Arch                       Version                                    Repository                Size
  21. ====================================================================================================================================
  22. Installing:
  23.  yum-utils                     noarch                     1.1.16-14.el5.centos.1                     base                      69 k
  24.  
  25. Transaction Summary
  26. ====================================================================================================================================
  27. Install       1 Package(s)
  28. Upgrade       0 Package(s)
  29.  
  30. Total download size: 69 k
  31. Is this ok [y/N]: y
  32. Downloading Packages:
  33. yum-utils-1.1.16-14.el5.centos.1.noarch.rpm                                                                  |  69 kB     00:00
  34. Running rpm_check_debug
  35. Running Transaction Test
  36. Finished Transaction Test
  37. Transaction Test Succeeded
  38. Running Transaction
  39.   Installing     : yum-utils                                                                                                    1/1
  40.  
  41. Installed:
  42.   yum-utils.noarch 0:1.1.16-14.el5.centos.1
  43.  
  44. Complete!

As you can see above even when installing the yum-utils package a warning displays about unfinished transactions. The yum-utils package includes numerous yum tools such as yum-complete-transaction, yumdownloader, yum-builddep, yum-debug-dump, and yum-groups-manager. These tools can all be helpful in troubleshooting any yum errors or warnings. Below is the output of running the yum-complete-transactions which simply looks for transactions that were not completed properly and then finishes the yum transaction. As you will see in the output below the packages had all been installed but for some reason the transaction did not close out. There are a ton of packages since I was running yum update for the first time.

CentOS Linux: yum-complete-transaction Output:

bash

  1. [root@cent1 src]# yum-complete-transaction
  2. Loaded plugins: fastestmirror
  3. Loading mirror speeds from cached hostfile
  4.  * addons: www.gtlib.gatech.edu
  5.  * base: mirror.steadfast.net
  6.  * extras: mirror.cogentco.com
  7.  * rpmforge: apt.sw.be
  8.  * updates: pubmirrors.reflected.net
  9. Checking for new repos for mirrors
  10. There are 1 outstanding transactions to complete. Finishing the most recent one
  11. The remaining transaction had 324 elements left to run
  12. Package perl-Convert-ASN1-0.22-1.el5.rf.noarch already installed and latest version
  13. Package kernel-headers-2.6.18-194.3.1.el5.i386 already installed and latest version
  14. Package tzdata-2010i-1.el5.i386 already installed and latest version
  15. Package glibc-common-2.5-49.i386 already installed and latest version
  16. Package filesystem-2.4.0-3.el5.i386 already installed and latest version
  17. Package centos-release-notes-5.5-0.i386 already installed and latest version
  18. Package pciutils-devel-2.2.3-8.el5_4.i386 already installed and latest version
  19. Package automake-1.9.6-2.3.el5.noarch already installed and latest version
  20. Package perl-Crypt-PasswdMD5-1.3-1.2.el5.rf.noarch already installed and latest version
  21. Package kernel-devel-2.6.18-194.3.1.el5.i686 already installed and latest version
  22. Package nash-5.1.19.6-61.el5_5.1.i386 already installed and latest version
  23. Package kudzu-devel-1.2.57.1.24-1.el5.centos.i386 already installed and latest version
  24. Package 10:centos-release-5-5.el5.centos.i386 already installed and latest version
  25. Package automake15-1.5-16.el5.2.noarch already installed and latest version
  26. Package logwatch-7.3-8.el5.noarch already installed and latest version
  27. Package rpmforge-release-0.5.1-1.el5.rf.i386 already installed and latest version
  28. Package automake14-1.4p6-13.el5.1.noarch already installed and latest version
  29. Package yum-3.2.22-26.el5.centos.noarch already installed and latest version
  30. Package man-pages-2.39-15.el5_4.noarch already installed and latest version
  31. Package automake17-1.7.9-7.el5.2.noarch already installed and latest version
  32. Package automake16-1.6.3-8.el5.1.noarch already installed and latest version
  33. Package libgcc-4.1.2-48.el5.i386 already installed and latest version
  34. Package glibc-2.5-49.i686 already installed and latest version
  35. Package chkconfig-1.3.30.2-2.el5.i386 already installed and latest version
  36. Package openldap-2.3.43-12.el5.i386 already installed and latest version
  37. Package audit-libs-1.7.17-3.el5.i386 already installed and latest version
  38. Package libsepol-1.15.2-3.el5.i386 already installed and latest version
  39. Package device-mapper-1.02.39-1.el5.i386 already installed and latest version
  40. Package libstdc++-4.1.2-48.el5.i386 already installed and latest version
  41. Package libacl-2.2.39-6.el5.i386 already installed and latest version
  42. Package 2:shadow-utils-4.0.17-15.el5.i386 already installed and latest version
  43. Package binutils-2.17.50.0.6-14.el5.i386 already installed and latest version
  44. Package 1:cups-libs-1.3.7-18.el5.i386 already installed and latest version
  45. Package newt-0.52.2-15.el5.i386 already installed and latest version
  46. Package kpartx-0.4.7-34.el5.i386 already installed and latest version
  47. Package pcsc-lite-libs-1.4.4-1.el5.i386 already installed and latest version
  48. Package procps-3.2.7-16.el5.i386 already installed and latest version
  49. Package 2:tar-1.15.1-30.el5.i386 already installed and latest version
  50. Package system-config-securitylevel-tui-1.6.29.1-5.el5.i386 already installed and latest version
  51. Package 1:net-snmp-libs-5.3.2.2-9.el5.i386 already installed and latest version
  52. Package curl-7.15.5-9.el5.i386 already installed and latest version
  53. Package OpenIPMI-libs-2.0.16-7.el5.i386 already installed and latest version
  54. Package libgfortran-4.1.2-48.el5.i386 already installed and latest version
  55. Package libXrandr-1.1.1-3.3.i386 already installed and latest version
  56. Package compat-libevent11-1.1a-1.rhel5.i386 already installed and latest version
  57. Package device-mapper-multipath-0.4.7-34.el5.i386 already installed and latest version
  58. Package ntsysv-1.3.30.2-2.el5.i386 already installed and latest version
  59. Package paps-0.6.6-19.el5.i386 already installed and latest version
  60. Package crash-4.1.2-4.el5.centos.i386 already installed and latest version
  61. Package sendmail-8.13.8-8.el5.i386 already installed and latest version
  62. Package nscd-2.5-49.i386 already installed and latest version
  63. Package device-mapper-event-1.02.39-1.el5.i386 already installed and latest version
  64. Package lvm2-2.02.56-8.el5_5.1.i386 already installed and latest version
  65. Package openssh-4.3p2-41.el5.i386 already installed and latest version
  66. Package audit-libs-python-1.7.17-3.el5.i386 already installed and latest version
  67. Package policycoreutils-1.33.12-14.8.el5.i386 already installed and latest version
  68. Package libsmbclient-3.0.33-3.28.el5.i386 already installed and latest version
  69. Package samba-common-3.0.33-3.28.el5.i386 already installed and latest version
  70. Package pcsc-lite-1.4.4-1.el5.i386 already installed and latest version
  71. Package coolkey-1.1.0-14.el5.i386 already installed and latest version
  72. Package dnsmasq-2.51-1.el5.rf.i386 already installed and latest version
  73. Package 14:libpcap-0.9.4-15.el5.i386 already installed and latest version
  74. Package 1:dmidecode-2.10-3.el5.i386 already installed and latest version
  75. Package xorg-x11-server-Xvfb-1.1.1-48.76.el5_5.1.i386 already installed and latest version
  76. Package 12:dhclient-3.0.5-23.el5.i386 already installed and latest version
  77. Package iproute-2.6.18-11.el5.i386 already installed and latest version
  78. Package hmaccalc-0.9.6-3.el5.i386 already installed and latest version
  79. Package nss_ldap-253-25.el5.i386 already installed and latest version
  80. Package libgcj-4.1.2-48.el5.i386 already installed and latest version
  81. Package poppler-0.5.4-4.4.el5_4.11.i386 already installed and latest version
  82. Package poppler-utils-0.5.4-4.4.el5_4.11.i386 already installed and latest version
  83. Package parted-1.8.1-27.el5.i386 already installed and latest version
  84. Package libevent-1.4.13-1.i386 already installed and latest version
  85. Package pam_krb5-2.2.14-15.i386 already installed and latest version
  86. Package gail-1.9.2-3.el5_4.i386 already installed and latest version
  87. Package xdelta-1.1.4-1.el5.rf.i386 already installed and latest version
  88. Package numactl-0.9.8-11.el5.i386 already installed and latest version
  89. Package perl-Digest-SHA1-2.12-2.el5.rf.i386 already installed and latest version
  90. Package cpp-4.1.2-48.el5.i386 already installed and latest version
  91. Package nss_db-2.2-35.4.el5_5.i386 already installed and latest version
  92. Package libaio-0.3.106-5.i386 already installed and latest version
  93. Package mesa-libGL-6.5.1-7.8.el5.i386 already installed and latest version
  94. Package lftp-4.0.7-1.el5.rf.i386 already installed and latest version
  95. Package libXt-1.0.2-3.2.el5.i386 already installed and latest version
  96. Package syslinux-3.86-1.el5.rf.i386 already installed and latest version
  97. Package 2:nmap-5.00-1.el5.rf.i386 already installed and latest version
  98. Package samba-3.0.33-3.28.el5.i386 already installed and latest version
  99. Package samba-client-3.0.33-3.28.el5.i386 already installed and latest version
  100. Package openssh-clients-4.3p2-41.el5.i386 already installed and latest version
  101. Package openssh-server-4.3p2-41.el5.i386 already installed and latest version
  102. Package mdadm-2.6.9-3.el5.i386 already installed and latest version
  103. Package OpenIPMI-2.0.16-7.el5.i386 already installed and latest version
  104. Package 1:autofs-5.0.1-0.rc2.143.el5.i386 already installed and latest version
  105. Package 1:readahead-1.3-8.el5.i386 already installed and latest version
  106. Package oprofile-0.9.4-15.el5.i386 already installed and latest version
  107. Package 14:tcpdump-3.9.4-15.el5.i386 already installed and latest version
  108. Package rsync-3.0.7-1.el5.rf.i386 already installed and latest version
  109. Package acl-2.2.39-6.el5.i386 already installed and latest version
  110. Package iptstate-1.4-2.el5.i386 already installed and latest version
  111. Package audit-1.7.17-3.el5.i386 already installed and latest version
  112. Package sudo-1.7.2p1-6.el5_5.i386 already installed and latest version
  113. Package openldap-clients-2.3.43-12.el5.i386 already installed and latest version
  114. Package 1:cpuspeed-1.2.1-9.el5.i386 already installed and latest version
  115. Package sysklogd-1.4.1-46.el5.i386 already installed and latest version
  116. Package 1:microcode_ctl-1.17-1.50.el5.i386 already installed and latest version
  117. Package net-tools-1.60-81.el5.i386 already installed and latest version
  118. Package ksh-20100202-1.el5.i386 already installed and latest version
  119. Package at-3.1.8-84.el5.i386 already installed and latest version
  120. Package tcsh-6.14-17.el5.i386 already installed and latest version
  121. Package 2:mtr-0.75-1.el5.rf.i386 already installed and latest version
  122. Package vconfig-1.9-3.i386 already installed and latest version
  123. Package cadaver-0.22.5-1.el5.rf.i386 already installed and latest version
  124. Package yp-tools-2.9-1.el5.i386 already installed and latest version
  125. Package less-436-2.el5.i386 already installed and latest version
  126. Package checkpolicy-1.33.1-6.el5.i386 already installed and latest version
  127. Package gdb-7.0.1-23.el5.i386 already installed and latest version
  128. Package 1:valgrind-3.5.0-1.el5.i386 already installed and latest version
  129. Package ethtool-6-4.el5.i386 already installed and latest version
  130. Package dhcpv6-client-1.0.10-18.el5.i386 already installed and latest version
  131. Package libhugetlbfs-1.3-7.el5.i386 already installed and latest version
  132. Package pax-3.4-2.el5_4.i386 already installed and latest version
  133. Package dosfstools-2.11-9.el5.i386 already installed and latest version
  134. Package udftools-1.0.0b3-3.el5.rf.i386 already installed and latest version
  135. Package glibc-headers-2.5-49.i386 already installed and latest version
  136. Package glibc-devel-2.5-49.i386 already installed and latest version
  137. Package selinux-policy-2.4.6-279.el5.noarch already installed and latest version
  138. Package libstdc++-devel-4.1.2-48.el5.i386 already installed and latest version
  139. Package selinux-policy-targeted-2.4.6-279.el5.noarch already installed and latest version
  140. Package dogtail-0.6.1-3.el5.noarch already installed and latest version
  141. Package coolkey-devel-1.1.0-14.el5.i386 already installed and latest version
  142. Package firstboot-tui-1.4.27.8-1.el5.centos.i386 already installed and latest version
  143. Package curl-devel-7.15.5-9.el5.i386 already installed and latest version
  144. Package system-config-securitylevel-1.6.29.1-5.el5.i386 already installed and latest version
  145. Package sos-1.7-9.49.el5.noarch already installed and latest version
  146. Package pcsc-lite-devel-1.4.4-1.el5.i386 already installed and latest version
  147. Package newt-devel-0.52.2-15.el5.i386 already installed and latest version
  148. Package libacl-devel-2.2.39-6.el5.i386 already installed and latest version
  149. Package libsepol-devel-1.15.2-3.el5.i386 already installed and latest version
  150. Package openldap-devel-2.3.43-12.el5.i386 already installed and latest version
  151. Package system-config-services-0.9.4-5.el5.noarch already installed and latest version
  152. Package gcc-4.1.2-48.el5.i386 already installed and latest version
  153. Package gcc-c++-4.1.2-48.el5.i386 already installed and latest version
  154. Package gcc-gfortran-4.1.2-48.el5.i386 already installed and latest version
  155. Package dbus-libs-1.1.2-14.el5.i386 already installed and latest version
  156. Package dbus-1.1.2-14.el5.i386 already installed and latest version
  157. Package avahi-0.6.16-7.el5.i386 already installed and latest version
  158. Package hal-0.5.8.1-59.el5.i386 already installed and latest version
  159. Package dmraid-1.0.0.rc13-63.el5.i386 already installed and latest version
  160. Package avahi-compat-libdns_sd-0.6.16-7.el5.i386 already installed and latest version
  161. Package avahi-glib-0.6.16-7.el5.i386 already installed and latest version
  162. Package 1:wpa_supplicant-0.5.10-9.el5.i386 already installed and latest version
  163. Package dmraid-events-1.0.0.rc13-63.el5.i386 already installed and latest version
  164. Package gnome-vfs2-2.16.2-6.el5.i386 already installed and latest version
  165. Package 1:cups-1.3.7-18.el5.i386 already installed and latest version
  166. Package dbus-devel-1.1.2-14.el5.i386 already installed and latest version
  167. Package 1:NetworkManager-0.7.0-10.el5.i386 already installed and latest version
  168. Package 1:NetworkManager-glib-0.7.0-10.el5.i386 already installed and latest version
  169. Package mkinitrd-5.1.19.6-61.el5_5.1.i386 already installed and latest version
  170. Package module-init-tools-3.3-0.pre3.1.60.el5.i386 already installed and latest version
  171. Package 1:nfs-utils-1.0.9-44.el5.i386 already installed and latest version
  172. Package hwdata-0.213.18-1.el5.1.noarch already installed and latest version
  173. Package kernel-2.6.18-194.3.1.el5.i686 already installed and latest version
  174. Package systemtap-runtime-1.1-3.el5.i386 already installed and latest version
  175. Package systemtap-1.1-3.el5.i386 already installed and latest version
  176. Package kudzu-1.2.57.1.24-1.el5.centos.i386 already installed and latest version
  177. Package pciutils-2.2.3-8.el5_4.i386 already installed and latest version
  178. There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
  179. Nothing in the unfinished transaction to cleanup.
  180. Cleaning up completed transaction file

Now when running yum commands on this server I do not receive the warning message about yum transactions that need to be completed. The yum-complete-transaction application first checks for incomplete yum transactions, list the number of incomplete yum transactions, list the number of elements per transaction, complete the transactions, and then clean up the now completed yum transaction.

Fedora 10 Linux Administration, Networking, and Security (Paperback)


List Price: Click For Price
New From: 0 Out of Stock
Used from: $4.50 USD In Stock

The Definitive Guide to CentOS (Books for Professionals by Professionals) (Paperback)


List Price: $39.99 USD
New From: $24.06 USD In Stock
Used from: $11.97 USD In Stock

Share