timeout settings in check_url function causing "Some of your Debian mirrors are down, try again later"
I keep on getting the "Some of your Debian mirrors are down, try again later", but this is not true. I can access the URLs normally with wget -S --spider $url.
exhumer@EXHUMER-PI3BP:~ $ sudo rtinst
Debian GNU/Linux 11 (bullseye)
Checking the web sites we will need are accessible
Checking Debian mirrors
http://deb.debian.org/debian/: FAIL
http://security.debian.org/debian-security: FAIL
http://deb.debian.org/debian/: FAIL
Checking major 3rd party components
Rtorrent: FAIL
xmlrpc-c: FAIL
RuTorrent: FAIL
Autodl-irssi: FAIL
Some of your Debian mirrors are down, try again later
The real reason for the FAILs are due to the -T 3 (3 second timeout) option of wget command in rtinst.check_url and rtupdate.check_url. Removing -T 3 fixes the problem for me.
exhumer@EXHUMER-PI3BP:~ $ sudo rtinst
Debian GNU/Linux 11 (bullseye)
Checking the web sites we will need are accessible
Checking Debian mirrors
http://deb.debian.org/debian/: OK
http://security.debian.org/debian-security: OK
http://deb.debian.org/debian/: OK
Checking major 3rd party components
Rtorrent: OK
xmlrpc-c: OK
RuTorrent: OK
Autodl-irssi: OK
Will it be possible to provide some sort of option to disable the timeout while using rtinst script?
I keep on getting the "Some of your Debian mirrors are down, try again later", but this is not true. I can access the URLs normally with
wget -S --spider $url.exhumer@EXHUMER-PI3BP:~ $ sudo rtinst Debian GNU/Linux 11 (bullseye) Checking the web sites we will need are accessible Checking Debian mirrors http://deb.debian.org/debian/: FAIL http://security.debian.org/debian-security: FAIL http://deb.debian.org/debian/: FAIL Checking major 3rd party components Rtorrent: FAIL xmlrpc-c: FAIL RuTorrent: FAIL Autodl-irssi: FAIL Some of your Debian mirrors are down, try again laterThe real reason for the FAILs are due to the
-T 3(3 second timeout) option of wget command in rtinst.check_url and rtupdate.check_url. Removing-T 3fixes the problem for me.exhumer@EXHUMER-PI3BP:~ $ sudo rtinst Debian GNU/Linux 11 (bullseye) Checking the web sites we will need are accessible Checking Debian mirrors http://deb.debian.org/debian/: OK http://security.debian.org/debian-security: OK http://deb.debian.org/debian/: OK Checking major 3rd party components Rtorrent: OK xmlrpc-c: OK RuTorrent: OK Autodl-irssi: OKWill it be possible to provide some sort of option to disable the timeout while using
rtinstscript?
https://swizzin.ltd/