View previous topic :: View next topic |
Author |
Message |
jwnhy n00b
Joined: 10 Aug 2022 Posts: 15
|
Posted: Fri Nov 22, 2024 9:12 am Post subject: Why dotnet downloading sdks that are not my architecture? |
|
|
Hi, I am trying to install dafny today.
I found that the dotnet-sdk/runtime package is downloading things for architectures like musl-arm, ..., but my computer is x86...
Is this a bug? Or some special requirements for using dotnet. |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2505
|
Posted: Fri Nov 22, 2024 10:25 am Post subject: |
|
|
Without seeing logs we can only guess what's going on. And I doubt there are that many people here who can guess right.
Best Regards,
Georgi |
|
Back to top |
|
|
jwnhy n00b
Joined: 10 Aug 2022 Posts: 15
|
Posted: Sat Nov 23, 2024 5:31 am Post subject: |
|
|
Sorry...
I was running Code: | sudo emerge -av dafny |
which pulls in a bunch of dotnet dependencies like Code: | dev-dotnet/dotnet-runtime-nugets-7.0.20:7.0.20::gentoo |
Here is my log:
Code: | >>> Downloading 'https://mirrors.tuna.tsinghua.edu.cn/gentoo/distfiles/78/microsoft.aspnetcore.app.runtime.linux-arm.7.0.20.nupkg'
--2024-11-23 13:26:26-- https://mirrors.tuna.tsinghua.edu.cn/gentoo/distfiles/78/microsoft.aspnetcore.app.runtime.linux-arm.7.0.20.nupkg
Connecting to 127.0.0.1:7890... connected.
Proxy request sent, awaiting response... 200 OK
Length: 10830958 (10M) [application/octet-stream]
Saving to: ‘/var/cache/distfiles/microsoft.aspnetcore.app.runtime.linux-arm.7.0.20.nupkg.__download__’
|
I was curious that why dotnet have to download things like |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2505
|
Posted: Sat Nov 23, 2024 5:48 am Post subject: |
|
|
I actuality tried that and saw it. I dug up a little bit in the ebuild and found out it was hardcoded, but i didn't have the time to see what the eclass was doing.
I guess the dev didn't have enough time to customize it for the different architectures, but it's also possible Microsoft is to be blamed. Anyway, i belive those are just downloaded but not used.
Best Regards,
Georgi |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5939
|
Posted: Sun Dec 08, 2024 1:24 pm Post subject: |
|
|
This has always weirded me out too, because every upgrade downloads a bunch of 50-75mb nupkg files that I'll never use. _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
|