From 1c79c1a3d2e7f18c198492c8d7bdc18911f26c04 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sat, 12 Mar 2022 16:51:42 +0100 Subject: [LXC] fedora33 EOL [1], upgrade to fedora35 [2] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [1] https://docs.fedoraproject.org/en-US/releases/eol/ [2] https://docs.fedoraproject.org/en-US/releases/f35/ Tested by:: # build the container .. $ sudo -H ./utils/lxc.sh build searx-fedora35 # open a shell in the container $ sudo -H ./utils/lxc.sh cmd searx-fedora35 bash [root@searx-fedora35 SearXNG]# # install a complete SearXNG suite .. [root@searx-fedora35 SearXNG]# ./utils/searx.sh install all ... # install apache to export the SearXNG instance by HTTP [root@searx-fedora35 SearXNG]# ./utils/searx.sh apache install ... INFO: got 200 from http://10.174.184.94/searx To build wheel `python3-devel` needs to be added to SEARX_PACKAGES_fedora:: |searx| × Building wheel for setproctitle (pyproject.toml) did not run successfully. |searx| │ exit code: 1 ... |searx| In file included from src/spt.h:15, |searx| from src/setproctitle.c:14: |searx| src/spt_python.h:16:10: fatal error: Python.h: No such file or directory |searx| 16 | #include |searx| | ^~~~~~~~~~ |searx| compilation terminated. |searx| error: command '/usr/bin/gcc' failed with exit code 1 |searx| [end of output] ... |searx| ERROR: Failed building wheel for setproctitle Signed-off-by: Markus Heiser --- utils/lxc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/lxc.sh') diff --git a/utils/lxc.sh b/utils/lxc.sh index ab96a99ce..0b4e246df 100755 --- a/utils/lxc.sh +++ b/utils/lxc.sh @@ -51,7 +51,7 @@ echo 'Set disable_coredump false' >> /etc/sudo.conf " # shellcheck disable=SC2034 -fedora33_boilerplate=" +fedora35_boilerplate=" dnf update -y dnf install -y git curl wget hostname echo 'Set disable_coredump false' >> /etc/sudo.conf -- cgit v1.2.3 From 7308a6e33c0aaad67ff214be5eb984e6900866f2 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sat, 12 Mar 2022 18:00:45 +0100 Subject: [LXC] ubuntu 20.10 EOL, upgrade to ubunut 21.10 [1] [1] https://wiki.ubuntu.com/Releases Tested by:: # build the container .. $ sudo -H ./utils/lxc.sh build searx-ubu2110 # open a shell in the container $ sudo -H ./utils/lxc.sh cmd searx-ubu2110 bash [root@searx-ubu2110 SearXNG]# # install a complete SearXNG suite .. [root@searx-ubu2110 SearXNG]# ./utils/searx.sh install all ... # install apache to export the SearXNG instance by HTTP [root@searx-ubu2110 SearXNG]# ./utils/searx.sh apache install ... INFO: got 200 from http://10.174.184.94/searx Signed-off-by: Markus Heiser --- utils/lxc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/lxc.sh') diff --git a/utils/lxc.sh b/utils/lxc.sh index 0b4e246df..9754b5d75 100755 --- a/utils/lxc.sh +++ b/utils/lxc.sh @@ -41,7 +41,7 @@ echo 'Set disable_coredump false' >> /etc/sudo.conf " # shellcheck disable=SC2034 -ubu2010_boilerplate="$ubu1904_boilerplate" +ubu2110_boilerplate="$ubu1904_boilerplate" # shellcheck disable=SC2034 archlinux_boilerplate=" -- cgit v1.2.3