Re: yum update from RHN

Michael Mayer <[email protected]>
Newsgroups gmane.linux.redhat.rhn.user
Message-ID <[email protected]>
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
> [email protected]
> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.