Errors updating Qubes 4: Unknown configuration value: failovermethod=priority (...) Status code: 404

45 views
Skip to first unread message

one7...@gmail.com

unread,
Mar 31, 2019, 6:37:52 AM3/31/19
to qubes-users
Hello,

I have trouble updating my Qubes 4 installtion as suddenly updates seems to be broken:

[USER@dom0 ~]$ sudo qubes-dom0-update --action="-v update --refresh"
Using sys-firewall as UpdateVM to download updates for Dom0; this may take some time...
DNF version: 4.0.9
cachedir: /var/lib/qubes/dom0-updates/var/cache/yum/x86_64/4.0
Unknown configuration value: failovermethod=priority in /var/lib/qubes/dom0-updates/etc/yum.repos.d/fedora-updates.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Unknown configuration value: failovermethod=priority in /var/lib/qubes/dom0-updates/etc/yum.repos.d/fedora-updates.repo; Configuration: OptionBinding with id "failovermethod" does not exist
[...]
[MIRROR] curl-minimal-7.61.1-6.fc29.x86_64.rpm: Status code: 404 for https://mirror.linux-ia64.org/fedora/linux/updates/29/Everything/x86_64/Packages/c/curl-minimal-7.61.1-6.fc29.x86_64.rpm

I have looked into /etc/yum.repos.d/fedora-updates.repo:


[updates]
name=Fedora 25 - x86_64 - Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/25/x86_64/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f25&arch=x86_64
enabled=1
enablegroups=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-25-primary

[updates-debuginfo]
name=Fedora 25 - x86_64 - Updates - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/25/x86_64/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f25&arch=x86_64
enabled=0
enablegroups=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-25-primary

[updates-source]
name=Fedora 25 - Updates Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/25/SRPMS/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f25&arch=x86_64
enabled=0
enablegroups=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-25-primary

What does this error message means:

Configuration: OptionBinding with id "failovermethod" does not exist

... and even more important, how can I fix it.
Updates were possible before but it seems something is broken which must have happened through a regular update, as I didn't change the configuration.

- O

one7...@gmail.com

unread,
Mar 31, 2019, 7:15:30 AM3/31/19
to qubes-users

Additional comment:
I have looked at the output and found that I have no directory:
cachedir: /var/lib/qubes/dom0-updates/var/cache/yum/x86_64/4.0

Should this directory be present?

Loooking at:

Unknown configuration value: failovermethod=priority in /var/lib/qubes/dom0-updates/etc/yum.repos.d/fedora.repo; Configuration: OptionBinding with id "failovermethod" does not exist

As this directory is not present, the fedora.repo file is also not located there.
The fedora.repo file can be found in /etc/yum.repos.d/fedora.repo and I tried to comment out the lines "failovermethod=priority" but then I get the following results:

[USER@dom0 updates]$ sudo qubes-dom0-update --action="-v update --refresh> "


Using sys-firewall as UpdateVM to download updates for Dom0; this may take some time...
DNF version: 4.0.9
cachedir: /var/lib/qubes/dom0-updates/var/cache/yum/x86_64/4.0

Fedora 25 - x86_64 - Updates 3.5 kB/s | 5.4 kB 00:01
reviving: 'updates' can be revived - metalink checksums match.
not found other for: Fedora 25 - x86_64 - Updates
not found modules for: Fedora 25 - x86_64 - Updates
updates: using metadata from Tue Dec 12 15:34:19 2017.
Fedora 25 - x86_64 3.8 kB/s | 5.8 kB 00:01
reviving: 'fedora' can be revived - metalink checksums match.
not found other for: Fedora 25 - x86_64
not found modules for: Fedora 25 - x86_64
not found updateinfo for: Fedora 25 - x86_64
fedora: using metadata from Tue Nov 15 20:49:18 2016.
Qubes Dom0 Repository (updates) 2.3 kB/s | 2.7 kB 00:01
reviving: 'qubes-dom0-current' can be revived - metalink checksums match.
not found other for: Qubes Dom0 Repository (updates)
not found modules for: Qubes Dom0 Repository (updates)
not found deltainfo for: Qubes Dom0 Repository (updates)
not found updateinfo for: Qubes Dom0 Repository (updates)
qubes-dom0-current: using metadata from Tue Mar 26 00:56:22 2019.
Qubes Templates repository 2.2 kB/s | 2.7 kB 00:01
reviving: 'qubes-templates-itl' can be revived - metalink checksums match.
not found other for: Qubes Templates repository
not found modules for: Qubes Templates repository
not found deltainfo for: Qubes Templates repository
not found updateinfo for: Qubes Templates repository
qubes-templates-itl: using metadata from Tue Feb 19 14:32:28 2019.
--> Starting dependency resolution
---> Package anaconda-core.x86_64 1000:25.20.9-14.fc25 will be reinstalled
---> Package anaconda-gui.x86_64 1000:25.20.9-14.fc25 will be reinstalled
---> Package anaconda-tui.x86_64 1000:25.20.9-14.fc25 will be reinstalled
---> Package anaconda-widgets.x86_64 1000:25.20.9-14.fc25 will be reinstalled
---> Package garcon.x86_64 1000:0.5.0-1.fc25 will be reinstalled
---> Package python3-blivet.noarch 2:2.1.6-5.fc25 will be reinstalled
---> Package python3-kickstart.noarch 1000:2.32-4.fc25 will be reinstalled
---> Package qubes-anaconda-addon.noarch 4.0.9-1.fc25 will be reinstalled
---> Package xfwm4.x86_64 1000:4.12.4-1.fc25 will be reinstalled
---> Package xorg-x11-drv-ati.x86_64 18.0.1-1.fc25 will be reinstalled
---> Package xorg-x11-drv-intel.x86_64 2.99.917-32.20171025.fc25 will be reinstalled
--> Finished dependency resolution
Dependencies resolved.
Excludes in dnf.conf: qubes-template-fedora-26, qubes-template-fedora-28, qubes-template-fedora-29-minimal, qubes-template-whonix-gw-14, qubes-template-whonix-ws-14
================================================================================
Package Arch Version Repository Size
================================================================================
Reinstalling:
anaconda-core x86_64 1000:25.20.9-14.fc25 qubes-dom0-current 1.5 M
anaconda-gui x86_64 1000:25.20.9-14.fc25 qubes-dom0-current 386 k
anaconda-tui x86_64 1000:25.20.9-14.fc25 qubes-dom0-current 186 k
anaconda-widgets x86_64 1000:25.20.9-14.fc25 qubes-dom0-current 119 k
garcon x86_64 1000:0.5.0-1.fc25 qubes-dom0-current 179 k
python3-blivet noarch 2:2.1.6-5.fc25 qubes-dom0-current 1.0 M
python3-kickstart noarch 1000:2.32-4.fc25 qubes-dom0-current 370 k
qubes-anaconda-addon noarch 4.0.9-1.fc25 qubes-dom0-current 34 k
xfwm4 x86_64 1000:4.12.4-1.fc25 qubes-dom0-current 636 k
xorg-x11-drv-ati x86_64 18.0.1-1.fc25 qubes-dom0-current 168 k
xorg-x11-drv-intel x86_64 2.99.917-32.20171025.fc25 qubes-dom0-current 696 k

