... as they are ignored in scripts/build_utils.sh since commit
3517941ef2aa ("script/build_utils.sh: don't fail if any mirror is not
accessible"). This is prompted by an issue with libboost repo, which
started returning 403 Forbidden errors.
While at it, skip fetching language and translation packs.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
if ! which virt-install >/dev/null; then
- sudo apt-get update
+ sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none || true
sudo apt-get install -y virtinst
fi
if ! which xmllint >/dev/null; then
- sudo apt-get update
+ sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none || true
sudo apt-get install -y libxml2-utils
fi
if ! which jq >/dev/null; then
- sudo apt-get update
+ sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none || true
sudo apt-get install -y jq
fi
# Install requirements (if needed)
#
if ! which unzip >/dev/null; then
- sudo apt-get update
+ sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none || true
sudo apt-get install -y unzip
fi
fi
if ! which xmllint >/dev/null; then
- sudo apt-get update
+ sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none || true
sudo apt-get install -y libxml2-utils
fi
if ! which jq >/dev/null; then
- sudo apt-get update
+ sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none || true
sudo apt-get install -y jq
fi
#
# Setup requirements (if needed)
#
-sudo apt-get update
+sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none || true
sudo apt-get install -y libvirt-daemon-system virtinst cloud-image-utils qemu-kvm
# Ensure that the libvirt socket is available, otherwise virsh commands will fail.
cd ~/ceph
-sudo apt-get update
+sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none || true
sudo apt-get install -y git
git submodule update --init --recursive
# Install requirements (if needed)
#
if ! which zip >/dev/null; then
- sudo apt-get update
+ sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none || true
sudo apt-get install -y zip
fi