[neon/forks/ubuntu-release-upgrader/Neon/unstable_jammy] /: enable all sources
Harald Sitter
null at kde.org
Tue Apr 26 19:20:53 BST 2022
Git commit a3b026f8e03f703944f4941b2884e9a282be9669 by Harald Sitter.
Committed on 26/04/2022 at 18:15.
Pushed by sitter into branch 'Neon/unstable_jammy'.
enable all sources
otherwise the demotions.py errors out with
apt_pkg.Error: E:The value 'bionic' is invalid for APT::Default-Release as such a release is not available in the sources
M +3 -1 pre-build.sh
https://invent.kde.org/neon/forks/ubuntu-release-upgrader/commit/a3b026f8e03f703944f4941b2884e9a282be9669
diff --git a/pre-build.sh b/pre-build.sh
index 9f43ea12..df6c81bd 100755
--- a/pre-build.sh
+++ b/pre-build.sh
@@ -1,10 +1,12 @@
#!/bin/sh
-set -e
+set -ex
# The testsuite has a sad if you're in a non-UTF-8 locale:
export LANG='C.UTF-8'
+sed -i 's/# deb-src/deb-src/g' /etc/apt/sources.list
+apt update
# Install for neon. we run this during build
apt install -y apt-btrfs-snapshot parsewiki python3-feedparser python3-mock xvfb gir1.2-gtk-3.0 python3-nose
More information about the Neon-commits
mailing list