Bug 205366 - Pirut won't retrieve software info- yum will.
Summary: Pirut won't retrieve software info- yum will.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pirut
Version: 5
Hardware: i586
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-06 12:40 UTC by at-dot-at
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-13 14:17:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
crash dump as provided (2.48 KB, application/octet-stream)
2006-09-06 12:40 UTC, at-dot-at
no flags Details
Earlier crash dump (1.95 KB, application/octet-stream)
2006-09-06 12:44 UTC, at-dot-at
no flags Details

Description at-dot-at 2006-09-06 12:40:45 UTC
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:

Comment 1 at-dot-at 2006-09-06 12:40:45 UTC
Created attachment 135646 [details]
crash dump as provided

Comment 2 at-dot-at 2006-09-06 12:44:04 UTC
Created attachment 135647 [details]
Earlier crash dump

Maybe bugzilla should allow more than one attachment?

Comment 3 Jeremy Katz 2006-09-06 12:47:54 UTC
What is your proxy setup?

Comment 4 at-dot-at 2006-09-06 16:12:11 UTC
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

Comment 5 at-dot-at 2006-09-06 16:17:02 UTC
Ooops that '-' should be a '_'  :-(



Comment 6 Jeremy Katz 2006-09-11 19:31:36 UTC
Is the proxy config set up via an environmental variable or in the yum.conf?

Comment 7 at-dot-at 2006-09-12 09:58:05 UTC
Proxy is set via $http_proxy shell variable in /etc/profile.

kyum also works.

Comment 8 at-dot-at 2006-09-12 10:23:13 UTC
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

Comment 9 Jeremy Katz 2006-09-12 21:44:10 UTC
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

Comment 10 at-dot-at 2006-09-13 11:47:30 UTC
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


Note You need to log in before you can comment on or make changes to this bug.