-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On 2016-08-20 16:07,
3n7r...@gmail.com wrote:
> On Thursday, August 18, 2016 at 7:04:01 PM UTC,
3n7r...@gmail.com wrote:
>> On Thursday, August 18, 2016 at 5:41:58 AM UTC, Andrew David Wong wrote:
> On 2016-08-17 12:17, entr0py wrote:
>>>>> New Qubes 3.1 installation with Advanced (No Configuration)
>>>>> option.
>>>>>
>>>>> After restoring dom0 + serviceVMs + serviceTemplates, tried to
>>>>> `sudo yum remove qubes-template-fedora-23`
>>>>>
>>>>> Received: Error in PREUN scriptlet in rpm package...
>>>>> libvirt.libvirtError: Domain not found [from libvirt.py line 4066
>>>>> lookupByName]
>>>>>
>>>>> `sudo yum list qubes-template-fedora-23` shows template installed
>>>>> from @anaconda/R3.1 repo.
>>>>>
>>>>> `sudo qubes-dom0-update qubes-template-fedora-23` returns "No Match
>>>>> for argument qubes-template-fedora-23"
>>>>>
>>>>> Thanks for help.
>>>>>
>
> Just a quick check: If you do "qvm-prefs -l fedora-23" (in dom0), is the
> value for installed_by_rpm "True"?
>
>>
>>
>> Yes, `installed_by_rpm : True`
>>
>> Does this have to do with the fact that the template was installed by
>> the installer without any pre-configuration?
>>
>> Is the preun script necessary? Can't find the thread where Marek
>> suggested --no-script...
>>
>> Or maybe some way to reset rpm?
>
> Duh. Issue resolved.
>
> The template needs to be updated! before it can be removed... Seems odd,
> but given the interplay between templates & dom0, I guess it's not that
> surprising.
>
> Maybe better question is, why was the template installed to begin with when
> I opted out of any initial configuration?
>
That's a known bug, recently fixed:
https://github.com/QubesOS/qubes-issues/issues/2105
iQIcBAEBCgAGBQJXuONiAAoJENtN07w5UDAwN1QQAIXxaK6rUq/PaYEYlmHDkLZR
SM+id0ygXnl62+OYL6tatnxC9i+5SfaFYzg+Wk2HaPKb/arbuVHs0tlFhtmlrl81
J2Hr49+zSg78nnKYEVcLs5rpr99c7thovlxmquYC6mwEyc2Emhi/JmjeLEzDHhqk
q0hk2XGcmVNSqsbcYZ8dYQUXdIEg0t3H5/YMnvmrGIwNosA18HeKAigv3Ncxfq/x
3/pHNCQ4DpZdnnE8bAFZs3Lp7g56gE2x4dWeXQsg4zjqxuaQIvLcw9UZnmY5sEO+
8Tsu1DizoGuWFeflwTZ2FtYgWWwgvJmhOrywmYWLQgCW/LUxhrAxK3WH61Ugs+mX
TvIZv/Xh0T3JSUQJvGu7LX6TTDhQv28/qHMWnOP6VsTCennRYRxwqeRtA22jJZPX
yX6eyrKvAwzzIkafYRhDnSZxMp1I2r1cmF6rRm6NYKLEfaZrARmfBvKQ6EhbEHDs
nOXPLbhzTnjHbev1Ttg338AhywEX3239bHVydI1h1gIbC0LJhV2sduwe6PCIbg4O
VTLrrRwBhFlHpbA30JmSfPECSzl3NV8JN3yCrvb9H7unYtCTg63eutvAku5mluBL
KumAOtAykjXqjHTiiHnrblRg+3Yz507mGEbGQ/7rBcChJ+NXFy7FlIynVeFQCjoi
pWjXD/Tta6wrjSwQnIbW
=2Rai
-----END PGP SIGNATURE-----