Subject: | |
From: | |
Reply To: | |
Date: | Thu, 28 Jan 2010 04:11:49 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
-- Le (On) 2010-01-27 -0600 à (at) 10:48:57 P. Larry Nelson écrivit (wrote): --
> Hi Troy,
>
> Troy Dawson wrote:
> >Here is the script that yum-conf (not yum) runs on install to turn
> >itself on.
> >
> >/sbin/chkconfig --add yum
> >/sbin/chkconfig yum on
> >/sbin/service yum restart >> /dev/null
> >
> >If you had previously turned yum off
> > /sbin/chkconfig --level 2345 yum off
> >Then it is going to *stay* off.
> >
> >This has been in every yum-conf since SL 4.0, so I'm not quite sure what
> >is happening on your machines Steve.
> >
> >Troy
>
> I can't vouch for Steve, but in my case, I've never intentionally
> turned yum off. All our remaining 4.8 systems started out life as 4.6.
> The nightly yum always ran. Then after I upgraded to 4.8, that's when
> I started noticing that the systems weren't running the nightly yum.
> At the time, I was too busy to worry or care much about it as we started
> transitioning to 5.4. But I just had to rebuild a couple of compute
> servers that still need to run 4.8, and being too lazy to download
> and burn 4.8 discs, I used my old 4.6 discs and then followed the
> upgrade HowTo. Paid attention to what happened this time - thus my
> posting to the list.
>
> - Larry
>
Hi,
I see the same behaviour upgrading from 4.7 to 4.8 a few days ago
and looking at yum.log I see at the end of the upgrade :
...
Jan 23 00:06:35 Installed: yum-conf-4x.noarch 4:1-8.SL
Jan 23 00:06:36 Updated: iptables.i386 1.2.11-3.2.RHEL4
...
Jan 23 00:06:40 Updated: vixie-cron.i386 4:4.1-57.el4
Jan 23 00:06:43 Erased: yum-conf
so it seems the last preuninstall scriptlet did :
preuninstall scriptlet (using /bin/sh):
if [ $1 = 0 ]; then
/sbin/chkconfig --del yum
/sbin/service yum stop >> /dev/null
fi
I think the problem probably comes from the order of
installing yum-conf-4x and yum-conf.
--
Best regards,
Robert FRANCHISSEUR
____ Apollo_gist :-)_______________________________________________
| Robert FRANCHISSEUR |
| Laboratoire de Météorologie Dynamique - C.N.R.S. |
| Equipe "R.A.M.S.E.S." - UPMC - Tour 45-55 3ème 315C |
| Boite 99 - 4, place Jussieu F-75252 PARIS CEDEX 05 FRANCE |
| Phone : +33 (0)1 44 27 73 87 fax : +33 (0)1 44 27 62 72 |
| e-mail : robert at lmd . jussieu . fr http://www.lmd.jussieu.fr |
-------------------------------------------------------------------
|
|
|