Skip to content

Commit b7e1ba9

Browse files
yuyantingzerocopybara-github
authored andcommitted
Workaround IPC connection issue on Ubuntu1804.
PiperOrigin-RevId: 385579821
1 parent aa312ae commit b7e1ba9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

perfkitbenchmarker/linux_packages/ubuntu_toolchain.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@ def AptInstall(vm):
1616
vm.RemoteCommand('sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test')
1717
for key in _REQUIRED_KEYS:
1818
vm.RemoteCommand(
19-
f'sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys {key}')
19+
'curl -sL '
20+
f'"http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x{key}"'
21+
' | sudo apt-key add')
2022
vm.RemoteCommand('sudo apt update')

0 commit comments

Comments
 (0)