[rhn-users] yum update from RHN

WANG Leo goat at alcatel-lucent.com
Fri Nov 21 00:49:20 UTC 2008


Michael,

Thanks a lot. It works.
Following are what I did according to your instruction.

I checked my /etc/yum.conf: plugins=1
I checked /etc/yum/pluginconf.d/rhnplugin.conf, its empty.
After I update /etc/yum/pluginconf.d/rhnplugin.conf and enter 
[main]
enabled = 1
gpgcheck = 1

yum update works fine and getting update now.

:-) Thanks again,
Leo W

-----Original Message-----
From: rhn-users-bounces at redhat.com [mailto:rhn-users-bounces at redhat.com] On Behalf Of Michael Mayer
Sent: 2008年11月21日 0:17
To: Discussions about Red Hat Network (rhn.redhat.com)
Subject: Re: [rhn-users] yum update from RHN

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.


_______________________________________________
rhn-users mailing list
rhn-users at redhat.com
https://www.redhat.com/mailman/listinfo/rhn-users




More information about the rhn-users mailing list