How to up2date from named site

Mike Klinke lsomike at futzin.com
Mon Dec 8 03:30:41 UTC 2003


On Monday 08 December 2003 01:54, Timothy Murphy wrote:
> Can I use up2date to collect RPMs
> from a site not mentioned in /etc/sysconfig/rhn/sources ,
> without modifying this file?
> If so, what command exactly should I give?

Doesn't appear to be one available in spite of "man up2date" showing 
there is.  From "man up2date":

--serverURL=<url>  Specify what server url to use.

and this chokes if you try to run it.

>From the command line "up2date --help" it seems the syntax is slightly 
different: (note the case of the last 2 letters in the switch)

--serverUrl=<url>   Specify what server url to use

and this one appears to get accepted by the command line but when run it 
doesn't appear  to have any effect as it still only goes and checks at 
the sites specified in the sources file:

03:25:30 # up2date --nox 
--serverUrl=http://fedora.redhat.com/updates/testing/fedora-core-1 
--dry-run -u

==================
Fetching package list for channel: fedora-core-1...

Fetching 
http://fedora.redhat.com/releases/fedora-core-1/headers/header.info...
########################################

Fetching package list for channel: updates-released...

Fetching 
http://fedora.redhat.com/updates/released/fedora-core-1/headers/header.info...
########################################

Fetching Obsoletes list for channel: fedora-core-1...

Fetching Obsoletes list for channel: updates-released...
=======================

Regards,  Mike Klinke
 





More information about the fedora-list mailing list