New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphical update of Fedora 21 template reports no updates available #982

Closed
marmarek opened this Issue May 2, 2015 · 6 comments

Comments

Projects
None yet
2 participants
@marmarek
Member

marmarek commented May 2, 2015

Update of Fedora 21 template started from Qubes Manager reports no updates available, while at the same time yum update properly download and install updates.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek May 2, 2015

Member

Graphical update uses PackageKit, which loads default (for given distribution) backend. In case of Fedora 21 it is hawkey, dnf - new libraries, forked from yum. Apparently when called from PackageKit, it doesn't load global settings - especially proxy (checking via strace it doesn't load any configuration other than /etc/yum.repos.d).
Until this will be fixed upstream, GUI updates will not work.

BTW dnf uses its own configuration file /etc/dnf/dnf.conf and ignores /etc/yum.conf. Also it doesn't support including other config files. So proxy needs to be set directly in /etc/dnf/dnf.conf. In case of Qubes it should be done by /usr/lib/qubes/init/misc-post.sh in addition to /etc/yum.conf.d/qubes-proxy.conf.

Member

marmarek commented May 2, 2015

Graphical update uses PackageKit, which loads default (for given distribution) backend. In case of Fedora 21 it is hawkey, dnf - new libraries, forked from yum. Apparently when called from PackageKit, it doesn't load global settings - especially proxy (checking via strace it doesn't load any configuration other than /etc/yum.repos.d).
Until this will be fixed upstream, GUI updates will not work.

BTW dnf uses its own configuration file /etc/dnf/dnf.conf and ignores /etc/yum.conf. Also it doesn't support including other config files. So proxy needs to be set directly in /etc/dnf/dnf.conf. In case of Qubes it should be done by /usr/lib/qubes/init/misc-post.sh in addition to /etc/yum.conf.d/qubes-proxy.conf.

@marmarek marmarek added this to the Release 3.1 milestone May 26, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jul 6, 2015

Member

Proposed workaround:

I chose to change qubes-manager to call "gnome-terminal -e 'yum
distro-sync'" instead of gpk-update-viewer as a short-term fix, since I'm
currently using another tool that only works with yum and I know there are
more changes to package management in Fedora 22. If this is indeed a
problem that will affect everyone upgrading from Fedora 20, please consider
fixing it somehow so that they don't all waste time on the same
troubleshooting. (I haven't checked if there's a fix in the official
Fedora 21 template.)

Member

marmarek commented Jul 6, 2015

Proposed workaround:

I chose to change qubes-manager to call "gnome-terminal -e 'yum
distro-sync'" instead of gpk-update-viewer as a short-term fix, since I'm
currently using another tool that only works with yum and I know there are
more changes to package management in Fedora 22. If this is indeed a
problem that will affect everyone upgrading from Fedora 20, please consider
fixing it somehow so that they don't all waste time on the same
troubleshooting. (I haven't checked if there's a fix in the official
Fedora 21 template.)

@mfc

This comment has been minimized.

Show comment
Hide comment
@mfc

mfc Sep 21, 2015

Member

does the workaround work? if so I would recommend pushing it out for the final Release 3.0 if possible (rather than 3.1), as it would be weird for there to be feature degradation between R2.0 and R3.0.

Member

mfc commented Sep 21, 2015

does the workaround work? if so I would recommend pushing it out for the final Release 3.0 if possible (rather than 3.1), as it would be weird for there to be feature degradation between R2.0 and R3.0.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Sep 23, 2015

Member

PackageKit fix: hughsie/PackageKit@d1a4290

No idea when it will land in Fedora.

Member

marmarek commented Sep 23, 2015

PackageKit fix: hughsie/PackageKit@d1a4290

No idea when it will land in Fedora.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek May 17, 2016

Member

Fedora 21 is EOL and PackageKit is fixed in Fedora 23 (and probably 22)

Member

marmarek commented May 17, 2016

Fedora 21 is EOL and PackageKit is fixed in Fedora 23 (and probably 22)

@marmarek marmarek closed this May 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment