Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upSoftware update with gnome-software in TemplateVM not working #3815
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Apr 13, 2018
Member
I've stumbled on this recently too. Not so short investigation left me with an impression that gnome-software is too tightly integrated with GNOME (too many assumptions about the environment) to work in Qubes VM. Unfortunately.
Details:
- first, it's about setting HTTP proxy in PackageKit (it's architecture doesn't allow it to use the one already set in
/etc/dnf/dnf.conf); previously it was set in PackageKit.conf, but PackageKit maintainers decided to drop support for that setting - now, the only supported method is setting http proxy using d-bus API, by each client (which IMHO is even more "kinda crazy"); for
pkconcommand using environmenthttp_proxyand such variables kind of works (even ifall_proxyis set, one need to sethttp_proxyanyway...); but gnome-software ignores them - the only way for setting a proxy for gnome-software, is setting it globally in gnome network settings; two problems here: 1) we don't populate those settings at all (and also don't run NetworkManager in a template); 2) setting a proxy globally would defeat the main purpose of having it at all - giving network access only to package manager
- there are also (minor) problems related to network access detection - some parts of this puzzle like to conclude lack of network access when the system have only loopback interface and don't even bother to use provided proxy (which is running on this loopback interface)...
I haven't yet analyzed what is the best way to fix this, if at all.
|
I've stumbled on this recently too. Not so short investigation left me with an impression that gnome-software is too tightly integrated with GNOME (too many assumptions about the environment) to work in Qubes VM. Unfortunately. Details:
I haven't yet analyzed what is the best way to fix this, if at all. |
andrewdavidwong
added
bug
C: Fedora
labels
Apr 14, 2018
andrewdavidwong
added this to the Release 4.0 updates milestone
Apr 14, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
techgeeknz
May 10, 2018
@marmarek With all due respect, I think all GNOME software is too tightly integrated with GNOME to be useful outside that environment. It seems to me we would resolve a lot of issues by piecewise-replacement of core GNOME software packages (starting with gnome-software, nautilus, and gnome-terminal) with equivalent software packages from XFCE or LXDE (such as thunar, lxterminal and xfce4-terminal.
Perhaps yum extender (for Fedora-based templates) or synaptic (for Debian-based templates) would be viable alternatives to gnome-software?
techgeeknz
commented
May 10, 2018
|
@marmarek With all due respect, I think all GNOME software is too tightly integrated with GNOME to be useful outside that environment. It seems to me we would resolve a lot of issues by piecewise-replacement of core GNOME software packages (starting with Perhaps |
umbratic commentedApr 13, 2018
Qubes OS version:
4.0
Affected component(s):
gnome-software, TemplateVM
Steps to reproduce the behavior:
Start Software (gnome-software 3.24.3) from the menu in Template: fedora-26
Expected behavior:
Actual behavior:
Cannot connect to repositories. Various error messages:
General notes:
Related issues: