shortie wrote:
hi, everyone
after updating /etc/yum.conf, `yum -update` now works.
after updating /etc/sysconfig/rhn/sources, rhn-applet now shows
update-pending warning sign.
when i choose 'start up2date' in rhn-applet, the program stops at
'This system may not be updated until it is associated with a channel.'
what am i missing?
many thanks.
btw, I have update rhn-applet to 2.1.4 in test release.
Since you did an upgrade, the /etc/sysconfig/rhn/sources file was
probably kept as originally set up. There should be a file called
/etc/sysconfig/rhn/sources.rpmnew which will be setup to the information
that you need.
Attached to the message is my version of sources.works-for-me
Jim
--
An exciting adventure in downtown Maybury is in your future.
### 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 for RHN accounts.
### Uncomment line if using a suported release
### 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
# apt freshrpms http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms
### Note that for apt repos, there can be multiple repo names specificed
### space seperated. (This will display as seperate channels in up2date)
### an yum style repo
### format:
### type channel-label url
#yum fedora-$ARCH-os http://download.fedora.us/fedora/redhat/0.94/$ARCH/yum/os/
yum fedora-$ARCH-os http://download.fedora.redhat.com/pub/fedora/linux/core/1/i386/os/
yum fedora-$ARCH-Updates http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/i386/
yum fedora-$ARCH-Testing http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/1/i386/
### Below are special channels for multimedia and development rpms
### Uncomment lines for programs on the below repositories
yum livna-stable http://rpm.livna.org/fedora/0.95/i386/yum/stable
yum livna-testing http://rpm.livna.org/fedora/0.95/i386/yum/testing
yum livna-unstable http://rpm.livna.org/fedora/0.95/i386/yum/unstable
# yum fedora-devel http://download.fedora.redhat.com/pub/fedora/linux/core/development/
### 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. Dependencies
# can be resolved "cross-repo" if need be.