[neon/neon/settings/Neon/unstable] etc/apt/apt.conf.d: pipe OVERRIDES through head -n 1 to ensure we only
Carlos De Maine
null at kde.org
Mon Jan 26 07:31:25 GMT 2026
Git commit cc87d74b645ba6e5574f3450b84636e930b6e485 by Carlos De Maine.
Committed on 26/01/2026 at 07:31.
Pushed by carlosdem into branch 'Neon/unstable'.
pipe OVERRIDES through head -n 1 to ensure we only
ever process the first line of the neon-pins index-targets.
when running the daily_promotion_* jobs we test installability by
having two archives installed and thus a multiline is returned which
breaks our ln -s -f logic. the first line will always be stable or release
which are dev archives an thus will serve our latest neon-pins anyway...
(cherry picked from commit 9f778af52a470bb646b4251a8b50397a4c4b0c7a)
M +1 -1 etc/apt/apt.conf.d/40neon-pins
https://invent.kde.org/neon/neon/settings/-/commit/cc87d74b645ba6e5574f3450b84636e930b6e485
diff --git a/etc/apt/apt.conf.d/40neon-pins b/etc/apt/apt.conf.d/40neon-pins
index 9bfa864..5be0395 100644
--- a/etc/apt/apt.conf.d/40neon-pins
+++ b/etc/apt/apt.conf.d/40neon-pins
@@ -12,5 +12,5 @@ Acquire::IndexTargets {
};
APT::Update::Post-Invoke-Success {
- "OVERRIDES=$(apt-get indextargets --format '$(FILENAME)' 'Identifier: neon-pins') && OVERRIDES_LINK='/etc/apt/preferences.d/99-noble-overrides' && ln -s -f $OVERRIDES $OVERRIDES_LINK && echo 'Updating KDE neon pins... Done'"
+ "OVERRIDES=$(apt-get indextargets --format '$(FILENAME) | head -n 1' 'Identifier: neon-pins') && OVERRIDES_LINK='/etc/apt/preferences.d/99-noble-overrides' && ln -s -f $OVERRIDES $OVERRIDES_LINK && echo 'Updating KDE neon pins... Done'"
};
More information about the Neon-commits
mailing list