Workload installation failed: No space left on device
See original GitHub issueDescribe the bug
$ doas dotnet workload install android
Skipping NuGet package signature verification.
Installing pack Microsoft.Android.Sdk.Linux version 32.0.476...
Writing workload pack installation record for Microsoft.Android.Sdk.net6 version 32.0.476...
Installing pack Microsoft.Android.Ref.31 version 32.0.476...
Writing workload pack installation record for Microsoft.Android.Ref.31 version 32.0.476...
Installing pack Microsoft.Android.Runtime.31.android-arm version 32.0.476...
Writing workload pack installation record for Microsoft.Android.Runtime.31.android-arm version 32.0.476...
Installing pack Microsoft.Android.Runtime.31.android-arm64 version 32.0.476...
Writing workload pack installation record for Microsoft.Android.Runtime.31.android-arm64 version 32.0.476...
Installing pack Microsoft.Android.Runtime.31.android-x86 version 32.0.476...
Writing workload pack installation record for Microsoft.Android.Runtime.31.android-x86 version 32.0.476...
Installing pack Microsoft.Android.Runtime.31.android-x64 version 32.0.476...
Writing workload pack installation record for Microsoft.Android.Runtime.31.android-x64 version 32.0.476...
Installing pack Microsoft.Android.Templates version 32.0.476...
Writing workload pack installation record for Microsoft.Android.Templates version 32.0.476...
Installing pack Microsoft.NETCore.App.Runtime.Mono.android-arm version 6.0.11...
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.Mono.net6.android-arm version 6.0.11...
Installing pack Microsoft.NETCore.App.Runtime.Mono.android-arm64 version 6.0.11...
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.Mono.net6.android-arm64 version 6.0.11...
Installing pack Microsoft.NETCore.App.Runtime.Mono.android-x64 version 6.0.11...
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.Mono.net6.android-x64 version 6.0.11...
Installing pack Microsoft.NETCore.App.Runtime.Mono.android-x86 version 6.0.11...
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.Mono.net6.android-x86 version 6.0.11...
Installing pack Microsoft.NET.Runtime.MonoAOTCompiler.Task version 6.0.11...
Writing workload pack installation record for Microsoft.NET.Runtime.MonoAOTCompiler.Task.net6 version 6.0.11...
Installing pack Microsoft.NET.Runtime.MonoTargets.Sdk version 6.0.11...
Writing workload pack installation record for Microsoft.NET.Runtime.MonoTargets.Sdk.net6 version 6.0.11...
Installing pack Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-x86 version 6.0.11...
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.AOT.Cross.net6.android-x86 version 6.0.11...
Installing pack Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-x64 version 6.0.11...
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.AOT.Cross.net6.android-x64 version 6.0.11...
Installing pack Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-arm version 6.0.11...
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.AOT.Cross.net6.android-arm version 6.0.11...
Installing pack Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-arm64 version 6.0.11...
Workload installation failed. Rolling back installed packs...
Rolling back pack Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-arm64 installation...
Rolling back pack Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-arm installation...
Uninstalling workload pack Microsoft.NETCore.App.Runtime.AOT.Cross.net6.android-arm version 6.0.11…
Rolling back pack Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-x64 installation...
Uninstalling workload pack Microsoft.NETCore.App.Runtime.AOT.Cross.net6.android-x64 version 6.0.11…
Rolling back pack Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-x86 installation...
Uninstalling workload pack Microsoft.NETCore.App.Runtime.AOT.Cross.net6.android-x86 version 6.0.11…
Rolling back pack Microsoft.NET.Runtime.MonoTargets.Sdk installation...
Uninstalling workload pack Microsoft.NET.Runtime.MonoTargets.Sdk.net6 version 6.0.11…
Rolling back pack Microsoft.NET.Runtime.MonoAOTCompiler.Task installation...
Uninstalling workload pack Microsoft.NET.Runtime.MonoAOTCompiler.Task.net6 version 6.0.11…
Rolling back pack Microsoft.NETCore.App.Runtime.Mono.android-x86 installation...
Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.net6.android-x86 version 6.0.11…
Rolling back pack Microsoft.NETCore.App.Runtime.Mono.android-x64 installation...
Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.net6.android-x64 version 6.0.11…
Rolling back pack Microsoft.NETCore.App.Runtime.Mono.android-arm64 installation...
Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.net6.android-arm64 version 6.0.11…
Rolling back pack Microsoft.NETCore.App.Runtime.Mono.android-arm installation...
Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.net6.android-arm version 6.0.11…
Rolling back pack Microsoft.Android.Templates installation...
Uninstalling workload pack Microsoft.Android.Templates version 32.0.476…
Rolling back pack Microsoft.Android.Runtime.31.android-x64 installation...
Uninstalling workload pack Microsoft.Android.Runtime.31.android-x64 version 32.0.476…
Rolling back pack Microsoft.Android.Runtime.31.android-x86 installation...
Uninstalling workload pack Microsoft.Android.Runtime.31.android-x86 version 32.0.476…
Rolling back pack Microsoft.Android.Runtime.31.android-arm64 installation...
Uninstalling workload pack Microsoft.Android.Runtime.31.android-arm64 version 32.0.476…
Rolling back pack Microsoft.Android.Runtime.31.android-arm installation...
Uninstalling workload pack Microsoft.Android.Runtime.31.android-arm version 32.0.476…
Rolling back pack Microsoft.Android.Ref.31 installation...
Uninstalling workload pack Microsoft.Android.Ref.31 version 32.0.476…
Rolling back pack Microsoft.Android.Sdk.Linux installation...
Uninstalling workload pack Microsoft.Android.Sdk.net6 version 32.0.476…
Workload installation failed: No space left on device
It says “no space left on device”, but:
$ df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 239G 40G 198G 17% /
I’ve tried to set DOTNET_SKIP_FIRST_TIME_EXPERIENCE
to true
but it does not work either.
To Reproduce
$ doas dotnet workload install android
Exceptions (if any)
...
Further technical details
.NET SDK (reflecting any global.json):
Version: 6.0.403
Commit: 2bc18bf292
Runtime Environment:
OS Name: arch
OS Version:
OS Platform: Linux
RID: arch-x64
Base Path: /home/meth/.dotnet/sdk/6.0.403/
global.json file:
Not found
Host:
Version: 6.0.11
Architecture: x64
Commit: 943474ca16
.NET SDKs installed:
6.0.403 [/home/meth/.dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.11 [/home/meth/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.11 [/home/meth/.dotnet/shared/Microsoft.NETCore.App]
Download .NET:
https://aka.ms/dotnet-download
Learn about .NET Runtimes and SDKs:
https://aka.ms/dotnet/runtimes-sdk-info
Issue Analytics
- State:
- Created 10 months ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Workload installation failed: No space left on device when ...
When I'm executing command sudo dotnet workload install maui-android --temp-dir $(HOME)/.temp. It installs packages, but at the end it ...
Read more >Why Do I Get the Error "No space left on device" When I ...
When you create a file on a Linux ECS, the error message "No space left on device" is displayed.The block usage on the...
Read more >"No space left on device" error although disk utilization ...
The issue can be caused by the exhaustion of available index nodes (inodes) on the affected partition.
Read more >"No space left on device" while installing packages
1 Answer 1 ... ...No space left on device No apport report written because the error message indicates a disk full error... ......
Read more >"no space left on device" Error During File Creation
Solving the problem of full disk space · Run the following command to check the disk utilization. df -h · Locate the mount...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i do have this issue aswell, my workaround is by passing
--temp-dir
argument when installing workloadalso i think you try to install workload on root user while your dotnet is intalled on user, my suggestion is try without
doas
Specifying
--temp-dip
helped, thanks! Note:dotnet workload install
asks for root access even while dotnet is installed in user home directory.