Unable to Install dmctl

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: dmctl无法安装

| username: matthew0924

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version] 7.5.1
[Reproduction Path] tiup install dm dmctl
[Encountered Problem: Phenomenon and Impact]
Unable to install dmctl tool via tiup install dm dmctl

$ tiup install dm dmctl
component dm version v1.14.1 is already installed
download https://tiup-mirrors.pingcap.com/dmctl-v7.6.0-linux-amd64.tar.gz 40.09 MiB / 66.58 MiB 60.22% 271.06 KiB/s
Error: download from https://tiup-mirrors.pingcap.com/dmctl-v7.6.0-linux-amd64.tar.gz failed: read tcp> read: connection reset by peer

| username: 连连看db | Original post link

You can take a look at this reset by peer.

| username: Kamner | Original post link

Obviously, this is a problem with the server’s network instability.

| username: CuteRay | Original post link

It seems that your server got disconnected halfway through the download. Check it out; your server’s network is indeed quite slow.

| username: xfworld | Original post link

Next, the network reset the connection…

| username: Demo二棉裤 | Original post link

Your network is unstable. Download it to your computer and then upload it to the server.

| username: Kongdom | Original post link

It seems like it’s the issue mentioned in the first-floor link.

| username: redgame | Original post link

Port and directory conflict?

| username: 数据库真NB | Original post link

The network is probably down.

| username: zhaokede | Original post link

Try downloading it on another server.

| username: Jellybean | Original post link

The connection is interrupted, please check the network status and try again.

| username: kelvin | Original post link

It looks like a network issue based on the error message.

| username: TiDBer_rvITcue9 | Original post link

Try downloading it again.

| username: GreenGuan | Original post link

dmctl is just a tool. If the network is unstable, you can download it locally first and then upload it to the path

| username: matthew0924 | Original post link

Other files can be downloaded, but this one cannot.

| username: GreenGuan | Original post link

You installed version 7.5.1, how did he get version 7.6.0? Please try this command:

tiup install dm dmctl:v7.5.1