PDA

View Full Version : up2date configuration


mattewers
2004-08-23, 14:25 PM
Can someone please post the original /etc/sysconfig/rhn/sources that's used on an SB box. I've edited mine several times,when playing with PLESK updates, that I can remember what's original :)

Im running RH 3ES (with PLESK 7 if it makes a difference).

Thanks!!

edogg
2004-08-23, 14:51 PM
I too have a RHES3 box with Plesk 7.0

cat /etc/sysconfig/rhn/sources
### 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 defalt rhn (using "default" as the url means
### use the one in the up2date config file
### This is required.
up2date default

### When a channel-label is required for the non up2date repo's,
### the label is soley 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 specificed
### space seperated.

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

#yum fedora-9-i386-stable http://download.fedora.us/fedora/redhat/9/i386/yum/stable


### an 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. Depenencies
# can be resolved "cross-repo" if need be.

mattewers
2004-08-23, 15:20 PM
Thanks edogg! Thats exactly what I needed.

Maybe now I can get things working again.