[rhn-users] yum update from RHN

Michael Mayer mmayer at redhat.com
Thu Nov 20 16:16:52 UTC 2008


WANG Leo wrote:
>
> When I issue yum update I always get “No Packages marked for Update”. 
> But I’m sure I have lots of package to update. When login RHN web and 
> view my subscribed system. It shows a lot of errat need to be updated.
>
> What shall I check?
>
> I only have one file under /etc/yum.repos.d
>
> rhel-debuginfo.repo
>
> And contents is as follow
>
> name=Red Hat Enterprise Linux $releasever - $basearch - Debug
>
> baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/
>
> enabled=1
>
> gpgcheck=1
>
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
Hi,

1) the connection to RHN is done via yum-rhn-plugin (and not via a 
special entry in yum.repos.d - this is only used for debuginfo RPMs), so 
make sure you have that package installed.

2) make sure that "plugins=12 in /etc/yum.conf

3) check that in /etc/yum/pluginconf.d/rhnplugin.conf you have

[main]
enabled = 1
gpgcheck = 1

Then the next run of "yum update" should show something like 'Loading 
"rhnplugin" plugin' and everything should be fine. If not, past the 
output of "yum update" here so we can look into that further.

Michael.





More information about the rhn-users mailing list