"Update VM" in qubes-manager does not work for Fedora 21 TemplateVM

79 views
Skip to first unread message

Matt McCutchen

unread,
Jul 5, 2015, 2:19:54 PM7/5/15
to qubes...@googlegroups.com
After I upgraded my TemplateVM derived from the official Fedora 20 template to Fedora 21, the "Update VM" command in qubes-manager did not work: gpk-update-viewer showed no updates, though "yum distro-sync" did.  This appears to be because PackageKit has changed in Fedora 21 to use a different backend that does not honor yum.conf, so it does not use the updates proxy and its network connections get blocked.  See this complaint from a Fedora user about the divergence of package manager configuration files: https://lists.fedoraproject.org/pipermail/devel/2015-January/205966.html .

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.)

Thanks,
Matt

Marek Marczykowski-Górecki

unread,
Jul 6, 2015, 6:40:17 PM7/6/15
to Matt McCutchen, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
For the record: it is already reported here:
https://github.com/QubesOS/qubes-issues/issues/982

I've pasted your comment there. Thanks for the idea with yum in
terminal. It isn't ideal, because the command should work also on
Debian-based VMs. But it can be solved by introducing some qrexec
service for that (so the template VM can freely choose which tool should
be called there).

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJVmwPHAAoJENuP0xzK19csGO4H/0q00Qzu7HQXCd2GAfvLnLuJ
/InLnDl/3i4lpceWyujaBSVCk+NhR6SMjHhYCNzp5x6MhvHYLR078FKwPkpfxELY
aMa5ie6Vj20nJbfk0DAn+bJVk2lHHKc67WQiJaR5SwusLvfJI8AgtYa8dlsy8Ds5
aWl0F8daHi5h62nJkxX0djxPWHEIvsM9246iSBnf7PDo6MXeIYLjMESesRX17yxq
PZQrMUYAaYF9JU84gPsA/oKeqEi+QGYc6kVlj5ZqlzDppPwrgnYX64gtHfUko0Ku
Y2ftDCP8+OqGlvuGao8bABkqvjUgDvEWdObV9IW8BPj3jqwSPvVCWi4q0TcUECY=
=IE3r
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages