apt udpdate

This commit is contained in:
Ruturaj4 2024-10-11 17:29:28 -05:00
parent b1a837663c
commit eafb38ca8e

View File

@ -269,7 +269,9 @@ def setup_repos_ubuntu(rocm_version_str):
# if X.Y.0 -> repo url version should be X.Y
if rv.rev == 0:
rocm_version_str = "%d.%d" % (rv.major, rv.minor)
# Update indexes.
subprocess.check_call(["apt-get", "update"])
s = get_system()
s.install_packages(["wget", "sudo", "gnupg"])