Update the apt sources before trying to install anything
We need to refresh the information about the available packages before trying to install them.
This commit is contained in:
parent
8b5cd5f906
commit
7ddd9da130
1 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,8 @@ if [[ -n "$GCC" ]]; then
|
||||||
$RETRY sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
$RETRY sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||||
$RETRY sudo apt-get -qq update
|
$RETRY sudo apt-get -qq update
|
||||||
$RETRY sudo apt-get install -qq g++-$GCC
|
$RETRY sudo apt-get install -qq g++-$GCC
|
||||||
|
else
|
||||||
|
$RETRY sudo apt-get -qq update
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$RETRY sudo apt-get -qq install libboost-dev libpcre3-dev
|
$RETRY sudo apt-get -qq install libboost-dev libpcre3-dev
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue