[Yum] Bleeding edge avoidence

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

 



On Fri, Sep 01, 2006 at 12:45:27PM -0500, Les Mikesell wrote:
> On Fri, 2006-09-01 at 11:56 -0400, seth vidal wrote:
> > > > > One way to do "download only" with current yum itself is to set 
> > > > > tsflags=test in yum.conf, that way it'll just perform a transaction test 
> > > > > but not actually do anything to the system. Or you can write a five-line 
> > > > > plugin to make it stop once download completes.
> > > > > 
> > > > 
> > > > the downloadonly plugin already exists in yum-utils.
> > > 
> > > And the documentation?
> > 
> > what documentation? It's a one trick pony.
> > 
> > After the packages are downloaded it exits.
> > 
> > that's it!
> 
> Well, give me a hint about what the trick is, then.  It
> doesn't re-enable the --download-only option that older
> versions of yum had.  How do you run it and how does it
> know what to download?

OK, I take the point made earlier that you are not using FC and that you couldn't use yum to get and install the package which will help you solve your problem. I also understand that the version of yum your using does not have the --download-only option and that this is plainly what you would like to use.

At this point, I'm going to make some assumptions.
1. That your version of yum is capable of accepting the python plugins.
2. That the manual installation of an outside rpm on your system is something you are willing to do.
3. That the rpm used in my example is compatible with your system.

Here is what you would do:
Confirm your yum version for point (1) above. Mine is 2.6.0.
Download the appropriate rpm from the internet and install it. I'll list the content for your convenience...
[tforbes@tforbes-88 temp]$ rpm -qpl yum-downloadonly-0.6-2.fc5.noarch.rpm
/etc/yum/pluginconf.d/downloadonly.conf
/usr/lib/yum-plugins/downloadonly.py
/usr/lib/yum-plugins/downloadonly.pyc
/usr/lib/yum-plugins/downloadonly.pyo

Run yum with the --downloadonly flag enabled...
[root@tforbes-88 etc] yum --downloadonly update vixie-cron


 
> -- 
>   Les Mikesell
>     lesmikesll@xxxxxxxxx
> 
> 
> _______________________________________________
> Yum mailing list
> Yum@xxxxxxxxxxxxxxxxxxxx
> https://lists.dulug.duke.edu/mailman/listinfo/yum

-- 
timforbes(at)canada(dot)com
tforbes(at)greenbullfrog(dot)com
tf(at)greenbullfrog(dot)com

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux