From 6cd02e847a8f7776efa9535899bacf021aab552c Mon Sep 17 00:00:00 2001 From: Saurabh Kamat Date: Sat, 1 Jun 2024 14:42:42 +0800 Subject: [PATCH] Public key error seen while adding repo Signed-off-by: Saurabh Kamat --- src/setup-gazebo-linux.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/setup-gazebo-linux.ts b/src/setup-gazebo-linux.ts index 7b27206..b661e93 100644 --- a/src/setup-gazebo-linux.ts +++ b/src/setup-gazebo-linux.ts @@ -100,6 +100,7 @@ async function addAptRepoKey(): Promise { const keyFilePath = path.join(workspace, "gazebo.key"); fs.writeFileSync(keyFilePath, openRoboticsAptPublicGpgKey); await utils.exec("sudo", ["apt-key", "add", keyFilePath]); + await utils.exec("sudo", ["apt-get", "update"]); } /**