RE: yum update from RHN

"WANG Leo" <[email protected]>
Newsgroups gmane.linux.redhat.rhn.user
Message-ID <F0B0DC23891DED40980E6977D12342A8A34129@CNSHGSMBS05.ad4.ad.alcatel.com>
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: [email protected] [mailto:[email protected]] 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
> [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.


_______________________________________________
rhn-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhn-users
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.