Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【Bug】无法自动安装dotnet,已确定是安装脚本的问题 #677

Closed
pooneyy opened this issue Apr 2, 2024 · 7 comments
Closed
Labels
needs-more-info Further information is requested 需要更多信息 Stale Stale

Comments

@pooneyy
Copy link

pooneyy commented Apr 2, 2024

版本号:v2.17.3
运行环境:Linux

问题描述:无法自动安装dotnet,已确定是安装脚本的问题

curl -sSL https://ghproxy.com/https://raw.githubusercontent.com/RayWangQvQ/BiliBiliToolPro/main/qinglong/ray-dotnet-install.sh | bash /dev/stdin

仅需将上述ghproxy.com修改为ghproxy.net即可

日志信息:

## 开始执行... 2024-04-03 00:14:24

./bili_task_base.sh: line 7: /root/.bashrc: No such file or directory
The command could not be loaded, possibly because:
  * You intended to execute a .NET application:
      The application '--version' does not exist.
  * You intended to execute a .NET SDK command:
      No .NET SDKs were found.

Download a .NET SDK:
https://aka.ms/dotnet-download

Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
which dotnet: /usr/bin/dotnet
开始安装dotnet
------尝试使用apk安装------
ERROR: Unable to lock database: temporary error (try again later)
ERROR: Failed to open apk database: temporary error (try again later)
The command could not be loaded, possibly because:
  * You intended to execute a .NET application:
      The application '--version' does not exist.
  * You intended to execute a .NET SDK command:
      No .NET SDKs were found.

Download a .NET SDK:
https://aka.ms/dotnet-download

Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
------再尝试使用官方脚本安装------
curl: (35) Recv failure: Connection reset by peer
./bili_task_base.sh: line 24: /root/.bashrc: No such file or directory
The command could not be loaded, possibly because:
  * You intended to execute a .NET application:
      The application '--version' does not exist.
  * You intended to execute a .NET SDK command:
      No .NET SDKs were found.

Download a .NET SDK:
https://aka.ms/dotnet-download

Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
------再尝试使用二进制包安装------
curl: (28) Failed to connect to ghproxy.com port 443 after 129021 ms: Couldn't connect to server
./bili_task_base.sh: line 29: /root/.bashrc: No such file or directory
The command could not be loaded, possibly because:
  * You intended to execute a .NET application:
      The application '--version' does not exist.
  * You intended to execute a .NET SDK command:
      No .NET SDKs were found.

Download a .NET SDK:
https://aka.ms/dotnet-download

Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
安装失败,没办法了,毁灭吧,自己解决吧:https://learn.microsoft.com/zh-cn/dotnet/core/install/linux-alpine

## 执行结束... 2024-04-03 00:16:34  耗时 130 秒
@nameyq11
Copy link

nameyq11 commented Apr 9, 2024

请问n1可以使用这个命令吗?

@pooneyy
Copy link
Author

pooneyy commented Apr 12, 2024

n1

什么是 n1?

@leige635539766
Copy link

玩客云是不是没法用

@watercatlxh
Copy link

玩客云可用,需要下载Release里面的arm架构的那个 参考https://learn.microsoft.com/zh-cn/dotnet/core/install/linux-debian安装dotnet

@RayWangQvQ
Copy link
Owner

试试优化后的先行版

@RayWangQvQ RayWangQvQ added the needs-more-info Further information is requested 需要更多信息 label May 6, 2024
Copy link

🕸️ This has been inactive for 3 days, please confirm if it still needs attention~~

@github-actions github-actions bot added the Stale Stale label May 10, 2024
Copy link

🚫 This has been inactive for too long and is now closed, feel free to reopen it if needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-more-info Further information is requested 需要更多信息 Stale Stale
Projects
None yet
Development

No branches or pull requests

5 participants