-1

我有一个 Red Hat Enterprise Linux 8.2 作为 Hyper-V 中的 vm 来宾操作系统。我已经安装了 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

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

所以我尝试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

我应该怎么做才能跳过/禁用存储库tvinternal_dev以继续更新过程?否则,我是否有机会更正 TeamViewer 此类inreral_dev存储库的发布 URl?

我是 Linux 新手,任何建议都会很优雅。提前感谢您的帮助。

4

1 回答 1

3

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

仅仅因为该回购似乎根本不适合您想要使用的东西。

于 2020-05-07T07:35:02.790 回答