South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
How do you guys go about debugging wget if it retries and time outs the whole time.
-d
did not reveal much other than it's timing out.
( I tried a bunch of url's so it's not that. )
I am trying to get my files from
https://raw.githubusercontent.com/<username>/<repo>/<branch>/some_directory/file.sh using wget.
Doesnt work
how do I debug
With a debugger.
Guide me please. At my wits end here.
Lol, pulling your leg.
What is the problem exactly, don't feel like reading 88 posts.
sudo wget -O newfilename https://raw.githubusercontent.com/<username>/<repo>/<branch>/some_directory/file.sh

Pm me the url, let me try it.
Edit: can only try tomorrow.
[XC] Oj101;18051168 said:Wow, this thread should be renamed "Thor's Brain in Realtime"![]()
Or "Thor's free support / training" thread. Threads like these are the reason why forums are abandoned eventually.
Did I ask you to read this?
My point is that you bring zero value to the community with a thread like this. ZERO
My point is that you bring zero value to the community with a thread like this. ZERO
Don't talk k@k. Starting threads and asking questions and getting them answered makes it easier for the next person with the same or similar problem. And, free training is great. The world is better for it.
apt-get update
sudo rm /var/lib/apt/lists/* -vf
apt-get update
login as: thor
[email protected] password:
Linux vps 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u6 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Jul 28 20:32:40 2016
thor@asgard:~# sudo apt-get update
-bash: sudo: command not found
thor@asgard:~# apt-get update
0% [Connecting to ftp.debian.org (130.89.148.12)] [Connecting to security.debian.org (212.211.132.32)]
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
DEBUG output created by Wget 1.13.4 on linux-gnu.
URI encoding = `UTF-8'
--2016-07-28 20:42:41-- http://mybroadband.co.za/
Resolving mybroadband.co.za (mybroadband.co.za)... 104.20.72.110, 104.20.71.110, 2400:cb00:2048:1::6814:486e, ...
Caching mybroadband.co.za => 104.20.72.110 104.20.71.110 2400:cb00:2048:1::6814:486e 2400:cb00:2048:1::6814:476e
Connecting to mybroadband.co.za (mybroadband.co.za)|104.20.72.110|:80...
thor@asgard:~# apt-get install curl libcurl3 php5-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libonig2 libphp5-embed libqdbm14 librtmp0 libssh2-1 php5-common
Suggested packages:
php-pear
The following NEW packages will be installed:
curl libcurl3 libonig2 libphp5-embed libqdbm14 librtmp0 libssh2-1 php5-common php5-curl
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,459 kB of archives.
After this operation, 12.4 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
librtmp0 libssh2-1 libcurl3 php5-common libonig2 libqdbm14 libphp5-embed php5-curl curl
Install these packages without verification [y/N]? y
0% [Connecting to ftp.debian.org (130.89.148.12)] [Connecting to security.debian.org (128.101.240.215)]
Err http://ftp.debian.org/debian/ wheezy/main librtmp0 amd64 2.4+20111222.git4e06e21-1
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
Err http://ftp.debian.org/debian/ wheezy/main libonig2 amd64 5.9.1-1
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
Err http://ftp.debian.org/debian/ wheezy/main libqdbm14 amd64 1.8.78-2
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
root@vps:~# ping za.archive.ubuntu.com
PING ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2) 56(84) bytes of data.
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=1 ttl=55 time=57.9 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=2 ttl=55 time=57.4 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=3 ttl=55 time=57.3 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=4 ttl=55 time=57.8 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=5 ttl=55 time=57.3 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=6 ttl=55 time=57.3 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=7 ttl=55 time=57.3 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=8 ttl=55 time=57.2 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=9 ttl=55 time=60.5 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=10 ttl=55 time=57.4 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=11 ttl=55 time=57.5 ms