wrong channel???

Edward edward at tripled.iinet.net.au
Tue Dec 21 02:45:55 UTC 2004



Jim wrote:

> update to original post  
> here is my rhn- source file   (/etc/sysconfig/rhn/sources)
> **************************************************************************************************
> ### an yum style repo 
> ### format:
> ### type  channel-label     url 
> #up2date default
> yum fedora-core-2
> http://download.fedora.redhat.com/pub/fedora/linux/core/2/$ARCH/os/
> yum updates-released-fc2
> http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/$ARCH/
> 
> yum-mirror fedora-core-2
> http://fedora.redhat.com/download/up2date-mirrors/fedora-core-2
> yum-mirror updates-released-fc2
> http://fedora.redhat.com/download/up2date-mirrors/updates-released-fc2
> #yum updates-testing
> http://fedora.redhat.com/updates/testing/fedora-core-$releasever
> #yum-mirror updates-testing
> http://fedora.redhat.com/download/up2date-mirrors/updates-testing
> *******************************************************************************************************

Well, mate, that's obviously wrong isn't it?

You can just change the 2s to 3s or use this one, which is the default 
one that installed for me when I installed FC3:

### This describes the various package repositories (repos) that up2date 
will
### query for packages. It currently supports apt-rpm, yum, and "dir" repos.

### Format is one repository (repo) entry per line, # starts comments, the
### first word on each line is the type of repo.

### The default RHN (using "default" as the url means use the one in the
### up2date config file).
#up2date default

### Note: when a channel label is required for the non up2date repos,
### the label is solely used as an internal identifier and is not
### based on the url or any other info from the repos.

### An apt style repo (the example is arjan's 2.6 kernel repo).
### The format is:
### type  channel-label      service:server	    path        repo name
#apt arjan-2.6-kernel-i386 http://people.redhat.com ~arjanv/2.5/ kernel

### Note: for apt repos, there can be multiple repo names specified (space
### seperated).

### A yum style repo. The format is:
### type  channel-label     url

yum fedora-core-3 
http://download.fedora.redhat.com/pub/fedora/linux/core/3/$ARCH/os/
yum updates-released-fc3 
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/$ARCH/

yum-mirror fedora-core-3 
http://fedora.redhat.com/download/up2date-mirrors/fedora-core-3
yum-mirror updates-released-fc3 
http://fedora.redhat.com/download/up2date-mirrors/updates-released-fc3

#yum updates-testing 
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/3/$ARCH/
#yum-mirror updates-testing 
http://fedora.redhat.com/download/up2date-mirrors/updates-testing-fc3

#yum development 
http://download.fedora.redhat.com/pub/fedora/linux/core/development/$ARCH/
#yum-mirror development 
http://fedora.redhat.com/download/up2date-mirrors/fedora-core-rawhide

### A local directory full of packages (a "dir" repo). For example:
#dir my-favorite-rpms /var/spool/RPMS/

# Multiple versions of all repos except "up2date" can be used. Dependencies
# can be resolved "cross-repo" if need be.

Regards,
Ed.




More information about the fedora-list mailing list