-1

I have an Red Hat Enterprise Linux 8.2 as vm guest OS in Hyper-V. And I have installed the TeamViewer 15.5.3.

But when I run the update command below:

yum update --nobest --skip-broken

I got such error:

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

It looks like the team-viewer set the wrong repository release url http://lnxrelease-02/yum/stable/main/binary-x86_64/repodata/repomd.xml in the interal_dev version. And I have no idea the correct one.

So I tried to disable the repository tvinternal_dev via the command:

sudo subscription-manager repos --disable 'tvinternal_dev'

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

After I run the command subscription-manager repos --list as suggested, I cannot see the repository tvinternal_dev.

What should I do to skip/disable the repository tvinternal_dev to continue the updating process? Otherwise, do I have chance to correct the release URl of TeamViewer such kind of inreral_dev repository?

I am new to the Linux and any suggestion will be graceful. Thanks in advance for any help.

Shawn Xiao
  • 560
  • 5
  • 18
  • Please note that Stack Overflow is for programming questions and not general computing issues. Please review [What topics can I ask here?](https://stackoverflow.com/help/on-topic) for more details. Question may be appropriate for [Super User](http://superuser.com) or [Unix & Linux](http://unix.stackexchange.com) but do check their help before posting. – kaylum May 07 '20 at 06:50
  • I am so sorry that I break the rule. I will try to move this question to other site, if not, I will delete it. Thanks for your comments. – Shawn Xiao May 07 '20 at 06:58

1 Answers1

3

What I did was simply rm -rf /etc/yum.repos.d/tvinternal.repo

Simply because that repo seems like it is not meant for something you'd want to use at all.

Danila Vershinin
  • 8,725
  • 2
  • 29
  • 35