Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--allow-releaseinfo-change #2208

Merged
merged 2 commits into from
Sep 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -682,8 +682,18 @@ IFS='/' read -ra version <<< "$releaseURL"
echo "Installing OctoDash "${version[7]}, $arch""

echo "Installing Dependencies ..."
sudo apt -qq update
sudo apt -qq install $dependencies -y
{
sudo apt -qq update
sudo apt -qq install $dependencies -y
} || {
echo ""
echo "Couldn't install dependenices!"
echo "Seems like there is something wrong with the package manager 'apt'"
echo ""
echo "If the error is similar to: 'E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable''"
echo "you can run 'sudo apt update --allow-releaseinfo-change' and then execute the OctoDash installation command again"
exit -1
}

if [ -d "/home/pi/OctoPrint/venv" ]; then
DIRECTORY="/home/pi/OctoPrint/venv"
Expand Down