PDA

View Full Version : fc2 up2date sources file


deech
1st June 2004, 12:58 AM
hi, can someone post an example of a working up2date sources file for FC2?

thanx for the effort ;)

greetz,
deech

Jman
1st June 2004, 09:25 AM
Enjoy. Also attached for your downloading pleasure. Note that it needs to be renamed to sources and put in /etc/sysconfig/rhn


### this describes the various package repos up2date will look into
### for packages. It currently supports apt-rpm repos, yum repos,
### and "dir" repos


### format is one 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

### When a channel-label is required for the non up2date repo's,
### the label is solely used as an internal identifier and is not
### based on the url or any other info from the repo.

### an apt style repo, this time arjanv's 2.6 kernel repo
### 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 that for apt repos, there can be multiple repo names specified
### space seperated.

### an yum style repo
### format:
### type channel-label url

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

#yum updates-released-fc2 ftp://ftp.software.umn.edu/pub/linux/fedora/core/updates/2/$ARCH/
#yum updates-released http://fedora.redhat.com/updates/released/fedora-core-1
#yum updates-released ftp://ftp.dulug.duke.edu/fedora/pub/fedora/linux/core/updates/1/i386
#yum updates-released ftp://ftp.tu-chemnitz.de/pub/linux/fedora-core/updates/1/i386/
#yum updates-released ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/updates/1/i386/

#yum updates-testing http://fedora.redhat.com/updates/testing/fedora-core-1

### a local directory full of packages
### format
#dir my-favorite-rpms-i386-9 /var/spool/RPMS/


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

### Custom Repositories
#yum livna-stable-fc1 http://rpm.livna.org/fedora/1/i386/yum/stable
#yum livna-testing-fc1 http://rpm.livna.org/fedora/1/i386/yum/testing
#yum livna-unstable-fc1 http://rpm.livna.org/fedora/1/i386/yum/unstable

Greenwood Travel Photos - Marbella Photos - LHay-les-Roses Travel Photos