Invalid configuration value when installing Teamviewer (yum.repos.d)

Hello,

I was experiencing issues installing flatpaks (not showing up in my menu) so I decided to install directly from vendors. After installing the rpm provided by Teamviewer, I receive this error/warning message.

Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/teamviewer.repo; Configuration: OptionBinding with id "failovermethod" does not exist
TeamViewer - x86_64                             4.1 kB/s | 867  B     00:00    
TeamViewer - x86_64                              56 kB/s | 3.1 kB     00:00    
Importing GPG key 0x0C1289C0:
 Userid     : "TeamViewer GmbH (TeamViewer Linux 2017) <support@teamviewer.com>"
 Fingerprint: 8CAE 012E BFAC 38B1 7A93 7CD8 C5E2 2450 0C12 89C0
 From       : https://linux.teamviewer.com/pubkey/currentkey.asc

I am not sure how to resolve this? Do I need to move teamviewer.repo to another repo directory? Should I comment out out failovermethod=priority in the teamviewer.repo file? Online searches lead to similar but unrelated issues that I cannot seem to apply here. Assistance would be greatly appreciated.

I am using F34-Xfce.

1 Like

Just erase it did the trick, maybe an unused method:

[teamviewer]
name=TeamViewer - $basearch
baseurl=http://linux.teamviewer.com/yum/stable/main/binary-$basearch/ gpgkey=http://linux.teamviewer.com/pubkey/TeamViewer2017.asc
gpgcheck=1
enabled=1
type=rpm-md
Dependencies resolved.
================================================================================
 Package                  Arch        Version             Repository       Size
================================================================================
Installing:
 teamviewer               x86_64      15.18.5-0           teamviewer       15 M
Installing dependencies:
 qt5-qtquickcontrols      x86_64      5.15.2-3.fc34       fedora          1.0 M

Transaction Summary
================================================================================
Install  2 Packages

Regards.,

2 Likes

Thanks Hector!

I suspected that I could comment out that line. I read old bug reports here and here about failovermethod=priority vs failovermethod=roundrobin and how that option isn’t supported by dnf anymore, if I understood them correctly.

failovermethod=roundrobin randomly selects the URL where failovermethod=priority starts from the first and then reads through the rest. My concern is in commenting it out, would it still access the Teamviewer repo URL at all? I believe it’s just an instruction on how to handle accessing the URL (the order to go about doing it), but not an instruction to explicitly do so; meaning it would still read the URL regardless. I’m trying to understand better what I’ve read online.

I commented out the last line and no longer see the warning message. I’ll monitor updating the cache to see if it still reads Teamviewer. Thanks again for the assistance, it is greatly appreciated as I have a lack of expertise and confidence.

//  Comment out `failovermethod=priority` to prevent warning
~ $ cat /etc/yum.repos.d/teamviewer.repo 
[teamviewer]
name=TeamViewer - $basearch
baseurl=https://linux.teamviewer.com/yum/stable/main/binary-$basearch/
gpgkey=https://linux.teamviewer.com/pubkey/currentkey.asc
gpgcheck=1
repo_gpgcheck=1
enabled=1
type=rpm-md
# failovermethod=priority

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.