Pages

No packages marked for update message is returned when using yum with rhn_register

After registering redhat linux system for rhn, yum update command returned "No Packages marked for Update"

# yum update
Loaded plugins: downloadonly, security
Setting up Update Process
No Packages marked for Update

This is because of rhnplugin is disabled. "enabled = 0" has to bechanged to "1" in the /etc/yum/pluginconf.d/rhnplugin.conf file:

[main]
enabled = 0
gpgcheck = 1

# You can specify options per channel, e.g.:
#
#[rhel-i386-server-5]
#enabled = 1
#
#[some-unsigned-custom-channel]
#gpgcheck = 0

After that check yum repolist:
# yum -v repolist
Loading "rhnplugin" plugin
Loading "security" plugin
Config time: 0.044
Looking for repo options for [rhel-x86_64-server-5]
Yum Version: 3.2.22
rhel-x86_64-server-5                            | 1.4 kB     00:00     
rhel-x86_64-server-5/primary              | 4.6 MB     00:01     
rhel-x86_64-server-5                            13380/13380
Repo-id     : rhel-x86_64-server-5
Repo-name   : Red Hat Enterprise Linux (v. 5 for 64-bit x86_64)
Repo-status : enabled:
Repo-updated: Tue Mar  6 13:19:52 2012
Repo-pkgs   : 13,380
Repo-size   : 23 G
Repo-baseurl: https://xmlrpc.rhn.redhat.com/XMLRPC/GET-REQ/rhel-x86_64-server-5                                                                                    | 1.4 kB     00:00 



No comments:

Post a Comment