Bug 24181 - DNF complains about 'Unknown configuration value: failovermethod=priority' and 'Configuration: OptionBinding with id "failovermethod" does not exist'
Summary: DNF complains about 'Unknown configuration value: failovermethod=priority' an...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Neal Gompa
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-14 19:46 CET by Marja Van Waes
Modified: 2020-05-21 20:27 CEST (History)
2 users (show)

See Also:
Source RPM: dnf-4.0.10-1.mga7
CVE:
Status comment:


Attachments
output from last dnf run. (28.39 KB, text/plain)
2019-01-14 19:46 CET, Marja Van Waes
Details

Description Marja Van Waes 2019-01-14 19:46:36 CET
Created attachment 10662 [details]
output from last dnf run.

Today, when updating with dnf, I noticed many error lines like this one:

Unknown configuration value: failovermethod=priority in /etc/yum.repos.d/mageia-x86_64.repo; Configuration: OptionBinding with id "failovermethod" does not exist

I haven't yet tried to reproduce it on a different system.
Ulrich Beckmann 2019-01-14 21:12:47 CET

CC: (none) => bequimao.de

Comment 1 Marja Van Waes 2019-01-25 21:27:53 CET
Forgot to tell that this issue exists in a different cauldron, too.

However, there the following warning is printed when starting dnf: 

/usr/lib/python3.7/site-packages/bs4/element.py:16: UserWarning: The soupsieve package is not installed. CSS selectors cannot be used.
  'The soupsieve package is not installed. CSS selectors cannot be used.'

That warning was shown for the first time on the same day as the "failovermethod" errors.

Is that a different issue, requiring a separate bug report, or are they related?
Comment 2 Ulrich Beckmann 2019-01-27 16:36:52 CET
(In reply to Marja Van Waes from comment #1)
> 
> /usr/lib/python3.7/site-packages/bs4/element.py:16: UserWarning: The
> soupsieve package is not installed. CSS selectors cannot be used.
>   'The soupsieve package is not installed. CSS selectors cannot be used.'
> 

I got this message in a new test of Mga7 beta 2, since I installed python3-dnf-plugin-tracer and python3-dnf-plugin-versionlock, and let go 
lib64python3.6 and lib64python3.6-stdlib because of their dependencies. However all dnf transactions went fine.

There are also no transactional problems in a Upgrade from Mga 6 with # dnf system-upgrade. Though there are dependency issues documented in 
https://bugs.mageia.org/show_bug.cgi?id=24100

Ulrich Beckmann
Comment 3 Marja Van Waes 2019-02-07 08:03:07 CET
The "failover" message started to annoy me, I've now silenced it with (as root)

  sed -i 's/failovermethod/#failovermethod/' /etc/yum.repos.d/*

According to https://bugzilla.redhat.com/show_bug.cgi?id=1653831 the failovermethod warning started with dnf-4.0.9, a version we skipped.

See Also: (none) => https://bugzilla.redhat.com/show_bug.cgi?id=1653831

Comment 4 Ulrich Beckmann 2020-05-21 20:27:28 CEST
I don't recall seeing the "failover" message. So I guess the issue is old and fixed since long.

As to soupsieve, python3-soupsieve should be installed, preferably automatically through dependencies.

Ulrich

Note You need to log in before you can comment on or make changes to this bug.