WSL-Distribution-Switcher icon indicating copy to clipboard operation
WSL-Distribution-Switcher copied to clipboard

curl, wget, and git not working on debian jessie

Open rmdir-p opened this issue 8 years ago • 6 comments

Debian jessie was installed by get-source.py. After apt-get install ... , wget, curl and git are not working properly. See below, git clone was not successful, nothing fetched from server.

root@DESKTOP-1LAII7P:/sbin# wget Aborted (core dumped) root@DESKTOP-1LAII7P:/sbin# curl Aborted (core dumped) root@DESKTOP-1LAII7P:/sbin# git clone https://github.com/RoliSoft/WSL-Distribution-Switcher.git Cloning into 'WSL-Distribution-Switcher'... root@DESKTOP-1LAII7P:/sbin#

rmdir-p avatar Jan 18 '17 15:01 rmdir-p

I second this, though git worked just fine for me.

EDIT: cloning via SSH works, but cloning via HTTPS does not.

This worked:

FUCHIKOMA:~/dev git clone [email protected]:curl/curl.git
Cloning into 'curl'...
remote: Counting objects: 124448, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 124448 (delta 0), reused 0 (delta 0), pack-reused 124439
Receiving objects: 100% (124448/124448), 42.99 MiB | 6.97 MiB/s, done.
Resolving deltas: 100% (96549/96549), done.
Checking connectivity... done.
Checking out files: 100% (2699/2699), done.

This failed:

FUCHIKOMA:~/dev/foo git clone https://github.com/curl/curl.git
Cloning into 'curl'...
FUCHIKOMA:~/dev/foo echo $?
128
FUCHIKOMA:~/dev/foo ls

As you can see, it quit with error code 128 seemingly before connecting and created no new folder nor files.

stefco avatar Mar 25 '17 23:03 stefco

I tried installing curl from source and got the same result:

FUCHIKOMA:~/dev/curl /usr/local/bin/curl
Aborted (core dumped)
FUCHIKOMA:~/dev/curl echo $?
134

stefco avatar Mar 25 '17 23:03 stefco

Is this happening with the anniversary update or the insiders builds?

RoliSoft avatar Mar 25 '17 23:03 RoliSoft

Anniversary edition, update KB4015438

stefco avatar Mar 26 '17 00:03 stefco

Hm, just tried it on 1703 (Pro), no problems with git, wget or curl

root@DESKTOP-QQAGK2B:~# git clone https://github.com/RoliSoft/WSL-Distribution-Switcher.git
Cloning into 'WSL-Distribution-Switcher'...
remote: Counting objects: 291, done.
remote: Total 291 (delta 0), reused 0 (delta 0), pack-reused 291
Receiving objects: 100% (291/291), 103.66 KiB | 0 bytes/s, done.
Resolving deltas: 100% (182/182), done.
Checking connectivity... done.
root@DESKTOP-QQAGK2B:~#

ScuttleSE avatar Apr 12 '17 07:04 ScuttleSE

Just upgraded to win10 creators update(1703), these problems no longer exist.

rmdir-p avatar Apr 15 '17 00:04 rmdir-p