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): pirut.noarch 1.0.3-0.fc5 How reproducible: Just run it. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
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?
http-proxy=http://cache.uwe.ac.uk/ 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 http_proxy=http://cache.uwe.ac.uk/ export http_proxy ftp_proxy=ftp://cache.uwe.ac.uk/ export ftp_proxy fi Can I explicitly set the proxy in yum.conf like this proxy=$http_proxy ?????? It is not clear to me whether shell variables would be in scope in yum.conf? Maybe some other incantation would be needed. Andy
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. Andy