Hi, I am trying to setup kde-builder on my OpenSuse tumbleweed and i am following the documentation [(kde-builder documentation)].
Now, after curl 'https://invent.kde.org/sdk/kde-builder/-/raw/master/scripts/initial_setup.sh?ref_type=heads' > initial_setup.sh
when i try bash initial_setup.sh
I get the following error
tarun@localhost:~> bash initial_setup.sh
Your distro ID: opensuse-tumbleweed
Installing runtime packages
+ sudo zypper refresh
[sudo] password for root:
Repository 'openSUSE-20250219-0' is up to date.
Repository 'Open H.264 Codec (openSUSE Tumbleweed)' is up to date.
All repositories have been refreshed.
+ sudo zypper install git python311-pyaml python311-setproctitle
Loading repository data...
Reading installed packages...
Package 'python311-pyaml' not found.
Package 'python311-setproctitle' not found.
'git' is already installed.
No update candidate for 'git-2.48.1-1.1.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
++ err_report
+++ caller
++ echo -e '\033[0;31mExited on error at line 46 initial_setup.sh.\033[0m'
Exited on error at line 46 initial_setup.sh.
Exited on error at line 46 initial_setup.sh.
for the following part of generated initial_setup.sh
Yes, this statement is wrong because sudo zypper search python311 does return me a lot of python packages but python311-pyaml and python311-setproctitle is not one of them.
But it does have python311-PyYAML also python3-setproctitle is not included in package manager.
Like I suspected this is some weird local issue. The default main openSUSE repository (Main Repository (OSS)) is not enabled for some reason, so you won’t see any packages from it.
sudo zypper modifyrepo --enable 2 should do the trick. Then you refresh and install the required python packages.