yum --downloadonly

Rahul Nabar <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Typically I use 'yum --downloadonly install foopackage' to download a
rpm to my master server and then push it out to a bunch of clustered
nodes via automated installation scripts.

Unfortunately, if foopackage is already installed this fails:

yum --downloadonly install perl.x86_64
[snip]
Package 4:perl-5.8.8-32.el5_5.1.x86_64 already installed and latest version
Nothing to do

Is there a workaround in such a situation to still be able to obtain
the rpm? The silly solution would be to uninstall, then downloadonly
and then reinstall.
I'm assuming yum is not configured to store every rpm by default.

-- 
Rahul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.