Skip to content

Commit ab032ab

Browse files
authored
Make addrepo.sh update package lists with apt-get instead of apt because it's faster since it doesn't build a dependency tree or read state information, especially on slow Raspberry Pis
1 parent d7a0296 commit ab032ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RaspberryPiDotnetRepository/Debian/Repository/ExtraFileGenerator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ echo Adding repository
7979
echo "deb https://raspbian.aldaviva.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/aldaviva.list > /dev/null
8080
8181
echo Finding available packages
82-
sudo apt update
82+
sudo apt-get update
8383
8484
echo Ready to install .NET packages, for example:
8585
echo " sudo apt install dotnet-runtime-latest"
@@ -94,4 +94,4 @@ sudo apt update
9494
return FILENAME;
9595
}
9696

97-
}
97+
}

0 commit comments

Comments
 (0)