Installation failed on openSUSE Tumbleweed
silvioprog opened this issue · comments
Silvio Clécio commented
Hi.
The ./install.sh
doesn't work on openSUSE. This is the generated log:
./install.sh
+ '[' 1 -eq 1 ']'
++ /usr/bin/gdb -batch -q --nx -ex 'pi import platform; print(".".join(platform.python_version_tuple()[:2]))'
+ GDB_PYVER=3.7
++ /usr/bin/gdb -batch -q --nx -ex 'pi import sys; print(sys.executable)'
+ GDB_PYTHON=/usr/bin/python
+ GDB_PYTHON=/usr/bin/python3.7
+ install_packages
+ install_apt
+ '[' -n /usr/bin/apt-get ']'
+ '[' -z '' ']'
+ sudo apt-get update
[sudo] password for root:
Repository 'openSUSE:Tumbleweed' is up to date.
Retrieving repository 'packman-essentials' metadata ......................................................................................................................................[done]
Building repository 'packman-essentials' cache ...........................................................................................................................................[done]
Repository 'openSUSE-Tumbleweed-Non-Oss' is up to date.
Repository 'openSUSE-Tumbleweed-Oss' is up to date.
Repository 'openSUSE-Tumbleweed-Update' is up to date.
Retrieving repository 'Cross-toolchain for 32-bit windows and 32-bit windows packages (openSUSE_Tumbleweed)' metadata ....................................................................[done]
Building repository 'Cross-toolchain for 32-bit windows and 32-bit windows packages (openSUSE_Tumbleweed)' cache .........................................................................[done]
Retrieving repository 'Cross-toolchain for 64-bit windows and 64-bit windows packages (openSUSE_Tumbleweed)' metadata ....................................................................[done]
Building repository 'Cross-toolchain for 64-bit windows and 64-bit windows packages (openSUSE_Tumbleweed)' cache .........................................................................[done]
All repositories have been refreshed.
+ echo
+ grep '3\.'
+ sudo apt-get -y install libreadline6-dev python-dev python-setuptools python-yaml python-pip
Loading repository data...
Reading installed packages...
Package 'libreadline6-devel' not found.
'python-setuptools' not found in package names. Trying capabilities.
'python2-setuptools' providing 'python-setuptools' is already installed.
'python-pip' not found in package names. Trying capabilities.
'python2-pip' providing 'python-pip' is already installed.
'python-yaml' not found in package names. Trying capabilities.
It seems the script tries to use apt-get
, but it should use zypper
instead, since it is the package manager on openSUSE.