Strange package dependency problem

Swamper swamper at adelphia.net
Sun Mar 21 03:16:09 UTC 2004


William Hooper wrote:
> Swamper said:
> > To answer your question; yes, yum should update foo and merrily
> 
> An so what status does this program return?  Pass or fail?
> 
> I don't want programs (especially something like package updating) doing
> mysterious things.  If it can't do what I asked, I expect it to fail and
> leave my system alone.  If I try to execute a file that doesn't have the
> execute bit set, I get an error.  If I try to right to a directory I don't
> have permission to I get an error.  If I try to install multiple RPMs and
> one fails none are installed.  Yum should be no different.  I don't expect
> any update software to fix a broken package tree.

Then what is the point of this running daily?

###
cat /etc/cron.daily/yum.cron
#!/bin/sh
if [ -f /var/lock/subsys/yum ]; then
        /usr/bin/yum -R 10 -e 0 -d 0 -y update yum
        /usr/bin/yum -R 120 -e 0 -d 0 -y update
fi
###

What would be wrong with updating packages that don't have
dependency issues instead of aborting the whole process because
of one package that has problems?

Yum will be broke unless I edit that file and tell it to exclude
gdm.  Why should I need to run yum manually now and tell it to
skip that file?  Why can't it read my mind?  Personally, IDGARA
what status it returns.  It should update the packages that it
can and ignore the ones it can't.





More information about the test mailing list