Re: apt, yum, up2date, smartpm, ... ?
"Jose' Matos" <[email protected]>
| Newsgroups | gmane.linux.freshrpms.user |
|---|---|
| Message-ID | <[email protected]> |
On Thursday 22 September 2005 15:04, Martín Marqués wrote:
> > sudo service yum stop
> > sudo chkconfig yum off
> >
> > That way, you won't have /var/lock/subsys/yum, and you won't get
> > automatic updates.
>
> Sorry, didn't see that. :-)
>
> Yum has always been down, so in that case, it ok.
My cron.daily is different:
#!/bin/sh
if [ -f /var/lock/subsys/yum ]; then
/usr/bin/yum -R 120 -e 0 -d 0 -y update yum
/usr/bin/yum -R 10 -e 0 -d 0 -y shell /etc/yum/yum-daily.yum
fi
If you don't want yum to be updated daily remove the first line. For it it
to show the updates yum-daily should then be:
----------------------------------------------
update
ts solve
ts list
exit
----------------------------------------------
Order an update, solve the dependencies, list them and exit. Nice and clean.
The yum service only creates /var/lock/subsys/yum and removes it when it
exits. The logic is quite simple.
> Now, where can I find that check4updates script?
That is a leftover from one of Axel scripts, I have since removed it
repository from my configuration but the idea is the same, and quite neat
IMHO. :-)
--
José Abílio