mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 02:16:53 +08:00
Tools/setup: Add apt-get update after adding gazebo list
This commit is contained in:
@@ -198,6 +198,8 @@ if [[ $INSTALL_SIM == "true" ]]; then
|
|||||||
# Gazebo
|
# Gazebo
|
||||||
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
|
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
|
||||||
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
|
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
|
||||||
|
# Update list, since new gazebo-stable.list has been added
|
||||||
|
sudo apt-get update -y --quiet
|
||||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y --quiet --no-install-recommends install \
|
sudo DEBIAN_FRONTEND=noninteractive apt-get -y --quiet --no-install-recommends install \
|
||||||
dmidecode \
|
dmidecode \
|
||||||
gazebo$gazebo_version \
|
gazebo$gazebo_version \
|
||||||
|
|||||||
Reference in New Issue
Block a user