Curious problem with yum

Brian Mury brianmury at alumni.uvic.ca
Thu Nov 12 19:10:37 UTC 2009


On Thu, Nov 12, 2009 at 08:39, stan <gryt2 at q.com> wrote:
> The workaround for this sort of thing is to do something like the
> following:
>
> yum list updates > updates
> vim updates (or your favorite text editor)
> insert a #! /bin/bash at the top
> record a macro that converts each line to yum -y update package-name
> (the lines sometimes wrap because names are so long)
> chmod +x updates
> ./updates
>
> This takes longer to run because dependency checking is done on every
> package. But it does the job.
>
> Alternatively, you could just change it into one large update with the
> offending packages removed, and backslash continuation on each line.
> Much faster runtime.

That's the hard way! Just do this:

yum install yum-skip-broken
yum update  --skip-broken




More information about the users mailing list