File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,13 @@ if [[ "${BUILDKITE:-false}" == "true" ]]; then
2525 rm -f /etc/apt/sources.list.d/pgdg.list
2626 # Remove problematic Helm repository if it exists
2727 rm -f /etc/apt/sources.list.d/helm-stable-debian.list
28-
28+
29+ # Ensure Ubuntu main repositories are available
30+ echo " deb http://archive.ubuntu.com/ubuntu focal main" | tee /etc/apt/sources.list.d/ubuntu-main.list
31+ echo " deb http://archive.ubuntu.com/ubuntu focal-updates main" | tee -a /etc/apt/sources.list.d/ubuntu-main.list
32+ echo " deb http://security.ubuntu.com/ubuntu focal-security main" | tee -a /etc/apt/sources.list.d/ubuntu-main.list
33+ echo " deb http://archive.ubuntu.com/ubuntu focal universe" | tee -a /etc/apt/sources.list.d/ubuntu-universe.list
34+
2935 # Add keys and update
3036 wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
3137 apt-get clean
Original file line number Diff line number Diff line change @@ -36,6 +36,13 @@ echo "Removing packages.microsoft.com"
3636rm -f /etc/apt/sources.list.d/microsoft-prod.list
3737# Remove problematic Helm repository if it exists
3838rm -f /etc/apt/sources.list.d/helm-stable-debian.list
39+
40+ # Ensure Ubuntu main repositories are available
41+ echo " deb http://archive.ubuntu.com/ubuntu focal main" | tee /etc/apt/sources.list.d/ubuntu-main.list
42+ echo " deb http://archive.ubuntu.com/ubuntu focal-updates main" | tee -a /etc/apt/sources.list.d/ubuntu-main.list
43+ echo " deb http://security.ubuntu.com/ubuntu focal-security main" | tee -a /etc/apt/sources.list.d/ubuntu-main.list
44+ echo " deb http://archive.ubuntu.com/ubuntu focal universe" | tee -a /etc/apt/sources.list.d/ubuntu-universe.list
45+
3946echo " Installing test dependencies"
4047apt-get install -y lua5.1 luarocks postgresql-13 libsqlite3-dev
4148
You can’t perform that action at this time.
0 commit comments