Ubuntu

Provide 11.10 backport to fix SSL connection lost with git

Reported by l0b0 on 2012-02-24
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
curl (Ubuntu)
Undecided
Unassigned

Bug Description

After upgrading to 11.10, I was no longer able to `git pull` or `push` with github.com over SSL.

The workaround discussed at http://stackoverflow.com/questions/8403792/git-behind-proxy-remote-head-refers-to-nonexistent-ref-unable-to-checkout worked for me (download and install 12.04 debs), and should ideally be backported to 11.04.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: libcurl3 7.21.6-3ubuntu3.2
ProcVersionSignature: Ubuntu 3.0.0-16.28-generic 3.0.17
Uname: Linux 3.0.0-16-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Fri Feb 24 17:23:06 2012
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64+mac (20101008)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
 LC_PAPER=en_GB.UTF-8
SourcePackage: curl
UpgradeStatus: Upgraded to oneiric on 2012-02-24 (0 days ago)

l0b0 (victor-engmark) wrote :
l0b0 (victor-engmark) wrote :

Some shell output:

$ git pull
Password:
Your configuration specifies to merge with the ref 'master'
from the remote, but no such ref was fetched.

$ git clone https://...@github.com/.../....git
Cloning into graphics...
Password:
warning: remote HEAD refers to nonexistent ref, unable to checkout.

$ git push
Password:
Everything up-to-date [Even though `git status` showed that I was 5 ahead of origin]

Unfortunately I didn't save the full output of `GIT_CURL_VERBOSE=1 git push -u origin master`, which was much more informative.

summary: - SSL connection lost with git
+ Provide 11.10 backport to fix SSL connection lost with git
Alessandro Ghedini (ghedo) wrote :

The bug has been already fixed, what the submitter is asking is a backport of the version 7.22.0-3u2 for Ubuntu 11.10.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in curl (Ubuntu):
status: New → Confirmed
Taylor Braun-Jones (nocnokneo) wrote :

Here's a workaround for 11.10 users who will probably never get the fix backported. Add the following to ~/.gitconfig or /etc/gitconfig

# Workaround for bug when using SSL and HTTP proxy (LP #940431)
[url "http://"]
 insteadOf = "https://"

Guillermo Reisch (guillere) wrote :

dont work!!!
ii libcurl3-gnutls 7.21.6-3ubuntu3.2
ii libcurl3-gnutls 7.21.6-3ubuntu3

WORKS!!!
ii libcurl3-gnutls 7.21.3-1ubuntu1
ii libcurl3-gnutls 7.22.0-3ubuntu4

work a round:
upgrade or downgrade libcurl3-gnutls package
add to /etc/apt/sources.list =>
deb http://uy.archive.ubuntu.com/ubuntu/ natty main
( OR/AND )
deb http://uy.archive.ubuntu.com/ubuntu/ precise main

Does installing precise's libc break oneiric? I'm somewhat wary...

On Tue, Apr 17, 2012 at 6:17 PM, Guillermo Reisch
<email address hidden> wrote:
> dont work!!!
> ii  libcurl3-gnutls                        7.21.6-3ubuntu3.2
> ii  libcurl3-gnutls                        7.21.6-3ubuntu3
>
> WORKS!!!
> ii  libcurl3-gnutls                        7.21.3-1ubuntu1
> ii  libcurl3-gnutls                        7.22.0-3ubuntu4
>
> work a round:
> upgrade or downgrade libcurl3-gnutls package
> add to /etc/apt/sources.list =>
> deb http://uy.archive.ubuntu.com/ubuntu/ natty main
> ( OR/AND )
> deb http://uy.archive.ubuntu.com/ubuntu/ precise main
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/940431
>
> Title:
>  Provide 11.10 backport to fix SSL connection lost with git
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/curl/+bug/940431/+subscriptions

Guillermo Reisch (guillere) wrote :

I install libcurl3-gnutls 7.22.0-3ubuntu4 in Ubuntu Oneiric, and it will upgrade libc. It works and upgrade correctly FOR ME.
First i try with libcurl3-gnutls 7.21.3-1ubuntu1 (in natty repository), it dont need to upgrade libc (or donwgrade). But be carefully whit Update Manager trying to upgrating libcurl3-gnutls again to BREAK VERSION :-S

PS: I attach "libcurl3-gnutls 7.21.3-1ubuntu1" package, "dpkg - i libcurl3-gnutls_7.21.3-1ubuntu1_i386.deb" sould works...

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers