Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: if you network needs a proxy to access internet, you can't use system-config-kickstart. both files '/etc/yum.repos.d/fedora-core.repo' and '/etc/yum.repos.d/fedora-developpement.repo' have the line enabled=1 -fails when started from the gnome menu (proxy settings done in the preferences menu) -fails when started from a sudo : Xlib: connection to ":0.0" refused by server Xlib: No protocol specified -fails when started from a shell with a su and a 'export HTTP_PROXY=http://proxy:8080' [stranche@yuri ~]$ su Mot de passe : [root@yuri stranche]# export HTTP_PROXY=http://proxy:8080 [root@yuri stranche]# system-config-kickstart system-config-kickstart requires either the base or development yum repository enabled for package selection. Please enable one of these in /etc/yum.repos.d and restart the program. Traceback (most recent call last): File "/usr/share/system-config-kickstart/system-config-kickstart.py", line 82, in ? kickstartGui.kickstartGui(file) File "/usr/share/system-config-kickstart/kickstartGui.py", line 137, in __init__ self.packages_class = packages.Packages(xml, self.kickstartData) File "/usr/share/system-config-kickstart/packages.py", line 125, in __init__ self.y = sckYumBase() File "/usr/share/system-config-kickstart/packages.py", line 105, in __init__ sys._exit(1) AttributeError: 'module' object has no attribute '_exit' -fails when started from a shell with a su - and a 'export [stranche@yuri ~]$ su - Mot de passe : [root@yuri ~]# export HTTP_PROXY=http://proxy:8080 [root@yuri ~]# system-config-kickstart system-config-kickstart requires either the base or development yum repository enabled for package selection. Please enable one of these in /etc/yum.repos.d and restart the program. Traceback (most recent call last): File "/usr/share/system-config-kickstart/system-config-kickstart.py", line 82, in ? kickstartGui.kickstartGui(file) File "/usr/share/system-config-kickstart/kickstartGui.py", line 137, in __init__ self.packages_class = packages.Packages(xml, self.kickstartData) File "/usr/share/system-config-kickstart/packages.py", line 125, in __init__ self.y = sckYumBase() File "/usr/share/system-config-kickstart/packages.py", line 105, in __init__ sys._exit(1) AttributeError: 'module' object has no attribute '_exit' Version-Release number of selected component (if applicable): system-config-kickstart-2.6.6-2 How reproducible: always Steps to Reproduce: 1.launch system-config-kickstart from the gnome menu or a shell 2. 3. Actual results: no way to have the utility starting Expected results: utility start to configure a kickstart file Additional info:
tested to work on a system linked directly to a network with no proxy to access internet
You shouldn't need to use sudo or su to run it. It's using consolehelper, which should handle all the password stuff for you. *** This bug has been marked as a duplicate of 183230 ***
(In reply to comment #2) > You shouldn't need to use sudo or su to run it. It's using consolehelper, which should handle all the password stuff for you. > here are the outputs done as you say as a simple user, the password stuff being managed by consolehelper. As you can see without and with the export of http_proxy, no success [stranche@yuri ~]$ system-config-kickstart system-config-kickstart requires either the base or development yum repository e nabled for package selection. Please enable one of these in /etc/yum.repos.d an d restart the program. Traceback (most recent call last): File "/usr/share/system-config-kickstart/system-config-kickstart.py", line 82, in ? kickstartGui.kickstartGui(file) File "/usr/share/system-config-kickstart/kickstartGui.py", line 137, in __init __ self.packages_class = packages.Packages(xml, self.kickstartData) File "/usr/share/system-config-kickstart/packages.py", line 125, in __init__ self.y = sckYumBase() File "/usr/share/system-config-kickstart/packages.py", line 105, in __init__ sys._exit(1) AttributeError: 'module' object has no attribute '_exit' [stranche@yuri ~]$ export http_proxy=http://proxy:8080 [stranche@yuri ~]$ system-config-kickstart system-config-kickstart requires either the base or development yum repository e nabled for package selection. Please enable one of these in /etc/yum.repos.d an d restart the program. Traceback (most recent call last): File "/usr/share/system-config-kickstart/system-config-kickstart.py", line 82, in ? kickstartGui.kickstartGui(file) File "/usr/share/system-config-kickstart/kickstartGui.py", line 137, in __init __ self.packages_class = packages.Packages(xml, self.kickstartData) File "/usr/share/system-config-kickstart/packages.py", line 125, in __init__ self.y = sckYumBase() File "/usr/share/system-config-kickstart/packages.py", line 105, in __init__ sys._exit(1) AttributeError: 'module' object has no attribute '_exit'
I'm having the exact same problem.. even with the system-config-kickstart-2.6.6-4 release. I too require a proxy server. Unfortunately I don't have a system I can test that doesn't use a proxy server. The error is below: system-config-kickstart requires either the base or development yum repository enabled for package selection. Please enable one of these in /etc/yum.repos.d and restart the program. Traceback (most recent call last): File "/usr/share/system-config-kickstart/system-config-kickstart.py", line 80, in ? kickstartGui.kickstartGui(file) File "/usr/share/system-config-kickstart/kickstartGui.py", line 137, in __init__ self.packages_class = packages.Packages(xml, self.kickstartData) File "/usr/share/system-config-kickstart/packages.py", line 125, in __init__ self.y = sckYumBase() File "/usr/share/system-config-kickstart/packages.py", line 105, in __init__ sys._exit(1) AttributeError: 'module' object has no attribute '_exit' Clearly the necessary yum repo is enabled or else I would never have gotten any updates to begin with. Bug owner or clumens, please reopen this bug. Thanks, James