PDA

View Full Version : [kubuntu] KPackagekit + proxy settings



tomarctus
November 10th, 2009, 07:15 PM
Hi!

I have some strange problems with KPackagekit, and apt-get. The problem is simple, but I don't know what to do with it. >.< I have switched my proxy settings a week ago, the strange thing is that KPackageKit still uses these preferences after I have switched back it to direct connection to internet.... >.>
I know this only because I have switched my proxy preferences to http://0:3333, but still direct connection is selected, and as I try to update, he tells me that http://0:3333 refused the connection....... -.-"
And 1 more thing: aptitude works still fine.

Any suggestions?

solar george
November 15th, 2009, 01:30 PM
try just deleting the proxy address in the settings and ignoreing the error message that it gives when you press ok

Ajat
November 17th, 2009, 02:12 PM
Did you modified the /etc/apt/apt.conf?


I also experience the same thing.. i can update the sources.list via Kpackagekit (clicking reload).. and it download the packages smoothly.. BUT, if i use it to download a selected package.. it's failed to download any package (it say unable to connect to 152.118.24.10:8080 which is my university proxy address.)
not i'm stick with apt-get method

Restoring the apt.conf (let it blank) does NOT fix this ..


any ideas?

solar george
November 17th, 2009, 05:19 PM
No i was refering to the proxy settings in the kde System Settings > Networking > Proxy under the setup button for Manual if you have changed those.

Ajat
November 19th, 2009, 06:29 AM
do you have gnome installed? i try aptitude from gnome but it uses proxy..

i've checked with echo http_proxy

Ajat
November 21st, 2009, 03:29 PM
I solved it.. since the gnome doing fine.. the problem is inside the kde.. it's actually


sudo kate .kde/share/config/kioslaverc

change it to look like below



PersistentProxyConnection=false

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

[Notification Messages]
WarnOnLeaveSSLMode=false

[Proxy Settings]
AuthMode=0
NoProxyFor=
Proxy Config Script=
ProxyType=0
ReversedException=false
ftpProxy=
httpProxy=
httpsProxy=

alamuru420123
December 6th, 2009, 05:41 AM
@Ajat:

Thanks so much dude, that's been a nuisance for me. Weird that this file doesn't get reset even after changing the kde proxy settings.

vyk
January 22nd, 2010, 05:29 PM
:KS

Thanks a mill.
This has been bugging me for a while.

amadeus244
February 6th, 2010, 11:40 PM
Thanks a lot it works for my. do you know if this is a reported bug ? is this an ubuntu or KDE's bug ?

batcat
February 13th, 2010, 04:52 PM
Thanks Ajat (http://ubuntuforums.org/member.php?u=866331) I was having trouble with this too :o)

digithom
March 9th, 2010, 08:57 AM
Thanks a lot Ajat, this works for me too.