[packagekit] PackageKit with proxy

trevor.davenport at gmail.com trevor.davenport at gmail.com
Tue Jun 13 22:43:30 UTC 2017


Hi,

My work's network requires using a proxy for any internet access.  I've yet
to find a way to get a proxy to work with PackageKit.

If you simply try to set the proxy using GNOME settings page you are
greeted with:

$ pkcon refresh
Command failed: The proxy could not be set:
GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._pk_2dengine_2derror_2dquark.Code3:
setting the proxy failed

I've tried setting http_proxy(plus others ftp_proxy, etc) environment
variables but that does help (including being sure are or aren't set for
different accounts.

I've tried setting the ProxyHTTP setting in PackageKit.conf (as mentioned
here
https://github.com/hughsie/PackageKit/blob/master/docs/setting-the-proxy.txt[github.com])
but nothing seems to make a difference.

It continues to either error out when it tries to use the session's proxy
settings or it timesout cause it obviously isn't using the proxy and can't
connect to anything. This is not a proxy that requires authentication or
anything odd.

Is it just broken or am I missing something? I'm currently using the Fedora
26 Beta but this problem has existed for many releases. DNF works fine so
things can manually be installed or updated but gnome-software is entirely
unusable.

These bugs have some more info (
https://bugs.freedesktop.org/show_bug.cgi?id=101281[bugs.freedesktop.org]
or https://bugzilla.redhat.com/show_bug.cgi?id=1348843[bugzilla.redhat.com]
).


Trevor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/packagekit/attachments/20170613/6e964cfd/attachment.html>


More information about the PackageKit mailing list