Git Product home page Git Product logo

Comments (5)

RayWangQvQ avatar RayWangQvQ commented on August 16, 2024

alpine版本大于等于3.17才能运行dotnet6.0

微软文档:https://learn.microsoft.com/zh-cn/dotnet/core/install/linux-alpine#supported-distributions

image

可以通过升级qinglong版本解决

P.S.推荐whyour/qinglong:debian版镜像。

为了让系统精简用alpine,结果为了运行脚本又不得不装回这些被精简掉的一堆依赖,最后跟debian还是差不多大。。。

from bilibilitoolpro.

2375399351 avatar 2375399351 commented on August 16, 2024

alpine版本大于等于3.17才能运行dotnet6.0

微软文档:https://learn.microsoft.com/zh-cn/dotnet/core/install/linux-alpine#supported-distributions

image

可以通过升级qinglong版本解决

P.S.推荐whyour/qinglong:debian版镜像。

为了让系统精简用alpine,结果为了运行脚本又不得不装回这些被精简掉的一堆依赖,最后跟debian还是差不多大。。。

这样啊,我一直用的latest哈哈

from bilibilitoolpro.

RayWangQvQ avatar RayWangQvQ commented on August 16, 2024

latest是alpine,也是ok的,但你的版本2.11.3太老了,现在已经2.17了,可以考虑升级下

from bilibilitoolpro.

2375399351 avatar 2375399351 commented on August 16, 2024

latest是alpine,也是ok的,但你的版本2.11.3太老了,可以升级下

ok

from bilibilitoolpro.

2375399351 avatar 2375399351 commented on August 16, 2024

latest是alpine,也是ok的,但你的版本2.11.3太老了,现在已经2.17了,可以考虑升级下

作者重装青龙2.17.5后,拉取了脚本,接着运行扫码登陆脚本后报错

开始执行... 2024-06-04 01:22:51

bilitool: 青龙repo目录: /ql/data/repo
bilitool: bili仓库目录: /ql/data/repo/RayWangQvQ_BiliBiliToolPro
bilitool: 当前系统发行版本:alpine.3.20.0
bilitool: 当前系统:linux-musl
bilitool: 当前架构:x64
bilitool: 当前选择的运行方式:dotnet
./bili_task_base.sh: line 264: dotnet: command not found
bilitool: 未安装
bilitool: 开始安装环境
bilitool: 开始安装dotnet
bilitool: 当前系统:alpine
bilitool: 使用apk安装
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
(1/14) Installing dotnet-host (8.0.6-r0)
(2/14) Installing dotnet6-hostfxr (6.0.31-r0)
(4/14) Installing icu-data-full (74.2-r0)
(3/14) Purging icu-data-en (74.2-r0)
(5/14) Installing lttng-ust (2.13.8-r0)
(6/14) Installing libunwind (1.8.1-r0)
(7/14) Installing dotnet6-runtime (6.0.31-r0)
(8/14) Installing aspnetcore6-runtime (6.0.31-r0)
(9/14) Installing aspnetcore6-targeting-pack (6.0.31-r0)
(10/14) Installing dotnet6-apphost-pack (6.0.31-r0)
(11/14) Installing dotnet6-targeting-pack (6.0.31-r0)
(12/14) Installing dotnet6-templates (6.0.131-r0)
(13/14) Installing netstandard21-targeting-pack (8.0.106-r0)
(14/14) Installing dotnet6-sdk (6.0.131-r0)
Executing busybox-1.36.1-r28.trigger
OK: 613 MiB in 102 packages
6.0.131
bilitool: 安装成功
bilitool: which dotnet: /usr/bin/dotnet

Welcome to .NET 6.0!

SDK Version: 6.0.131


Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https

Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli

/usr/lib/dotnet/sdk/6.0.131/NuGet.targets(130,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [/ql/data/repo/RayWangQvQ_BiliBiliToolPro/src/Ray.BiliBiliTool.Console/Ray.BiliBiliTool.Console.csproj]
/usr/lib/dotnet/sdk/6.0.131/NuGet.targets(130,5): error : Resource temporarily unavailable (api.nuget.org:443) [/ql/data/repo/RayWangQvQ_BiliBiliToolPro/src/Ray.BiliBiliTool.Console/Ray.BiliBiliTool.Console.csproj]
/usr/lib/dotnet/sdk/6.0.131/NuGet.targets(130,5): error : Resource temporarily unavailable [/ql/data/repo/RayWangQvQ_BiliBiliToolPro/src/Ray.BiliBiliTool.Console/Ray.BiliBiliTool.Console.csproj]

The build failed. Fix the build errors and run again.

执行结束... 2024-06-04 01:28:38 耗时 347 秒  

这个是日志,能看下是什么原因吗?

from bilibilitoolpro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.