Bug 215182

Summary: KPackageKit fails to fetch packages (broken proxy settings?)
Product: [Frameworks and Libraries] kpackagekit Reporter: Dima Ryazanov <dima>
Component: generalAssignee: Steven M. Parrish <smparrish>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dantti12
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dima Ryazanov 2009-11-18 22:24:42 UTC
Version:            (using KDE 4.3.3)
OS:                Linux
Installed from:    Ubuntu Packages

I'm trying to install the package icedtea6-plugin on Kubuntu.
I get the error "The package download failed. Please check your network connectivity.", with the following details:

Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/r/rhino/rhino_1.7R2-1ubuntu1_all.deb Could not connect to test-net.eng.cooliris.com:81 (10.50.65.105). - connect (111: Connection refused)
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-6/openjdk-6-jre-headless_6b16-1.6.1-3ubuntu1_amd64.deb Could not connect to test-net.eng.cooliris.com:81 (10.50.65.105). - connect (111: Connection refused)
...

Why is it trying to connect to test-net.eng.cooliris.com:81 ???

It works fine if I run "sudo apt-get install icedtea6-plugin" directly. The KDE proxy setting is "Connect to the Internet directly". I don't have anything weird in /etc/hosts. Every other program connects to the internet just fine. Where does that host/port come from?
Comment 1 Daniel Nicoletti 2009-11-19 12:28:05 UTC
There might be two issues here, first it should use
your apt proxy settings (ie /etc/apt/..) if there is nothing there
it will use the KDE settings.
If this is not what's happening then it might be that you
have set this proxy in KDE then changed to connect directly
to the internet, if this is the case tell me what version do you
have since it might be an old (and already fixed) bug.
Comment 2 Dima Ryazanov 2009-11-19 20:42:13 UTC
Oh, found it. That host/port is in fact set under "Setup..." for the "Manually specify the proxy settings" option. It's not selected, but looks like KPackageKit uses it anyway.

The version of KPackageKit I have is 0.4.2-0ubuntu3 (as displayed by apt-cache).
Comment 3 Dima Ryazanov 2009-11-24 00:19:38 UTC
Looks like it's the same as bug 213141.
Comment 4 Daniel Nicoletti 2009-11-24 14:37:38 UTC
Yes, it's the same thanks.

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