]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
action: Run apt-get update before installing packages
authorDaan De Meyer <daan@amutable.com>
Thu, 5 Feb 2026 08:31:50 +0000 (09:31 +0100)
committerDaan De Meyer <daan@amutable.com>
Thu, 5 Feb 2026 08:39:41 +0000 (09:39 +0100)
The repository metadata in the image can get out of date. Let's run
apt-get update to make sure it is fresh.

action.yaml

index 4e163d00dc14c0130cf0d56194dcc3c31eca5244..9d73955bdd728576e08476f607cfc1baf7d8542e 100644 (file)
@@ -95,6 +95,7 @@ runs:
     - name: Dependencies
       shell: bash
       run: |
+        sudo apt-get update
         sudo apt-get install --assume-yes --no-install-recommends \
           debian-archive-keyring \
           dnf \