Red Hat Bugzilla – Bug 205366
Pirut won't retrieve software info- yum will.
Last modified: 2007-11-30 17:11:42 EST
Description of problem: Pirut (Package Manager - when will we learn to put the
name of the executable on the window label???) throws error "Unable to retrieve
software information". Selecting "OK" closes the app. Yum works fine.
Version-Release number of selected component (if applicable):
Just run it.
Steps to Reproduce:
Created attachment 135646 [details]
crash dump as provided
Created attachment 135647 [details]
Earlier crash dump
Maybe bugzilla should allow more than one attachment?
What is your proxy setup?
Yum works fine, as does kyum, so I doubt it is proxy setup.
Pirut spens several seconds "Retrieving software information"
before it stops with the error
Ooops that '-' should be a '_' :-(
Is the proxy config set up via an environmental variable or in the yum.conf?
Proxy is set via $http_proxy shell variable in /etc/profile.
kyum also works.
I did look at the proxy configuration in 'yum.conf' but didn't do that as
1. yum works with the shell variable.
2. The machine is a laptop and lives in two different networks so the proxy
changes depending on the network address. I.E /etc/profile has:-
ifconfig eth0 | grep 164.11.38 >/dev/null 2>&1
if [ $? == 0 ]; then
Can I explicitly set the proxy in yum.conf like this
It is not clear to me whether shell variables would be in scope in yum.conf?
Maybe some other incantation would be needed.
How are you launching pup/pirut? Does it work better if you launch it directly
from a terminal?
It looks a bit like the environment variable isn't getting propagated properly here
You are quite correct!!!
Pirut works fine if started from a terminal.
I did a check on the environment variable propagation and it isn't propagated
into X even if the machine is in 'init 3' state and you 'startx' from a shell
which does have the http_proxy defined _and_ exported.
Sorry to have troubled you with my inadequate X knowledge. If you know how I can
fix this I'd be grateful but I don't think it is a pirut bug anymore. Please close.