Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: genisys on September 06, 2012, 01:52:04 AM

Title: Yum issue: "No group data available for configured repositories" [SOLVED]
Post by: genisys on September 06, 2012, 01:52:04 AM
Hello -
I've just come across a problem with yum that I can't seem to fix.

Loaded plugins: fastestmirror, protect-packages, smeserver
Determining fastest mirrors
 * smeextras: distro.ibiblio.org
 * updates: mirrors.lga7.us.voxel.net
Excluding Packages from CentOS - updates
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package sudo.i386 0:1.7.2p1-14.el5_8.3 set to be updated
--> Processing Dependency: policycoreutils for package: sudo
--> Running transaction check
---> Package policycoreutils.i386 0:1.33.12-14.8.el5 set to be updated
--> Processing Dependency: audit-libs-python >= 1.1.4-3 for package: policycoreutils
--> Processing Dependency: libselinux-utils for package: policycoreutils
--> Finished Dependency Resolution
policycoreutils-1.33.12-14.8.el5.i386 from smeextras has depsolving problems
  --> Missing Dependency: audit-libs-python >= 1.1.4-3 is needed by package policycoreutils-1.33.12-14.8.el5.i386 (smeextras)
policycoreutils-1.33.12-14.8.el5.i386 from smeextras has depsolving problems
  --> Missing Dependency: libselinux-utils is needed by package policycoreutils-1.33.12-14.8.el5.i386 (smeextras)
Error: Missing Dependency: libselinux-utils is needed by package policycoreutils-1.33.12-14.8.el5.i386 (smeextras)
Error: Missing Dependency: audit-libs-python >= 1.1.4-3 is needed by package policycoreutils-1.33.12-14.8.el5.i386 (smeextras)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
yum update sudo.i386 failed: 256

I've tried "yum clean all" and it's not resolving it.  The YUM logs show these errors:

2012-09-05 17:57:04.188960500 Error: No group data available for configured repositories
2012-09-05 17:57:04.219640500 yum grouplist installed status 256
2012-09-05 17:57:08.452066500 Error: No group data available for configured repositories
2012-09-05 17:57:08.482079500 yum grouplist updates status 256
2012-09-05 18:06:08.749589500 Error: No group data available for configured repositories
2012-09-05 18:06:08.779818500 yum grouplist available status 256
2012-09-05 18:06:12.866680500 Error: No group data available for configured repositories
2012-09-05 18:06:12.897014500 yum grouplist installed status 256
2012-09-05 18:06:14.379064500 Error: No group data available for configured repositories
2012-09-05 18:06:14.444234500 yum grouplist updates status 256
2012-09-05 18:19:24.765893500 Error: No group data available for configured repositories
2012-09-05 18:19:24.795969500 yum grouplist available status 256
2012-09-05 18:19:27.125620500 Error: No group data available for configured repositories
2012-09-05 18:19:27.156019500 yum grouplist installed status 256
2012-09-05 18:19:28.646244500 Error: No group data available for configured repositories
2012-09-05 18:19:28.676363500 yum grouplist updates status 256

I found an existing, but closed bug with these errors here:

http://bugs.contribs.org/show_bug.cgi?id=7036

Any suggestions?

Thanks!
Title: Re: Yum issue: "No group data available for configured repositories"
Post by: cactus on September 06, 2012, 10:27:47 AM
Nothing wrong here, the log messages you are showing are not relevant, the real problem is you are trying to update and it is not finding all dependencies:

Hello -
I've just come across a problem with yum that I can't seem to fix.

Code: [Select]
policycoreutils-1.33.12-14.8.el5.i386 from smeextras has depsolving problems
  --> Missing Dependency: libselinux-utils is needed by package policycoreutils-1.33.12-14.8.el5.i386 (smeextras)
Error: Missing Dependency: libselinux-utils is needed by package policycoreutils-1.33.12-14.8.el5.i386 (smeextras)
Error: Missing Dependency: audit-libs-python >= 1.1.4-3 is needed by package policycoreutils-1.33.12-14.8.el5.i386 (smeextras)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
yum update sudo.i386 failed: 256
[/quote]

This might be due to changes in the mirroring architecture as the status of the mirrors has been a little less green the last few polls: http://mirror.contribs.org/mirrors/

Mirror status seem to be OK now. If you try again, does it work then?
Title: Re: Yum issue: "No group data available for configured repositories"
Post by: genisys on September 06, 2012, 03:27:15 PM
Hello, thanks for the response. I tried again just now and am getting the same response. I did use the "--skip broken" to update the rest and that worked fine. The only package left that needs updating is sudo.i386 0:1.7.2p1-14.el5_8.3.  Anyway, same results here:

Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
 * smeextras: distro.ibiblio.org
 * updates: yum.singlehop.com
Excluding Packages from CentOS - updates
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package sudo.i386 0:1.7.2p1-14.el5_8.3 set to be updated
--> Processing Dependency: policycoreutils for package: sudo
--> Running transaction check
---> Package policycoreutils.i386 0:1.33.12-14.8.el5 set to be updated
--> Processing Dependency: audit-libs-python >= 1.1.4-3 for package: policycoreutils
--> Processing Dependency: libselinux-utils for package: policycoreutils
--> Finished Dependency Resolution
policycoreutils-1.33.12-14.8.el5.i386 from smeextras has depsolving problems
  --> Missing Dependency: audit-libs-python >= 1.1.4-3 is needed by package policycoreutils-1.33.12-14.8.el5.i386 (smeextras)
policycoreutils-1.33.12-14.8.el5.i386 from smeextras has depsolving problems
  --> Missing Dependency: libselinux-utils is needed by package policycoreutils-1.33.12-14.8.el5.i386 (smeextras)
Error: Missing Dependency: libselinux-utils is needed by package policycoreutils-1.33.12-14.8.el5.i386 (smeextras)
Error: Missing Dependency: audit-libs-python >= 1.1.4-3 is needed by package policycoreutils-1.33.12-14.8.el5.i386 (smeextras)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
yum update sudo.i386 failed: 256
Title: Re: Yum issue: "No group data available for configured repositories" [SOLVED]
Post by: genisys on September 06, 2012, 11:43:22 PM
Hello -

I resolved this issue. I went into the Software Installer in Server Manager and under "Change software installer settings" I found that the repo "CentOS - os" was not enabled. I enabled it and ran another check. After that I choose to "install available updates" and it ran through correctly.

I thought that I had this enabled, but apparently not.  Thanks again for your help.