[Yum] RHEL 5.7 yum conf? ('yum grouplist' failing)

Ljubomir Ljubojevic office at plcomputers.net
Thu Dec 29 02:12:13 UTC 2011


On 12/29/2011 12:29 AM, yum at trodman.com wrote:
> Thanks for your help!
>
> On Wed 12/28/11 23:02 +0100 "Ljubomir Ljubojevic" wrote:
> --snip
>> Give us for starters output of:
>> yum repolist
>
> (original post had 'yum repolist')

Sorry about that. There was no empty lines between the outputs, so I 
overlooked it.

>
>> yum list \*release\*
>
> Here you are:
>    # yum repolist
>    Loaded plugins: security
>    repo id                                        repo name                                      status
>    base-local                                     Redhat 5.6                                     3,357
>    repolist: 3,357
>    # yum list \*release\*
>    Loaded plugins: security
>    Installed Packages
>    redhat-release.x86_64                              5Server-5.7.0.3                         installed
>    redhat-release-notes.x86_64                        5Server-41                              installed
>

As it looks like from here, you have manualy set local repo's, with 
updates done without internet or in-house repository. Updates must have 
been copied via DVD or USB drive. "5.6" might be hardcoded.

Groups are being pulled from regular repository using *-comps.xml files, 
like base-comps.xml. In your case, comps file is not present (or used) 
since you use a folder (without repodata/repoview subfolder).

There are how-to's for creating those files using createrepo command and 
similar.

Take a look at /etc/yum.repos.d/ for more details.

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant


More information about the Yum mailing list