Unable to locate package dotnet-sdk-8.0
Add microsoft package source:
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.debNow you can run commands to install the new dotnet-host (on dotnet 8) and dotnet-sdk
sudo apt-get update
sudo apt-get install -y dotnet-host
sudo apt-get install -y dotnet-sdk-8.0If you get any conflicts on install with existing installed packages, you have to uninstall those packages first.
First I saw a conflict againest "netstandard-targeting-pack-2.1-7.0" I wrote down this: sudo apt-get remove netstandard-targeting-pack-2.1-7.0
Then run again all these:
sudo apt-get update
sudo apt-get install -f -y dotnet-host
sudo apt-get install -f -y dotnet-sdk-8.0Error found:
dpkg: error processing archive /var/cache/apt/archives/dotnet-sdk-8.0_8.0.101-1_amd64.deb (--unpack): cannot copy extracted data for './usr/share/dotnet/templates/8.0.1/microsoft.dotnet.web.projecttemplates.8.0.8.0.1.nupkg' to '/usr/share/dotnet/templates/8.0.1/microsoft.dotnet.web.projecttemplates.8.0.8.0.1.nupkg.dpkg-new': failed to write (No space left on device) No apport report written because the error message indicates a disk full error Errors were encountered while processing: /var/cache/apt/archives/dotnet-sdk-8.0_8.0.101-1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Last updated