Skip to content

Commit c304c51

Browse files
committed
fix the update error when the os release repo name change
1 parent 727463b commit c304c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ install_dependencies() {
103103
echo '################################'
104104
echo 'INSTALLING DEPENDENCIES'
105105
echo '################################'
106-
apt-get "${APT_TIMEOUT}" update || exit 1
106+
apt-get "${APT_TIMEOUT}" update -y --allow-releaseinfo-change || exit 1
107107
apt-get "${APT_TIMEOUT}" install -y git build-essential pps-tools python3-pip python3-venv python3-dev python3-setuptools python3-wheel python3-serial libsystemd-dev bc dos2unix socat zip unzip pkg-config psmisc proj-bin || exit 1
108108
apt-get install -y libxml2-dev libxslt-dev || exit 1 # needed for lxml (for pystemd)
109109
#apt-get "${APT_TIMEOUT}" upgrade -y

0 commit comments

Comments
 (0)