-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Mon, Jul 13, 2015 at 03:48:11PM -0600,
raf...@elitemail.org wrote:
> On 07/13/2015 11:46 AM, Otto Kratik wrote:
> > Sometimes in Qubes VM manager it shows the refresh/recycle icon for a
> > TemplateVM, such as Fedora-20, indicating updates available. It is
> > easy enough to perform this update graphically using the Manager
> > interface. What I am wondering is what is the correct way to perform
> > this update from the command line, so as to see more
> > status/progress/error messages during the process?
> >
> > Is it done from dom0 konsole, or from terminal within TemplateVM
> > itself? And is it..
> >
> > yum update?
> > yum distro-sync?
> > yum install fedora-upgrade?
>
> As said, yum update (within the TemplateVM).
>
> Also, you can separate the networking from the templates as is done with
> dom0:
>
> 1 - create an update-vm
> 2 - set update-vm's template as the template to be updated
> - I have used this method with the fedora-2x, fedora-2x-minimal, and
> debian-8 templates
> 3 - open a terminal in the update-vm
> 4 - create a folder (once) for the updates: mkdir updates
> 5 - run "cd updates;sudo yum update --downloadonly --downloaddir=."
> 6 - run "qvm-copy-to-vm (templateVM) *" (or qvm-move-to-vm)
> 7 - open a terminal in the template, cd to
> /home/user/QubesIncoming/update-vm
> 8 - run "sudo yum localinstall *"
Make sure that the last command verifies package signatures. AFAIR yum
localinstall doesn't do that. Most likely signatures needs to be checked
manually, I don't see an option to force signature verification on yum
localinstall. Something like this:
rpm -K * | grep -v "\<gpg\>"
(output should be empty)
> Run the commands without the quotes and change the names as necessary,
> of course.
This is very similar to what qubes-dom0-update does for dom0.
- --
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
iQEcBAEBCAAGBQJVpDddAAoJENuP0xzK19csh1EH/37yUhaE1/GvWRnBBBjtWrAm
LuB2+//VlVJwmUhDsriRpZl4CRDuy2V3ZsXEe+Mp4enBsCc2ufvr2w1RvFudQ1jV
YgS1lwGLM3GbWKfJ+NK+t9iaB7V/LXDAf1dB126aVfvpzefWByqwfViOUOU5uZIE
/d2gMAzCJ2hZ0KgPrn4LpVY+yJg72//IpPHDj3hbzLIXulCvaGhPiH+DlXe6Y7j6
kq2TMruw8QUW7mUX4AXaOE/IFDA/kuVW6vrycMh1oSGPvnoCUo4lxoBpVJx8Idz4
/j2MwgUBmk+aikbP/ViEZTi9ubNTXUzgq+UTtXMAOg4FZHhMZS8BtXuqXdSL+7Y=
=yFrR
-----END PGP SIGNATURE-----