Skip to content

Commit 85e37db

Browse files
barnabasbusaclaude
andcommitted
fix: add Release and Translation files to apt repository
The apt repository hosted on GitHub Pages only contained Packages and Packages.gz, causing apt-get update to emit noisy "Ign" and "Err 404" warnings for the missing InRelease, Release, and Translation-en files. While the install still succeeded (due to [trusted=yes] and Packages being present), these errors are confusing for users and make it look like something is broken. Generate a proper Release file via apt-ftparchive and add an empty Translation-en to satisfy apt's metadata expectations. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b26123b commit 85e37db

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/update-package-repo.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ jobs:
7070
dpkg-scanpackages --multiversion . > Packages
7171
gzip -9c Packages > Packages.gz
7272
73+
# Generate Release file to suppress apt "Ign" warnings
74+
apt-ftparchive release . > Release
75+
76+
# Create empty Translation file to prevent 404 on Translation-en
77+
touch Translation-en
78+
gzip -9c Translation-en > Translation-en.gz
79+
7380
- name: Update rpm repository
7481
run: |
7582
set -euo pipefail

0 commit comments

Comments
 (0)