安装了 Team Viewer 的 RHEL 8 上的 Yum 更新错误:无法下载 repo 'tvinternal_dev' 的元数据

Yum update error on RHEL 8 with Team Viewer installed: Failed to download metadata for repo 'tvinternal_dev'

我在 Hyper-V 中有一个 Red Hat Enterprise Linux 8.2 作为 vm guest OS。我已经安装了 TeamViewer 15.5.3.

但是当我运行下面的更新命令时:

yum update --nobest --skip-broken

我遇到这样的错误:

Updating Subscription Management repositories.
gitlab_gitlab-ee                                                                              134  B/s | 862  B     00:06    
TeamViewer Internal (Dev Nightly Packages) - x86_64                                           0.0  B/s |   0  B     00:16    
Errors during downloading metadata for repository 'tvinternal_dev':
  - Curl error (6): Couldn't resolve host name for http://lnxrelease-02/yum/stable/main/binary-x86_64/repodata/repomd.xml [Could not resolve host: lnxrelease-02]
Error: Failed to download metadata for repo 'tvinternal_dev': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

看起来团队查看器在 interal_dev 版本中设置了错误的存储库版本 url http://lnxrelease-02/yum/stable/main/binary-x86_64/repodata/repomd.xml。我不知道正确的那个。

所以我尝试通过以下命令禁用存储库 tvinternal_dev

sudo subscription-manager repos --disable 'tvinternal_dev'

它说: Error: 'tvinternal_dev' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.

按照建议运行命令subscription-manager repos --list后,我看不到存储库tvinternal_dev

我应该如何 skip/disable 存储库 tvinternal_dev 才能继续更新过程?否则,我是否有机会更正 TeamViewer 的发布 URl 这种 inreral_dev 存储库?

我是 Linux 的新手,任何建议都将是优雅的。在此先感谢您的帮助。

我所做的只是rm -rf /etc/yum.repos.d/tvinternal.repo

仅仅是因为那个 repo 看起来根本不适合你想要使用的东西。