Bug 1315954

Summary: system-config-kickstart : : "Package selection is disabled due to problems downloading package information."
Product: Red Hat Enterprise Linux 7 Reporter: Abhijeet Sadawarte <asadawar>
Component: system-config-kickstartAssignee: Chris Lumens <clumens>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: mhruscak
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-16 14:25:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Abhijeet Sadawarte 2016-03-09 06:33:57 UTC
Description of problem:
The system-config-kickstart does not allow software packages selection.

Version-Release number of selected component (if applicable):
system-config-kickstart-2.9.2-4.el7.noarch

How reproducible:

1. With the RHEL 7.2 system registered with the Red Hat network, install and launch system-config-kickstart. Click on the "Package Selection" tab.

2. With RHEL 7.2 system, create a local repository using ISO, install and launch system-config-kickstart. Click on the "Package Selection" tab.


Actual results:
- Error message ""Package selection is disabled due to problems downloading package information."" 

- Its working on RHEL 6.x 


Expected results:
Selectable list of packages to install. 

Additional info:

Code snippet reponsible for the package information download in the following file

####  /usr/share/system-config-kickstart/packages.py

46 class sckYumBase(yum.YumBase):
...
115     def __init__ (self, callback=None):
...
156         # If we're on a release, we want to try the base repo first.  Otherwise,
157         # try development.  If neither of those works, we have a problem.
158         if "fedora" in map(lambda repo: repo.id, self.repos.listEnabled()):
159             repoorder = ["fedora", "rawhide", "development"]
160         else:
161             repoorder = ["rawhide", "development", "fedora"]
162
163         self.repos.disableRepo("*")
164         if callback: callback.next_task()
165
166         self.packagesEnabled = False
167         for repo in repoorder:
168             try:
169                 self.repos.enableRepo(repo)
170                 self.packagesEnabled = True
171                 break
172             except yum.Errors.RepoError:
173                 pass
174
175         if not self.packagesEnabled:
176             return
...

Comment 2 Marek Hruscak 2016-06-16 14:25:51 UTC

*** This bug has been marked as a duplicate of bug 1272068 ***