Transaction Summary
================================================================================

Total size: 5.1 M
Installed size: 5.1 M
DNF will only download packages for the transaction.
Downloading Packages:
[SKIPPED] anaconda-core-25.20.9-14.fc25.x86_64.rpm: Already downloaded
[SKIPPED] anaconda-gui-25.20.9-14.fc25.x86_64.rpm: Already downloaded
[SKIPPED] anaconda-tui-25.20.9-14.fc25.x86_64.rpm: Already downloaded
[SKIPPED] anaconda-widgets-25.20.9-14.fc25.x86_64.rpm: Already downloaded
[SKIPPED] garcon-0.5.0-1.fc25.x86_64.rpm: Already downloaded
[SKIPPED] python3-blivet-2.1.6-5.fc25.noarch.rpm: Already downloaded
[SKIPPED] python3-kickstart-2.32-4.fc25.noarch.rpm: Already downloaded
[SKIPPED] qubes-anaconda-addon-4.0.9-1.fc25.noarch.rpm: Already downloaded
[SKIPPED] xfwm4-4.12.4-1.fc25.x86_64.rpm: Already downloaded
[SKIPPED] xorg-x11-drv-ati-18.0.1-1.fc25.x86_64.rpm: Already downloaded
[SKIPPED] xorg-x11-drv-intel-2.99.917-32.20171025.fc25.x86_64.rpm: Already downloaded
Complete!
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Qubes OS Repository for Dom0

My /etc/yum.repos.d/fedora.repo looks like this:

--- --- --- 8< --- --- --- 8< --- --- ---
[fedora]
name=Fedora 25 - x86_64
#failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/25/Everything/x86_64/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-25&arch=x86_64
enabled=1
enablegroups=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-25-primary

[fedora-debuginfo]
name=Fedora 25 - x86_64 - Debug
#failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/25/Everything/x86_64/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-25&arch=x86_64
enabled=0
enablegroups=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-25-primary

[fedora-source]
name=Fedora 25 - Source
#failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/25/Everything/source/SRPMS/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-25&arch=x86_64
enabled=0
enablegroups=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-25-primary
--- --- --- 8< --- --- --- 8< --- --- ---


- O

awokd

unread,
Mar 31, 2019, 8:02:51 PM3/31/19
to one7...@gmail.com, qubes-users
one7...@gmail.com:
> On Sunday, 31 March 2019 12:37:52 UTC+2, one7...@gmail.com wrote:
>> Hello,
>>
>> I have trouble updating my Qubes 4 installtion as suddenly updates seems to be broken:

> Additional comment:
> I have looked at the output and found that I have no directory:
> cachedir: /var/lib/qubes/dom0-updates/var/cache/yum/x86_64/4.0
>
> Should this directory be present?
>
> Loooking at:
>
> Unknown configuration value: failovermethod=priority in /var/lib/qubes/dom0-updates/etc/yum.repos.d/fedora.repo; Configuration: OptionBinding with id "failovermethod" does not exist
>
> As this directory is not present, the fedora.repo file is also not located there.
> The fedora.repo file can be found in /etc/yum.repos.d/fedora.repo and I tried to comment out the lines "failovermethod=priority" but then I get the following results:

You might try temporarily changing your updateVM to a debian based one.
If it's sys-firewall, could easily change the template for it. Then once
updates are processing normally again, change it back.

Reply all
Reply to author
Forward
0 new messages