Template installation not being reflected on AppVMs

56 views
Skip to first unread message

danmich...@gmail.com

unread,
Jul 8, 2016, 7:27:04 PM7/8/16
to qubes-users
I am using QUBES 3.0
Fedora-21

When I install certain programs in the template VM for fedora, they do not show up in the AppVMs, even after restarting each of the AppVMs.

I installed google-chrome-stable, and yet, it's not reflected in the AppVMs.

I have to re-install Chrome inside the actual AppVM every time I start it up.

What's up with that...?

Chris Laprise

unread,
Jul 8, 2016, 8:57:11 PM7/8/16
to danmich...@gmail.com, qubes-users
Did you shutdown the template vm before re-starting the appvms?

Chris

Andrew David Wong

unread,
Jul 8, 2016, 11:30:40 PM7/8/16
to danmich...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Try running `qvm-sync-appmenus <TemplateVM-name>` in dom0.

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXgG/aAAoJENtN07w5UDAwTZkP/RaoIK60C+mUStabv6zgTUGQ
aCakPgdFhhMnf2IDG/MbNyz5UEs5oKHfAIV4KUDPXFmytSk6q3SQ1PdA1S0wl5PR
3vvggaYKGX3uFtcJGtZAVz0SyfDsMQJNnzuLc2A8vCAq8ofleoH7jU8QwKT8k+CB
P9zcn2MxFWhUqq+2cgrxEwoy/un5wpjlfDQ7R/Obf3haQEOA4meIfC78lck2/EwS
0Fq+LJh6JyZmcOIZnRSN5YoKKvR4X2CxuFb8Dxv/TKpJcXYus2OMfqJ1LvGPKoD2
YUmPY5VKY4tYgSXLeAIhCQUyii9T+NPd53Khr3Jc/MTWVUCXjAW4xFPXYg6eI+3R
J4WcReomMMeo42JmYM/t7jEzVvV5WRXPCGInyvLhMaYxarGyWYrn9OhmnAWcU/cD
xbpxeQ0DlS+jn1jtgVSyqjCuJoBJYU/PPY+7Dbv0C6LtNVXEqVCzqw1024KvS2Ug
bHpd6CLz4kBkbxhZUdeg4m+y3QyOEX8KThY3rGgH6QYxl5HEfgOJHX3ZKlTTNmIT
U72r9Z7c+r7TLNnLtwoOauWfSgOfvbIKCqjL/pd5oUlNeabl3t/Nc0byMwmyaCF4
5jNE6Q03jhWrc0J4jXmMXRR5UKBVoN6uUiJ5GrAnMcBpfk529WjgQvPx1VNilJFJ
zWFbKCvnW6dVXuwgHRTj
=zFl3
-----END PGP SIGNATURE-----

danmich...@gmail.com

unread,
Jul 9, 2016, 7:14:26 AM7/9/16
to qubes-users, danmich...@gmail.com
I did both the template VM restart, and the menu refresh, and it worked.

One thing is.. when installing a Debian template, it didn't show up in the menu.

So then I did a menu refresh, and Debian showed up in the menu.

The menu really shouldn't be lagging behind like this.

Should QUBES include a feature that automatically refreshes the menu every few minutes or something..?

It seems as if QUBES should have a background script running that runs:

qvm-sync-appmenus <TemplateVM-name>

every few minutes

Andrew David Wong

unread,
Jul 9, 2016, 11:02:59 PM7/9/16
to danmich...@gmail.com, qubes-users, Marek Marczykowski-Górecki
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I think running it every few minutes would be too big of a performance
hit. However, that command is automatically executed whenever a
template is updated.

