Hello everyone,
I had to kill yum while it's on the cleanup stage (somehow it stalled so i killed it).
Should I be worried about anything in this situation? If so, how do I go about fixing it?
Thanks and best regards, Matt
-- Stand before it and there is no beginning. Follow it and there is no end. Stay with the ancient Tao, Move with the present.
On 25/03/06, Matt Arnilo S. Baluyos (Mailing Lists) matt.baluyos.lists@gmail.com wrote:
Hello everyone,
I had to kill yum while it's on the cleanup stage (somehow it stalled so i killed it).
Should I be worried about anything in this situation? If so, how do I go about fixing it?
I had to do that on one of our servers the other day after a 4.2 -> 4.3 Yum update. I was a little worried but after reboot the system seemed fine.
Eep. Actually, checking more closely, I appear to have ended up in the same state as Dave in the "futex.. How to remove lots of duplicate packages" thread...
http://lists.centos.org/pipermail/centos/2006-March/thread.html#21387
I have a bunch of duplicate packages I'm going to have to sort through manually and remove the older versions...
rpm -qa --qf "%{NAME}.%{arch}\n" | sort | uniq -d apr.i386 audit.i386 autofs.i386 bzip2.i386 centos-release.i386 centos-yumconf.noarch chkconfig.i386 comps.i386 cpp.i386 cups.i386 curl.i386 dhcpv6_client.i386 diskdumputils.i386 e2fsprogs.i386 file.i386 gcc.i386 gd.i386 glibc-common.i386 glibc-devel.i386 glibc-headers.i386 gnupg.i386 gpg-pubkey.(none) hal.i386 httpd.i386 iputils.i386 kernel.i686 krb5-libs.i386 krb5-workstation.i386 libgcc.i386 libpng.i386 libuser.i386 lvm2.i386 MAKEDEV.i386 mdadm.i386 module-init-tools.i386 nscd.i386 openssh-clients.i386 openssh.i386 openssh-server.i386 openssl.i686 pam.i386 pcmcia-cs.i386 popt.i386 psacct.i386 python.i386 rhnlib.noarch rpm-build.i386 rpm.i386 rpm-libs.i386 selinux-policy-targeted.noarch sendmail.i386 sysstat.i386 tzdata.noarch udev.i386 util-linux.i386 xorg-x11-libs.i386 xorg-x11-Mesa-libGL.i386 ypbind.i386 yum.noarch
Crap. :)
Will.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sat, Mar 25, 2006 at 06:29:31PM +0000, Will McDonald wrote:
On 25/03/06, Matt Arnilo S. Baluyos (Mailing Lists) matt.baluyos.lists@gmail.com wrote:
Hello everyone,
I had to kill yum while it's on the cleanup stage (somehow it stalled so i killed it).
Should I be worried about anything in this situation? If so, how do I go about fixing it?
I had to do that on one of our servers the other day after a 4.2 -> 4.3 Yum update. I was a little worried but after reboot the system seemed fine.
Eep. Actually, checking more closely, I appear to have ended up in the same state as Dave in the "futex.. How to remove lots of duplicate packages" thread...
Just hope that is all you've got wrong. The one time I did that, I ended up with a lot of files without selinux context assigned to them. It was a nightmare.
[]s
- -- Rodrigo Barbosa rodrigob@suespammers.org "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
Will McDonald wrote:
On 25/03/06, Matt Arnilo S. Baluyos (Mailing Lists) matt.baluyos.lists@gmail.com wrote:
Hello everyone,
I had to kill yum while it's on the cleanup stage (somehow it stalled so i killed it).
Should I be worried about anything in this situation? If so, how do I go about fixing it?
I had to do that on one of our servers the other day after a 4.2 -> 4.3 Yum update. I was a little worried but after reboot the system seemed fine.
Eep. Actually, checking more closely, I appear to have ended up in the same state as Dave in the "futex.. How to remove lots of duplicate packages" thread...
http://lists.centos.org/pipermail/centos/2006-March/thread.html#21387
I have a bunch of duplicate packages I'm going to have to sort through manually and remove the older versions...
rpm -qa --qf "%{NAME}.%{arch}\n" | sort | uniq -d apr.i386 audit.i386 autofs.i386
<<snip>>
ypbind.i386 yum.noarch
Crap. :)
Will.
Indeed. "Crap" and its alias. I had a similar experience in updating 4.1 --> 4.2 and wound up reinstalling and restoring data in my /home directory. :-(
On 3/26/06, Will McDonald wmcdonald@gmail.com wrote:
I have a bunch of duplicate packages I'm going to have to sort through manually and remove the older versions...
rpm -qa --qf "%{NAME}.%{arch}\n" | sort | uniq -d apr.i386 audit.i386 .... xorg-x11-Mesa-libGL.i386 ypbind.i386 yum.noarch
Thanks everyone for the reply.
Yes, I did get lots of duplicate packages but I've already fixed that. Basically, what I did was to run Adam Stoke's script to remove duplcate packages. It can be located at http://astokes.org/?q=node/49
After the duplicate packages were removed, I then did a yum -y update again - ended up downloading ~160mb packages all over again but the update went cleanly this time.
Best Regards, Matt
-- Stand before it and there is no beginning. Follow it and there is no end. Stay with the ancient Tao, Move with the present.