kpackagekit doesn't support proxy

Bug #347982 reported by Terrax
40
This bug affects 5 people
Affects Status Importance Assigned to Milestone
kpackagekit (Ubuntu)
Fix Released
Wishlist
Unassigned
Nominated for Lucid by ronny

Bug Description

Hello everyone

Kpackagekit, which is the great new package management program in kubuntu 9,04, doesn't work with kde 4.2's proxy settings. Synaptic supports gnome proxy settings.

Versions:
KDE: Version: 4:4.2.1 latest from jaunty
kpackagekit: Version: 0.4-0ubuntu4 latest from jaunty

I think this is a bug, because its very essentials for a packagemanager to support a proxy. A lot of us is working in a university.

Thanks for this great software.

Revision history for this message
Roberto Maurizzi (r-maurizzi) wrote :

The same is true for a proxy specified on the command line, i.e.:

export http_proxy=http://192.168.1.254:8080
kpackagekit

doesn't work.
The interesting thing is that even specifying a proxy in the apt.conf.d doesn't work...

Revision history for this message
notbuu (notbuu) wrote :

Same thing here. I cannot update/install software trought http proxy. Neigther with setting the environment variable nor with configuring apt.conf.d. I also tried to set up the KDE Network Settings (proxy) but without success.

This should be fixed immediately for the stable release. A package manager without proxy support is very bad.

Regards

Revision history for this message
Max Gerlach (maxgerlach) wrote :

I experience the same problem.

Changing the proxy variable in /etc/PackageKit/PackageKit.conf also has no effect whatsoever.

Kubuntu would be so much more comfortable to use for me if this was fixed!

Thanks for your great work

Revision history for this message
Langbaba (mariuslr) wrote :

Hi,
does anyone know if this issue has been resolved or if there is a workaround for this problem?

Tried setting up the http_proxy environment variable, editing the kpackagekit conf file etc. but still no joy ...

Other than this problem it seems quite usable (windows user trying to move to linux)!

Thanx for your time and effort!!!

Revision history for this message
Max Gerlach (maxgerlach) wrote :

There is a new version 0.4.1 out which promises to support the KDE proxy settings:

http://www.kde-apps.org/content/show.php/KPackageKit?content=84745

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fix committed for KPackageKit 0.4.1. This bug will be marked as fix released once KpackageKit 0.4.1 is released to Kubuntu 9.10

Changed in kpackagekit (Ubuntu):
status: New → Fix Committed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fix released to the development version of Kubuntu 9.10.

Changed in kpackagekit (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
starslights (starslights) wrote :

hello,

The bug still and affect kubuntu karmic alpha5 x86 64 2.6.31-10-generic

kpackagekit 0.4.2 ubuntu2 amd64

Kpackagekit can resolve but not update package while it invent a proxy rule who don't exist.

the bug is appearer when one time i have try to use "environement proxy" in network.manager but have not worked while network.manager are bugged too.

well i have use the default config , in direct connection but kpackagekit use always a wrong config.

All others programs or synaptic don't do that.

my best

Revision history for this message
Felix (apoapo) wrote :

Kpackagekit uses the proxy settings from the network tab of systemsettings. Unfortunately it does only use (i try to translate) "setting proxy manually", even if another option is activated like "no proxy at all" ! So an old proxy at the first place results in no network for kpackagekit. One is not able to set no proxy at the "manual proxy tab" cause there has to be typed something.

My workaorund is to type a nice valid ip and activate "Use proxy only for these adresses". The adress field is left blank. Now kpackagekit works.. Please make it look for the right proxy settings.

Revision history for this message
starslights (starslights) wrote :

Hello,

The proxy rules or direct connection work now for me.

The only thing are Kpackagekit write package update as unknown if proxy are used.

With direct connection, it's write as know.

Revision history for this message
ronny (ronny-standtke) wrote :

I am using Kubuntu 9.10 and KPackagekit tries connecting to my proxy (and this way fails to install any package) despite having the proxy disabled in the KDE configuration.

ronny@ronny-desktop:~$ cat .kde/share/config/kioslaverc
AutoResume=true
PersistentProxyConnection=true

[$Version]
update_info=kioslave.upd:kde2.2/r1,kioslave.upd:kde2.2/r2,kioslave.upd:kde2.2/r3

[Proxy Settings]
AuthMode=0
NoProxyFor=
Proxy Config Script=
ProxyType=0
ReversedException=false
ftpProxy=
httpProxy=http://localhost:15274
httpsProxy=http://localhost:15274

Changed in kpackagekit (Ubuntu):
status: Fix Released → New
Revision history for this message
cmos (cimiois) wrote :

I have the same problem here since Kubuntu 9.10 update. Thanks to ronny I could workaround the problem by removing the old, unused proxy settings in ~/.kde/share/config/kioslaverc

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Always using a proxy is much different than not having proxy support.

Changed in kpackagekit (Ubuntu):
status: New → Fix Released
Revision history for this message
ronny (ronny-standtke) wrote :

The initial bug report is: "doesn't work with kde 4.2's proxy settings."
This is still the case. Kpackagekit still does not honor KDE's proxy settings. The issue is not fixed. Until now there is only a broken and incomplete implementation that works with only a very specific subset of the KDE proxy settings. Please close this bug only after really fixing it.

Changed in kpackagekit (Ubuntu):
status: Fix Released → New
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

The cause for the original report was that there was no support for proxy in the first place. Please file further bugs on the matter at bugs.kde.org to the KPackageKit developers.

Changed in kpackagekit (Ubuntu):
importance: Undecided → Wishlist
status: New → Fix Released
Revision history for this message
ronny (ronny-standtke) wrote :

Looks like someone else already did and the issue is allegedly already fixed in the 0.5.x versions, see: https://bugs.kde.org/show_bug.cgi?id=213141

Revision history for this message
Tilo Chucholowius (tc-hq) wrote :

Think I got it. No system proxy, no KDE proxy set, no apt.conf proxy entry.
.kde/share/config/kioslaverc --> no proxy set

But kpackagekit use an old proxy entry! (I don't want to us a proxy)
root@kubuntu:~# kpackagekit --version
Qt: 4.5.2
KDE: 4.3.2 (KDE 4.3.2)
KPackageKit: 0.4.2

As one of the first user who want to use KDE4 the old ".kde4" directory in $HOME exists.
Also the file .kde4/share/config/kioslaverc ...and there was the proxy config entry.
I delete that file and everything works as expected.

Revision history for this message
noir-007 (aglenoir007) wrote :

The initial bug report is: "doesn't work with kde 4.2's proxy settings."
This is still the case. Kpackagekit still does not honor KDE's proxy settings. I have tried all the suggested fix's found here and still can not use Kpackagekit behind a firewall.. When on my home network with out a firewall it works only when Im behind my work one does it fail. My work workstation has KDE as well but was able to down load Synaptic and my workstation will update packages fine just not the Kpackagekit

Revision history for this message
Marc Mauri Alloza (marcmaurialloza) wrote :

Guys the bug you are reporting is this one: https://bugs.launchpad.net/ubuntu/+source/kpackagekit/+bug/495452

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.