Hello, about one hour ago, I did a "yum update" on a remote centos 4.3 server. It said: Install 2 Package(s) Update 60 Package(s) Remove 0 Package(s) Total download size: 103 M Is this ok [y/N]: y then, after downloading: Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Running Transaction Updating : libgcc ##################### [ 1/124] Updating : python-urlgrabber ##################### [ 2/124] Updating : hwdata ##################### [ 3/124] and so on (note 124 packages, not 62), until it arrived at: Editing /etc/postfix/master.cf, adding missing entry for tlsmgr service Updating : yum ##################### [ 62/124] Cleanup : coreutils ##################### [ 63/124] Cleanup : net-tools ##################### [ 64/124] Cleanup : tar ##################### [ 65/124] Cleanup : postfix ##################### [ 66/124] Cleanup : file ##################### [ 67/124] Cleanup : grep ##################### [ 68/124] Cleanup : newt ##################### [ 69/124] Cleanup : python-sqlite ##################### [ 70/124] Cleanup : rpm-build ##################### [ 71/124] Cleanup : mkinitrd ##################### [ 72/124] Cleanup : e2fsprogs ##################### [ 73/124] and then nothing more. It has remained stuck at that line for almost one hour now. Is something funny happening? What should I do? Hit Control-C, halt the system from another shell (during an upgrade????)? or should I simply ignore it? I have no problem to reinstall/reconfigure something if need be. I'm just worried to lose any contact with the server if I do the wrong thing during an apparently frozen update. TIA, Marco
Marco, Its in the cleanup stage, so at this point its removing the headers and rpms I believe. Your system is updated, and isnt getting any revelant information from the package servers. Someone correct me if I'm wrong. Mike On 9/11/06, M. Fioretti <mfioretti at mclink.it> wrote:> Hello, > > about one hour ago, I did a "yum update" on a remote centos 4.3 > server. It said: > > Install 2 Package(s) > Update 60 Package(s) > Remove 0 Package(s) > Total download size: 103 M > Is this ok [y/N]: y > > then, after downloading: > > Running Transaction Test > Finished Transaction Test > Transaction Test Succeeded > Running Transaction > > Running Transaction > Updating : libgcc ##################### [ 1/124] > Updating : python-urlgrabber ##################### [ 2/124] > Updating : hwdata ##################### [ 3/124] > > and so on (note 124 packages, not 62), until it arrived at: > > > Editing /etc/postfix/master.cf, adding missing entry for tlsmgr service > Updating : yum ##################### [ 62/124] > Cleanup : coreutils ##################### [ 63/124] > Cleanup : net-tools ##################### [ 64/124] > Cleanup : tar ##################### [ 65/124] > Cleanup : postfix ##################### [ 66/124] > Cleanup : file ##################### [ 67/124] > Cleanup : grep ##################### [ 68/124] > Cleanup : newt ##################### [ 69/124] > Cleanup : python-sqlite ##################### [ 70/124] > Cleanup : rpm-build ##################### [ 71/124] > Cleanup : mkinitrd ##################### [ 72/124] > Cleanup : e2fsprogs ##################### [ 73/124] > > and then nothing more. It has remained stuck at that line for almost one > hour now. Is something funny happening? What should I do? Hit Control-C, > halt the system from another shell (during an upgrade????)? > or should I simply ignore it? > > I have no problem to reinstall/reconfigure something if need be. I'm just > worried to lose any contact with the server if I do the wrong thing > during an apparently frozen update. > > TIA, > Marco > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
Le lundi 11 septembre 2006 21:26, M. Fioretti a ?crit?:> Hello, > > about one hour ago, I did a "yum update" on a remote centos 4.3 > server. It said:[...]> Cleanup : e2fsprogs ##################### [ 73/124] > > and then nothing more. It has remained stuck at that line for almost one > hour now. Is something funny happening? What should I do? Hit Control-C, > halt the system from another shell (during an upgrade????)? > or should I simply ignore it? > > I have no problem to reinstall/reconfigure something if need be. I'm just > worried to lose any contact with the server if I do the wrong thing > during an apparently frozen update. > > TIA, > Marcoerm, well, I got that too (freeze of yum update in cleanup stage). When I finally went to the console, the server was spitting lots of ext3 (filesystem) error messages :-( I had no other option than restart the barbarian way (I had the magic SysRq disabled, so maybe you can avoid that), the filesystem check seemed to do his job, but then I had a number of duplicate packages, which I cleaned using that command given by Scott Silva on september 1st in "4.4 yum update problem" thread: for file in `rpm -qa --queryformat="%{NAME} %{ARCH}\n" | sort | uniq -c | grep -v " 1 " | cut -c 9- | cut -d" " -f1`; do rpm -q --last $file | tail -1 | cut -d" " -f1; done | grep -v gpg-pubkey | xargs rpm -e --justdb --nodeps 2> /tmp/dupes (all on one line) So I'd say check if there are messages on the console, and wait a little for comments from people in the know to see if there are better advices...
M. Fioretti
2006-Sep-11 20:58 UTC
[CentOS] Yum update frozen: -bash: child setpgid (9021 to 9021): No such process
On Mon, Sep 11, 2006 21:26:19 PM +0200, io (mfioretti at mclink.it) wrote:> about one hour ago, I did a "yum update" on a remote centos 4.3 > server. It said:> Cleanup : mkinitrd ##################### [ 72/124] > Cleanup : e2fsprogs ##################### [ 73/124] > > and then nothing more. It has remained stuck at that line for almost > one hour now.Hello, it's me again. I don't know if it's relevant, but I have connected via ssh as normal user without seeing any error. Then, when I switch to root, I get: $ su - -bash: child setpgid (9021 to 9021): No such process Password: I have seen via Google that others, to fix these warnings, suggested to: "mv /lib/tls /tls-disabled as noted in the 2.6 kernel announcements." No problem from me to do that. Just dubious if (considering the hanged update) it is something to do before, after, instead typing "halt" at this second ssh window I have. Thoughts, comments, explanations of what is actually happening? Thanks in advance for any feedback, Marco