At least, I know this happens on Fedora templates. Marek, is it not
implemented for Debian?

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXgbrTAAoJENtN07w5UDAwOTIP/iNVd48FZnuYdULIJ86di7c2
BChqHY6HvhBaslIwbdLzrtRgt1QAAlU9pxM85ZMb0oQbB2KKtCE9JhP/fpGOlvgt
WX9YYc2VvhUzjE7aIfZtVDgiG2vl42QeYx/Mn/vBwgASAHu0lPIOtNs/xHmknIYw
XDPNLUwaOZc8RwUlQadIMOgLSMXZxzdLwIu6rtxR8sbV9KV10JnZHIevbFECEjeY
eHW3F9HfHZrzPmYqVFqzpZNaYSMJMBK5hwGkILHeJ95MLUGoclvHuisIVrg4TpWg
a1eYp7PklNLJRZD9Xd+M+F6wcdrHha2OAhiLthhqx6kuOyYerwusFVZlIcWdqkJ+
6hSFGrLliXl3peddF8J8A4ZYVWfPJ5QegLSG3YxtslgAkBA+aXRzL8POVg5cmh14
q/tEhMqmTWoT0P0T6uxJi3RTKIq2sedGrfFQeGHHtggPnYMHUtihoLsMmo/OIuFF
sspQjib5eVlvaeHL0GIXTCtHOkU939RP/u757tvp+WjHQAUiCWRghUPXA9b6pFSB
HtLfbQnwMeVH0ECwDu3gtQ4zOkbridoW408uFzSCfyso9uvJo5G4/uhXKVLK+rxr
BmO6d/ZYmzw/4mJja/nVHy7wN0GfuigMXAfauZ5OksUl1qiXJjNsixxj8ZjtI1ho
iPPvEvEAWQE1gOl6f/VQ
=odZb
-----END PGP SIGNATURE-----

Marek Marczykowski-Górecki

unread,
Jul 10, 2016, 7:05:28 AM7/10/16
to Andrew David Wong, danmich...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sat, Jul 09, 2016 at 08:02:46PM -0700, Andrew David Wong wrote:
> On 2016-07-09 04:14, danmich...@gmail.com wrote:
> > I did both the template VM restart, and the menu refresh, and it
> > worked.
> >
> > One thing is.. when installing a Debian template, it didn't show up
> > in the menu.
> >
> > So then I did a menu refresh, and Debian showed up in the menu.
> >
> > The menu really shouldn't be lagging behind like this.
> >
> > Should QUBES include a feature that automatically refreshes the
> > menu every few minutes or something..?
> >
> > It seems as if QUBES should have a background script running that
> > runs:
> >
> > qvm-sync-appmenus <TemplateVM-name>
> >
> > every few minutes
> >
>
> I think running it every few minutes would be too big of a performance
> hit. However, that command is automatically executed whenever a
> template is updated.
>
> At least, I know this happens on Fedora templates. Marek, is it not
> implemented for Debian?

It is also in debian. This is triggered by any package installation,
which updates some menu entries.
If for some reason it doesn't work, take a look at
/var/log/qubes/qrexec.TEMPLATENAME.log (put actual template name instead
of TEMPLATENAME).

- --
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 v2

iQEcBAEBCAAGBQJXgivzAAoJENuP0xzK19csYSQIAIE3BWxPqRzvSAywVED9/D25
AQbOBGffFq5Qi2qkvLn425S4R+ulejsy63/y0ezGHAl9E8rZFFiIVZIp/eOTFRue
IQHvxK4l9r3gXcXCmborYYLSp/QzJ9UQH9D1r45IDu/0V6qTYmU6OtPUCgutK7BO
+89curHT5vsC5VizNnvjDXOSVrWj3kmpwfNVNelJ/ujguO+6O0yOFUjBugqXx5hZ
qCbxS6c/JN3WL1bF/Xru+pkjx8wX2h7wXKZyl+crxuJihue3aDn5AMv9jkCLxgQZ
9v9phR7p7b+er1OLvbIrr7vx1tt0GskJYzI5RXdCjOBSBbcAS52HgZ8BLK6qS9E=
=qmPH
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages