It's part of the yum-utils rpm which is not
installed by default in SL but is available via yum install
If you're running a Red Hat 5 system (as opposed to SL5)
it's indispensable to have yum-complete-transaction; you end
up using it a lot.
Steve
On Thu, 12 Nov 2009, P. Larry Nelson wrote:
Troy Dawson wrote on 11/12/2009 1:43 PM:
OK, just shows that no matter how well you test something, you never know
until it goes live.
Well, I'll pull the cups update out of the repo's, and leave the rpm part
in. I'll make a note to push cups out in a couple weeks.
Sorry about that.
Troy
No prob. But I am curious about this 'yum-complete-transaction' command
that's mentioned in the 5.x version of the yum man page (not in 4.x)
but is not found as a command.
Thanks again!
- Larry
P. Larry Nelson wrote:
Troy,
Troy Dawson wrote on 11/12/2009 1:18 PM:
Back when we originally tried to release this version of cups, we
determined that a newer version of rpm was needed.
But in our tests, we didn't have any systems just hang. They all were
spewing these odd messages.
What happens if you update rpm before updating cups?
That works. (at least on one system I'm testing on).
For the detail-minded:
I tried killing off the hung processes - the first two, the yum.cron
and the awk, died just fine. The python needed a 'kill -9'.
Then doing a 'yum update rpm*', I got the message:
There are unfinished transactions remaining. You might consider running
yum-complete-transaction first to finish them.
Turns out, 'yum-complete-transaction' *is* mentioned in the man page
for yum, but my system can't find it - command not found. I tried
running it after the rpm update. Instead, I just ran another 'yum update'
and the cups and nfs-utils (the only other one left to do) updated
just fine.
Thanks Troy!
- Larry
Maybe we need to pull cups out of the repo for a week or two while rpm
get's updated on older SL 5 systems.
Troy
Steven J. Yellin wrote:
I saw it last night, too, and it happened again when I tried "yum
update" a few minutes ago (not long after noon CST) after rebooting an
SL5.1 machine.
Steven Yellin
On Thu, 12 Nov 2009, P. Larry Nelson wrote:
Hi,
Is anyone else seeing last nite's update "hang" on SL5.1 systems?
Near as I can tell, it's hanging on cups-1.3.7-11.el5_4.3.
I have 3 SL5.1 systems (all the 5.3 systems updated just fine)
that I did not get yum cron email from this morning, so went
investigating.
A 'ps auxw | grep yum' on one of the 5.1 systems yields:
root 10050 0.0 0.0 2372 960 ? S 02:55 0:00
/bin/sh /etc/cron.daily/yum.cron
root 10051 0.0 0.0 2124 580 ? S 02:55 0:00 awk -v
progname=/etc/cron.daily/yum.cron progname {????? print progname
":\n"????? progname="";???? }???? { print; }
root 11422 0.1 3.1 58104 49768 ? S 03:53 0:46
/usr/bin/python /usr/bin/yum -c /tmp/yum.temp.config -e 0 -d 1 -y
update
=============================================================================
Looking at /var/log/yum.log, I see:
Nov 12 03:58:58 Updated: popt-1.10.2.3-18.el5.i386
Nov 12 03:58:59 Updated: nfs-utils-lib-1.0.8-7.6.el5.i386
Nov 12 03:59:02 Updated: 1:cups-libs-1.3.7-11.el5_4.3.i386
Nov 12 03:59:03 Installed: nspr-devel-4.7.6-1.el5_4.i386
Nov 12 03:59:05 Installed: nss-devel-3.12.3.99.3-1.el5_3.2.i386
=============================================================================
So, the cups-libs got installed.
On one of the 5.1 systems, last nite's yum did not run for some reason,
so I did it by hand and sure enough, it's stalled on cups (see end of
screen output below)
Screen output from the manual update:
[r...@elog ~]# yum update --exclude=evolution*
Loaded plugins: kernel-module
sl-security 100% |=========================| 951 B
00:00
primary.xml.gz 100% |=========================| 817 kB
00:00
sl-security
2157/2157
sl-base 100% |=========================| 1.1 kB
00:00
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package nfs-utils.i386 1:1.0.9-42.el5 set to be updated
---> Package cups.i386 1:1.3.7-11.el5_4.3 set to be updated
---> Package nfs-utils-lib.i386 0:1.0.8-7.6.el5 set to be updated
---> Package rpm-python.i386 0:4.4.2.3-18.el5 set to be updated
---> Package popt.i386 0:1.10.2.3-18.el5 set to be updated
---> Package rpm-devel.i386 0:4.4.2.3-18.el5 set to be updated
--> Processing Dependency: nss-devel for package: rpm-devel
---> Package rpm.i386 0:4.4.2.3-18.el5 set to be updated
---> Package cups-libs.i386 1:1.3.7-11.el5_4.3 set to be updated
---> Package rpm-libs.i386 0:4.4.2.3-18.el5 set to be updated
---> Package rpm-build.i386 0:4.4.2.3-18.el5 set to be updated
--> Running transaction check
---> Package nss-devel.i386 0:3.12.3.99.3-1.el5_3.2 set to be updated
--> Processing Dependency: nspr-devel >= 4.6.99 for package: nss-devel
--> Running transaction check
---> Package nspr-devel.i386 0:4.7.6-1.el5_4 set to be updated
--> Finished Dependency Resolution
Beginning Kernel Module Plugin
Finished Kernel Module Plugin
Dependencies Resolved
=======================================================================================================================================
Package Arch Version
Repository Size
=======================================================================================================================================
Updating:
cups i386
1:1.3.7-11.el5_4.3 sl-security 3.4 M
cups-libs i386
1:1.3.7-11.el5_4.3 sl-security 195 k
nfs-utils i386 1:1.0.9-42.el5
sl-security 381 k
nfs-utils-lib i386 1.0.8-7.6.el5
sl-security 55 k
popt i386 1.10.2.3-18.el5
sl-security 74 k
rpm i386 4.4.2.3-18.el5
sl-security 1.2 M
rpm-build i386 4.4.2.3-18.el5
sl-security 301 k
rpm-devel i386 4.4.2.3-18.el5
sl-security 1.2 M
rpm-libs i386 4.4.2.3-18.el5
sl-security 927 k
rpm-python i386 4.4.2.3-18.el5
sl-security 59 k
Installing for dependencies:
nspr-devel i386 4.7.6-1.el5_4
sl-security 112 k
nss-devel i386
3.12.3.99.3-1.el5_3.2 sl-security 228 k
Transaction Summary
=======================================================================================================================================
Install 2 Package(s)
Update 10 Package(s)
Remove 0 Package(s)
Total download size: 8.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/12): nfs-utils-lib-1.0 100% |=========================| 55 kB
00:00
(2/12): rpm-python-4.4.2. 100% |=========================| 59 kB
00:00
(3/12): popt-1.10.2.3-18. 100% |=========================| 74 kB
00:00
(4/12): nspr-devel-4.7.6- 100% |=========================| 112 kB
00:00
(5/12): cups-libs-1.3.7-1 100% |=========================| 195 kB
00:00
(6/12): nss-devel-3.12.3. 100% |=========================| 228 kB
00:00
(7/12): rpm-build-4.4.2.3 100% |=========================| 301 kB
00:00
(8/12): nfs-utils-1.0.9-4 100% |=========================| 381 kB
00:00
(9/12): rpm-libs-4.4.2.3- 100% |=========================| 927 kB
00:00
(10/12): rpm-4.4.2.3-18.e 100% |=========================| 1.2 MB
00:00
(11/12): rpm-devel-4.4.2. 100% |=========================| 1.2 MB
00:00
(12/12): cups-1.3.7-11.el 100% |=========================| 3.4 MB
00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : popt [
1/22]
Updating : nfs-utils-lib [
2/22]
Updating : cups-libs [
3/22]
Installing : nspr-devel [
4/22]
Installing : nss-devel [
5/22]
Updating : cups ############## [
6/22]
=============================================================================
And there it sits, not getting any more cpu time.
Any ideas Troy & Connie?
Thanks!
- Larry
--
P. Larry Nelson (217-244-9855) | Systems/Network Administrator
461 Loomis Lab | High Energy Physics Group
1110 W. Green St., Urbana, IL | Physics Dept., Univ. of Ill.
MailTo:[email protected] | http://www.roadkill.com/lnelson/
-------------------------------------------------------------------
"Information without accountability is just noise." - P.L. Nelson
--
------------------------------------------------------------------
Steven C. Timm, Ph.D (630) 840-8525
[email protected] http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.