-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2016-08-16 00:18, [email protected] wrote:
> 
>> Sorry for the misunderstanding. You do not have to (and, indeed, cannot)
>>  update your TemplateBasedVMs from Fedora 21 to Fedora 23, since they're
>>  Template-based.
> 
> Normally speaking, though, if I'm running a computer with a particular 
> operating system, I can upgrade that operating system to a new version. So 
> are you saying I can't do this with the various VMs run by Qubes?
> 

No, you certainly can. However, the way to do it in Qubes (due to the way the
Template system works) is to upgrade the operating system in the TemplateVM,
not the TemplateBasedVM. This is because the TemplateVM is where the operating
system files reside. They do not reside in the TemplateBasedVM -- only user
data resides there.

>> This means that they don't have a root filesystem (where the OS and 
>> programs are stored) of their own. Instead, they get their root
>> filesystem from the TemplateVM on which they're based. As long as your
>> TemplateVMs have been upgraded correctly, your TemplateBasedVMs should
>> work with the upgraded TemplateVMs normally.
> 
> The result of running "sudo qubes-dom0-update qubes-template-fedora-23"
> was not to update a TemplateVM, though. It created a new TemplateVM, so now
> I have 2: fedora-21 and fedora-23 - the second of which doesn't yet seem
> to have a purpose unless or until I create new VMs
> 

That command ("sudo qubes-dom0-update qubes-template-fedora-23") installs a
new fedora-23 template from the repo. It is the preferred way to obtain a
fresh fedora-23 template. However, if you instead want to upgrade an existing
fedora-21 template to fedora-23 (e.g., to preserve any customizations you've
made), then you must use the in-place upgrade procedure:

https://www.qubes-os.org/doc/fedora-template-upgrade-21/

>> The fact that you're now asking whether you should shut down all of your 
>> VMs one by one suggests that you may not have followed the above
>> procedure, since rebooting dom0 entails shutting down all of those VMs
>> (but it's also possible that this is just a miscommunication).
> 
> no, it just means I'm doing this process gradually, leaving space for
> things like, eg, restarting a VM in order to post things on the Internet

Ok, understood.

>> 
>> It's also not clear to me what you mean by "tell them in VM-manager to be
>>  fedora-23 not fedora-21 VMs."
> 
> "upgrade the operating system the VMs are using to version 23 of fedora 
> rather than version 21"
> 

Ok, got it.

>> If you've just performed an in-place upgrade on a template (from Fedora
>> 21 to Fedora 23) with the intention of using it, then it would indeed
>> make sense to base your AppVM on this newly upgraded template (if it
>> wasn't already). Again, as long as the upgrade has been done correctly, 
>> everything should work normally.
> 
> based on that, it doesn't seem to be - I don't think my system is
> currently in the state you describe
> 
> It is possible that the step that went wrong is step one - "Upgrade fedora 
> templates". Would you normally expect that after that first step, the
> default TemplateVM would have upgraded itself to the most recent available
> version of Fedora? Because that didn't happen.
> 

Ah, sorry for the misunderstanding. No, there are additional steps required to
upgrade an existing Fedora 21 template to Fedora 23 that are not listed on
that page. They are instead listed on this page (same as linked above):

https://www.qubes-os.org/doc/fedora-template-upgrade-21/

> 
> Bearing in mind, in all of this my ultimate purpose is "make my Qubes 
> installation indistinguishable from a fresh installation of version 3.1". 
> Which is not yet the case!
> 

If this is your goal, then as noted above, it may be easier and more
preferable to obtain a fresh fedora-23 template from the repo (as you've
already done). Either way works, and which is preferable depends on things
like the modifications (if any) you've made to your template(s) and how
acceptable you find the results of the in-place upgrade procedure for your
individual purposes.

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

iQIcBAEBCgAGBQJXszo7AAoJENtN07w5UDAwvzsP/Ay2mCUF6WdEmAkpESHtJMj7
R+s3tHarYYS1MnEFAt/kTziT1iOi6a6eiO90Xt1Zh9BqGeUvR6y4cYPE8D21fNVY
AEcmd/k2zI3mkQYRQNEK4PxbdCE3nPvWX7RdXNtmb/lloM6ol5oCB+5XTymYUyq+
J8WShC1PF/Kl2GghDeHHgOf4QHEBZZsQKpBTlUjK3pCbFNI6GwWfjh8hFqNlA6Fm
MDKn9x/rrNcGg1zQ96pMjq31Pb9oxB13o09Rjq67VTCnbWoCvxCw/Y2Ayn5QVDuh
6Eb5ydKs2UMT8mwx+Tqsk+Yna77K3SyRaXRYpxklKMFzrw+7P29eaEW4uCpvhxH7
8e/NPnk5YYDkiAbrDDI6ut5mKfT/KWZvWeBHakCiIWhib8RJGBQg1sUDNjvzmRBW
BCa9APvrz3irisUJUckBm2Ru/DYSUkAH05YSvtTjnV0/zTRhUYIKMRMundzOUJ08
DVGlHN85diLgER4bZsFBTJWl/pFs6TxlmFAJZFY1FwOTAJArNBh0u0c6mwW77k7N
TBZqhrbwQib5g8ITTJNaD86yoYvfcrnF7uKy4BWpRoOUIa6fuGR/E+pu0UdqaRBc
VdrC4Ui1Fr2V4ZWjsDrRB2KiJEKubOW0+RJ88g8GIjYVyrlGFgYnZBRuiuq2Yapv
ie3T8oYIrdKOcwiV83He
=LZn4
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/726bc23a-090b-8e70-f30f-e437b7555f72%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to