Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8082

Troubleshooting • Re: Pi 2 - "no space left on device" with Trixie but not with Bookworm?

$
0
0
Ah, I think you've nailed the problem area. I made a tmp directory and redirected the install script to you that, as you suggested. Here the successful output:

Code:

johnk@xxxx:~ $ printenv TEMPDIRjohnk@xxxx:~ $ mkdir /home/$USER/tmpjohnk@xxxx:~ $ ls -a.  ..  .bash_logout  .bashrc  .config  .profile  tmpjohnk@xxxx:~ $ curl -sSL https://dot.net/v1/dotnet-install.sh | TMPDIR="/home/$USER/tmp" bash /dev/stdindotnet-install: Attempting to download using aka.ms link https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.100/dotnet-sdk-10.0.100-linux-arm.tar.gzdotnet-install: Remote file https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.100/dotnet-sdk-10.0.100-linux-arm.tar.gz size is 232325080 bytes.dotnet-install: Extracting archive from https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.100/dotnet-sdk-10.0.100-linux-arm.tar.gzdotnet-install: Downloaded file size is 232325080 bytes.dotnet-install: The remote and local file sizes are equal.dotnet-install: Installed version is 10.0.100dotnet-install: Adding to current process PATH: `/home/johnk/.dotnet`. Note: This change will be visible only when sourcing script.dotnet-install: Note that the script does not resolve dependencies during installation.dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.dotnet-install: Installation finished successfully.johnk@xxxx:~ $
It cleans up the tmp directory afterwords, it's empty.

You mentioned on trixie the tmp directory is ram-based. I'm a linux novice, am I correct in interpreting this output as the /tmp directory size is 461MB?

Code:

johnk@xxxx:~ $ df -hFilesystem      Size  Used Avail Use% Mounted onudev            326M     0  326M   0% /devtmpfs           185M  3.4M  181M   2% /run/dev/mmcblk0p2   29G  3.1G   25G  12% /tmpfs           461M     0  461M   0% /dev/shmtmpfs           5.0M   12K  5.0M   1% /run/locktmpfs           1.0M     0  1.0M   0% /run/credentials/systemd-journald.servicetmpfs           461M     0  461M   0% /tmp/dev/mmcblk0p1  510M   89M  422M  18% /boot/firmwaretmpfs           1.0M     0  1.0M   0% /run/credentials/getty@tty1.servicetmpfs           1.0M     0  1.0M   0% /run/credentials/serial-getty@ttyAMA0.servicetmpfs            93M  8.0K   93M   1% /run/user/1000
-John

Statistics: Posted by JohnKoz — Mon Nov 17, 2025 5:40 pm



Viewing all articles
Browse latest Browse all 8082

Trending Articles