[sysadmin/neon-tooling] nci/lib: run an apt dist-upgrade after neon archives are added

Carlos De Maine <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 74cb65d73282f5c8ab2ef2044d985af4504d14bb by Carlos De Maine.
Committed on 22/07/2026 at 00:31.
Pushed by carlosdem into branch 'master'.

run an apt dist-upgrade after neon archives are added

otherwise libs that are in the base that may have been backported will never be upgraded causing compilation failures

M  +3    -1    nci/lib/setup_repo.rb

https://invent.kde.org/sysadmin/neon-tooling/-/commit/74cb65d73282f5c8ab2ef2044d985af4504d14bb

diff --git a/nci/lib/setup_repo.rb b/nci/lib/setup_repo.rb
index a6e82bb8..01eccdb6 100644
--- a/nci/lib/setup_repo.rb
+++ b/nci/lib/setup_repo.rb
@@ -65,7 +65,9 @@ module NCI
       deps.concat(%w[kde-release-keyring neon-settings-2])
     end
     raise 'failed to install deps' unless Apt.install(deps)
-    
+    # make sure the whole system is up to date
+    raise 'failed to dist upgrade' unless Apt.dist_upgrade
+
     # Qt6 Hack
     return unless %w[_qt6_bin_ _qt6_src].any? do |x|
       ENV.fetch('JOB_NAME', '').include?(x)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.