You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update: Read Update2 first, so you can see the whole output. As you can see from the log, lsb_release -sr does not give me any number, which it should.
Hi,
I see that you only look for the specific filename "Debian" etc, while it is common to use longer filenames such as "Debian GNU/Linux". So in my case, I get "Your system does not appear to be supported", while it is Debian 10 (buster) as seen below. This can easily be fixed by checking ID instead of name, checking the first 6 chars of "Debian *", using a wildcard or checking for filename "Debian GNU/Linux" specifically as for "Debian" etc for line 271 in rtinst.
/usr/local/bin/rtinst: line 271: [: -ge: unary operator expected
Debian GNU/Linux 10 (buster)
Only Ubuntu release 16 and later, and Debian and Raspbian release 9 and later, are supported
Your system does not appear to be supported
Check https://github.com/arakasi72/rtinst/wiki/Installing-on-Older-OS to see if it is supported by an earlier rtinst release
The simple fix in the meantime for my case was just to change the variables manually.
sed -i '/^\s*osname=*/ c\osname=Debian' /etc/rtinst/scripts/rtinst
sed -i '/^\s*relno=*/ c\relno=10' /etc/rtinst/scripts/rtinst
Update:
Hmm, this is odd as I see that you find osname with lsb_release -si, which gives me Debian when I run it. So, it shouldn't fail in the first place. I get another error, which is the following: /usr/local/bin/rtinst: line 44: [: =: unary operator expected
Update2:
Here is full output with "set -e -x" added to rtinst:
user@hostname:~$ sudo rtinst
+ PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/bin:/sbin
+ rtorrentrel=0.9.6
+ rt_url=http://rtorrent.net/downloads/
+ xmlrpc_url=https://svn.code.sf.net/p/xmlrpc-c/code/advanced/
+ xmlrpc_url_alt=https://github.com/mirror/xmlrpc-c
+ ru_url=https://github.com/Novik/ruTorrent/
+ adl_url=https://github.com/autodl-community/
++ dpkg-query -W '-f=${Status}' lsb-release
++ grep -c 'ok installed'
+ '[' 1 -eq 0 ']'
++ lsb_release -sd
+ fullrel='Debian GNU/Linux 10 (buster)'
++ lsb_release -si
+ osname=Debian
++ lsb_release -sr
++ cut -d. -f1
+ relno=
+ '[' '' = 16 ']'
+ '[' '' = 17 ']'
+ '[' '' = 9 ']'
++ lsb_release -sr
+ '[' = 17.10 ']'
/usr/local/bin/rtinst: line 45: [: =: unary operator expected
+ '[' '' = 18 ']'
+ '[' '' = 19 ']'
+ '[' '' = 10 ']'
++ ip route get 8.8.8.8
++ awk 'NR==1 {print $7}'
+ serveripa=192.168.1.7
++ wget -qO- ipecho.net/plain
+ serveripb=82.100.23.232
+ '[' 192.168.1.7 = 82.100.23.232 ']'
+ echo 'Select the IP address to use:'
Select the IP address to use:
+ echo '1.) 192.168.1.7'
1.) 192.168.1.7
+ echo '2.) 82.100.23.232'
2.) 82.100.23.232
+ true
+ read answer
1
+ case $answer in
+ serverip=192.168.1.7
+ break
+ echo 'IP set to 192.168.1.7'
IP set to 192.168.1.7
+ export logfile=/dev/null
+ logfile=/dev/null
+ webpass=
+ cronline1='@reboot sleep 10; /usr/local/bin/rtcheck irssi rtorrent'
+ cronline2='*/10 * * * * /usr/local/bin/rtcheck irssi rtorrent'
+ dlflag=1
+ portdefault=1
+ skip_rt=1
+ sshport=
+ rudevflag=1
+ rurelease=master
+ passfile=/etc/nginx/.htpasswd
+ package_list='sudo nano autoconf build-essential ca-certificates comerr-dev curl dtach htop irssi libcppunit-dev libncurses5-dev libterm-readline-gnu-perl libsigc++-2.0-dev libperl-dev libtool libxml2-dev ncurses-base ncurses-term ntp patch pkg-config -fpm -cli -dev -curl php-geoip -xmlrpc -xml python-scgi screen subversion texinfo unzip zlib1g-dev libcurl4-openssl-dev mediainfo software-properties-common aptitude -json nginx-full apache2-utils git libarchive-zip-perl libnet-ssleay-perl libhtml-parser-perl libxml-libxml-perl libjson-perl libjson-xs-perl libxml-libxslt-perl libjson-rpc-perl libarchive-zip-perl'
+ Install_list=
+ unixpass=
+ passflag=0
+ forceyes=1
+ selfsign=1
+ rut_add_users=1
++ id -u
+ '[' 0 '!=' 0 ']'
+ '[' Debian = Ubuntu ']'
+ '[' Debian = Debian ']'
+ '[' -ge 9 ']'
/usr/local/bin/rtinst: line 272: [: -ge: unary operator expected
+ '[' Debian = Raspbian ']'
+ echo Debian GNU/Linux 10 '(buster)'
Debian GNU/Linux 10 (buster)
+ echo 'Only Ubuntu release 16 and later, and Debian and Raspbian release 9 and later, are supported'
Only Ubuntu release 16 and later, and Debian and Raspbian release 9 and later, are supported
+ echo 'Your system does not appear to be supported'
Your system does not appear to be supported
+ echo 'Check https://github.com/arakasi72/rtinst/wiki/Installing-on-Older-OS to see if it is supported by an earlier rtinst release'
Check https://github.com/arakasi72/rtinst/wiki/Installing-on-Older-OS to see if it is supported by an earlier rtinst release
+ exit
The text was updated successfully, but these errors were encountered:
Update: Read Update2 first, so you can see the whole output. As you can see from the log, lsb_release -sr does not give me any number, which it should.
Hi,
I see that you only look for the specific filename "Debian" etc, while it is common to use longer filenames such as "Debian GNU/Linux". So in my case, I get "Your system does not appear to be supported", while it is Debian 10 (buster) as seen below. This can easily be fixed by checking ID instead of name, checking the first 6 chars of "Debian *", using a wildcard or checking for filename "Debian GNU/Linux" specifically as for "Debian" etc for line 271 in rtinst.
OS information:
The simple fix in the meantime for my case was just to change the variables manually.
Update:
Hmm, this is odd as I see that you find osname with lsb_release -si, which gives me Debian when I run it. So, it shouldn't fail in the first place. I get another error, which is the following:
/usr/local/bin/rtinst: line 44: [: =: unary operator expected
Update2:
Here is full output with "set -e -x" added to rtinst:
The text was updated successfully, but these errors were encountered: