Skip to content

Install Linux CI deps with apt, drop package cache - #58

Merged
mrquantumoff merged 2 commits into
nextfrom
cursor/apt-packages-no-cache-2cd8
Aug 24, 2026
Merged

Install Linux CI deps with apt, drop package cache#58
mrquantumoff merged 2 commits into
nextfrom
cursor/apt-packages-no-cache-2cd8

Conversation

@mrquantumoff

Copy link
Copy Markdown
Collaborator

Replace awalsh128/cache-apt-pkgs-action with plain sudo apt update / sudo apt install -y in validate-desktop.yml and release.yml. Do not cache the packages.

The cache action restores .deb files without registering them through dpkg or running maintainer scripts. On arm64 that left GTK’s immodules.cache missing, so linuxdeploy-plugin-gtk failed while bundling the AppImage (failed to run linuxdeploy). A real apt install runs those scripts and configures the packages fully.

Package lists are unchanged:

  • test-rust / release: libwebkit2gtk-4.1-dev xdg-utils libappindicator3-dev librsvg2-dev patchelf libsecret-1-dev
  • validate: the same set plus appstream desktop-file-utils

Rust crate caching (Swatinem/rust-cache) is unaffected.

Open in Web Open in Cursor 

Replace awalsh128/cache-apt-pkgs-action with sudo apt update/install in
validate-desktop and release. The cache action restores packages without
running maintainer scripts, which left GTK unconfigured on arm64 and
broke linuxdeploy AppImage bundling.

Co-authored-by: Demir Yerli <mrquantumoff@users.noreply.github.com>
@mrquantumoff
mrquantumoff marked this pull request as ready for review August 24, 2026 17:06
Signed-off-by: Demir Yerli <me@mrquantumoff.dev>
@mrquantumoff
mrquantumoff merged commit 500c5f9 into next Aug 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants