Re: yum "what you can" option?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I came up with a very similar solution.  It is taking forever, though,
because it has to go out and download the repository headers every time.
I tried using "yum makecache" and then "yum -C -y ..." in hopes that it
would get header information from the cache but it seems that the "-C"
expects both the header AND rpm to be cached. I could not find an option
to download the rpms with the headers so am a bit confused as to the
value of "makecache". 

Anyway, I appreciate the responses. They let me know I was on the right
path.

On Wed, 2005-12-07 at 18:05 -0500, Dave Jones wrote:
> On Wed, Dec 07, 2005 at 03:42:55PM -0700, Paul Lemmons wrote:
>  > I may be just missing it but is there an option with yum that will let
>  > it install everything that does not fail a dependency test? For example,
>  > if I do a "yum -y update" and there are 100 things that it sees to
>  > update and one of the items can not install because there is an
>  > unresolved dependency, the other 99 that could have been updated do not
>  > get updated. I would like to be able to get the 99 on and then work out
>  > the problem with the 1 later.
> 
> This has come up in the past. The last time I suggested it, Seth had
> objections.  So I've been using this in the meantime..
> 
> yum list updates | awk '{ print $1 }' > .packages
> for i in `cat .packages`;
> do
>         yum -y update $i
> done
> rm -f .packages
> 
> 		Dave
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux