Skip to content
Open
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
6 changes: 4 additions & 2 deletions src/Misc/layoutbin/installdependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ then
command -v apt
if [ $? -eq 0 ]
then
apt update && apt install -y libkrb5-3 zlib1g debsums && (apt install -y liblttng-ust1 || apt install -y liblttng-ust0)
timeout 120 apt update || echo "WARNING: apt update failed or timed out, proceeding with cached package index"
apt install -y libkrb5-3 zlib1g debsums && (apt install -y liblttng-ust1 || apt install -y liblttng-ust0)
if [ $? -ne 0 ]
then
echo "'apt' failed with exit code '$?'"
Expand Down Expand Up @@ -110,7 +111,8 @@ then
command -v apt-get
if [ $? -eq 0 ]
then
apt-get update && apt-get install -y libkrb5-3 zlib1g debsums && (apt-get install -y liblttng-ust1 || apt-get install -y liblttng-ust0)
timeout 120 apt-get update || echo "WARNING: apt-get update failed or timed out, proceeding with cached package index"
apt-get install -y libkrb5-3 zlib1g debsums && (apt-get install -y liblttng-ust1 || apt-get install -y liblttng-ust0)
if [ $? -ne 0 ]
then
echo "'apt-get' failed with exit code '$?'"
Expand Down