3.2 can not update dom0 - error "no enabled repos" and "tar not found"

53 views
Skip to first unread message

cubit

unread,
Jun 14, 2018, 9:00:47 AM6/14/18
to Qubes Users
I have noticed that on my Qubes 3.2 install running an update check on dom0 no longer works as expected.

If I run an update through qubes manager I get the window saying "Please wait for updater to launch" it shortly disappears and nothing else happens.

If I use terminal in dom0 and run "qubes-dom0-update" I get several error messages

sh: tar: command not found
Checking for dom0 updates...
Can not read configuration: /var/lib/qubes/dom0-updates/etc/yum.conf , ignoring
Unable to detect release version (use '--releasever' to specify release version)
Can not read configuration: /var/lib/qubes/dom0-updates/etc/yum.conf , ignoring
Error: There are no enabled repos.

looking in /var/lib/qubes the folder "dom0-updates" does not exist.  "which tar" shows it is in /usr/bin

Does anyone know how to fix this?

Cubit


Franz

unread,
Jun 14, 2018, 10:25:13 AM6/14/18
to cubit, Qubes Users
I had similar problem but found that if I change sys-firewall template to Debian9 it works again. Should be a problem with Fedora-27.
Best
Fran

--
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 qubes-users+unsubscribe@googlegroups.com.
To post to this group, send email to qubes...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/LEyNZDc--3-0%40tutanota.com.
For more options, visit https://groups.google.com/d/optout.

cubit

unread,
Jun 14, 2018, 10:43:00 AM6/14/18
to Franz, Qubes Users
14. Jun 2018 14:25 by 169...@gmail.com:


I had similar problem but found that if I change sys-firewall template to Debian9 it works again. Should be a problem with Fedora-27.
Best
Fran


My sys-firewall is Fedora28.   I'll try debian9


How though does the template affect dom0?



Ivan Mitev

unread,
Jun 14, 2018, 11:31:47 AM6/14/18
to qubes...@googlegroups.com


On 06/14/2018 05:42 PM, cubit wrote:
> 14. Jun 2018 14:25 by 169...@gmail.com <mailto:169...@gmail.com>:
dom0 uses sys-firewall to download updates.

qvm-dom0-update uses tar to pass updates from sys-firewall to dom0 (see
line ~172 of the script) so updating dom0 won't work if tar isn't
installed in sys-firewall's template. It looks like your fedora template
lack tar (or the update can't find it). No idea why though, IIRC tar is
installed by default in qubes templates.

>
>
>
>
>
>

cubit

unread,
Jun 14, 2018, 11:49:53 AM6/14/18
to Ivan Mitev, qubes...@googlegroups.com
14. Jun 2018 15:32 by iv...@maa.bz:

Yup looks like tar is missing from template.  Damned if I know how it got removed,  it's the repo template of fedora 28 and I've only installed software to it, not removed.


Will install it and see if that improves anything.




Ivan Mitev

unread,
Jun 14, 2018, 11:58:59 AM6/14/18
to qubes...@googlegroups.com


On 06/14/2018 06:49 PM, cubit wrote:
> 14. Jun 2018 15:32 by iv...@maa.bz <mailto:iv...@maa.bz>:
>
>> On 06/14/2018 05:42 PM, cubit wrote:
>>
>>> How though does the template affect dom0?
>>
>> dom0 uses sys-firewall to download updates.
>>
>> qvm-dom0-update uses tar to pass updates from sys-firewall to dom0 (see
>> line ~172 of the script) so updating dom0 won't work if tar isn't
>> installed in sys-firewall's template. It looks like your fedora template
>> lack tar (or the update can't find it). No idea why though, IIRC tar is
>> installed by default in qubes templates.
>
>
>
>
>
>
>
> Yup looks like tar is missing from template.  Damned if I know how it got removed,  it's the repo template of fedora 28 and I've only installed software to it, not removed.

That's indeed strange. Maybe a package you've installed has
removed/deprecated tar (could be a bug in rpm packaging). Have a look
/var/log/dnf.rpm.log, maybe you'll find the offender.

Reply all
Reply to author
Forward
0 new messages