git-clone fails
Bug #178603 reported by
Adam Klobukowski
This bug report is a duplicate of:
Bug #52711: git-core requires curl but doesn't download it.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-core (Ubuntu) |
Invalid
|
Medium
|
Daniel Hahler |
Bug Description
Binary package hint: git-core
invoking git with:
$ git clone http://
fails with following error message:
/usr/bin/git-clone: 356: curl: not found
Installing curl package fixes the problem. git-core recommends curl, but it should require it.
To post a comment you must log in.
Confirming and:
jon@rubycon:$ sudo apt-get install git-core ~ sha1-perl liberror-perl es.archive. ubuntu. com gutsy/main liberror-perl 0.15-8 [15.5kB] es.archive. ubuntu. com gutsy/main libdigest-sha1-perl 2.11-2 [24.7kB] es.archive. ubuntu. com gutsy/main git-core 1:1.5.2.5-2build1 [3631kB] perl_0. 15-8_all. deb) ... sha1-perl. sha1-perl_ 2.11-2_ i386.deb) ... core_1% 3a1.5.2. 5-2build1_ i386.deb) ... source. djpig.de/ git/packages. git ~/git-tmp git-tmp/ packages/ .git/ server- info needs to be run there? es.archive. ubuntu. com gutsy/main libcurl3 7.16.4-2ubuntu1 [182kB] es.archive. ubuntu. com gutsy/main curl 7.16.4-2ubuntu1 [175kB] 7.16.4- 2ubuntu1_ i386.deb) ... 7.16.4- 2ubuntu1_ i38...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libdigest-
Suggested packages:
git-arch git-cvs git-svn git-email git-daemon-run git-gui gitk gitweb cogito
Recommended packages:
git-doc curl
The following NEW packages will be installed
git-core libdigest-sha1-perl liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 3671kB of archives.
After unpacking 7827kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get: 1 http://
Get: 2 http://
Get: 3 http://
Fetched 3671kB in 49s (74.8kB/s)
Selecting previously deselected package liberror-perl.
(Reading database ... 96282 files and directories currently installed.)
Unpacking liberror-perl (from .../liberror-
Selecting previously deselected package libdigest-
Unpacking libdigest-sha1-perl (from .../libdigest-
Selecting previously deselected package git-core.
Unpacking git-core (from .../git-
Setting up liberror-perl (0.15-8) ...
Setting up libdigest-sha1-perl (2.11-2) ...
Setting up git-core (1:1.5.2.5-2build1) ...
jon@rubycon:$ mkdir git-tmp ~
jon@rubycon:$ cd git-tmp ~
jon@rubycon:$ git clone http://
zsh: correct 'git' to '_git' [nyae]? n
Initialized empty Git repository in /home/jon/
/usr/bin/git-clone: 310: curl: not found
Cannot get remote repository information.
Perhaps git-update-
jon@rubycon:$ sudo apt-get install curl ~/git-tmp
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libcurl3
The following NEW packages will be installed
curl libcurl3
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 357kB of archives.
After unpacking 680kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get: 1 http://
Get: 2 http://
Fetched 357kB in 3s (98.1kB/s)
Selecting previously deselected package libcurl3.
(Reading database ... 96622 files and directories currently installed.)
Unpacking libcurl3 (from .../libcurl3_
Selecting previously deselected package curl.
Unpacking curl (from .../curl_