Skip to content

Commit eafb38c

Browse files
committed
apt udpdate
1 parent b1a8376 commit eafb38c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build/rocm/tools/get_rocm.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,9 @@ def setup_repos_ubuntu(rocm_version_str):
269269
# if X.Y.0 -> repo url version should be X.Y
270270
if rv.rev == 0:
271271
rocm_version_str = "%d.%d" % (rv.major, rv.minor)
272-
272+
273+
# Update indexes.
274+
subprocess.check_call(["apt-get", "update"])
273275
s = get_system()
274276
s.install_packages(["wget", "sudo", "gnupg"])
275277

0 commit comments

Comments
 (0)