[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: git clone https://... fails, git://... succeeds — ?



On Wed, 11 Jul 2018, Zenaan Harkness wrote:

Hellow Zenaan!

On Wed, Jul 11, 2018 at 11:32:30AM +0200, john doe wrote:
On 7/11/2018 11:12 AM, Zenaan Harkness wrote:
Anyone know why git is failing to clone with the HTTPS protocol (but
succeeds with the git protocol)?

Example:

$ git clone https://github.com/gnubee-git/GnuBee_Docs.git docs.gits
Cloning into 'docs.gits'...
fatal: unable to access
'https://github.com/gnubee-git/GnuBee_Docs.git/': gnutls_handshake()
failed: Public key signature verification has failed.


whereas:

$ git clone git://github.com/gnubee-git/GnuBee_Docs.git docs.gits
Cloning into 'docs.gits'...
remote: Counting objects: 1218, done.
remote: Compressing objects: 100% (29/29), done.
...


It is working fine here:

$ git clone https://github.com/gnubee-git/GnuBee_Docs.git docs.gits
Cloning into 'docs.gits'...
remote: Counting objects: 1218, done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 1218 (delta 16), reused 31 (delta 11), pack-reused 1178
Receiving objects: 100% (1218/1218), 872.28 MiB | 11.39 MiB/s, done.
Resolving deltas: 100% (288/288), done.
Checking out files: 100% (510/510), done.

Maybe:

https://superuser.com/questions/1250527/git-clone-stopped-working

OK so that page suggests reinstalling package libgnutls-deb0-28

Err... maybe it's been edited since.

On superuser.com/questions/1250527/git-clone-stopped-working , I read:

| * Do you have package libgnutls-deb0-28 installed? If so, could you
|   try to uninstall it and retry cloning? – nKn Sep 15 '17 at 7:11

| * Thank you. After # apt-get remove -y libgnutls-deb0-28; apt-get
|   install -y curl feh ffmpeg git libreoffice mpd mpv ncmpcpp clone
|   works again! – Alexx Roche Sep 15 '17 at 7:42

| * Had an issue with accessing several https repositories (git and
|   apt). Removing libgnutls-deb0-28 solved it. Thanks @nKn – Shay
|   Nissel Oct 4 '17 at 22:48

To me, that second message (apparently from the superuser thread OP)
looks like it suggests

  1. uninstalling libgnutls-deb0-28,

  2. taking careful note of the explicitly desired applications that
     will be removed as a consequence of the removal of
     libgnutls-deb0-28,

  3. and then re-installing those desired applications.

That doesn't sound like the same thing as reinstalling
libgnutls-deb0-28. Not to me.

BUT, that package is not in the archives for Debian stable:

https://packages.debian.org/search?keywords=libgnutls-deb0-28

shows that it's only available in wheezy-backports, jessie
(oldstable) and sid (unstable) as a debports port for arm64.

Curious.

So the file
pool/main/g/gnutls28/libgnutls-deb0-28_3.3.8-6+deb8u7_amd64.deb

is in the archives, but not listed as a stable/stretch package.

Neato.

    davidson@intherye$ dpkg-query -l 'libgnutls*'
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name                   Version          Archie     Description
    +++-======================-================-======-==============================
    ii  libgnutls-dane0:amd64  3.5.8-5+deb9u3   amd64   GNU TLS library - DANE security support
OMG ii  libgnutls-deb0-28:amd6 3.3.8-6+deb8u5   amd64   GNU TLS library - main runtime library
    ii  libgnutls-openssl27:am 3.5.8-5+deb9u3   amd64   GNU TLS library - OpenSSL wrapper
    ii  libgnutls30:amd64      3.5.8-5+deb9u3   amd64   GNU TLS library - main runtime library

So I installed this system from a jessie dvd and immediately upgraded
to testing about a week before stretch became the new stable. So, like
you, my stretch system is an upgrade from jessie (though it only spent
a couple of hours as jessie).

I had no difficulty replicating john doe's success with

  $ git clone https://github.com/gnubee-git/GnuBee_Docs.git gnubee-git

(except for his enviable download rates).

Interestin. Given it's apparently not in stretch, perhaps I should
simply uninstall it:

$ sudo apt remove libgnutls-deb0-28
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
 automoc cvsps emacs freepats git-doc gstreamer1.0-libav iceweasel
 ...
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
 curl easygit ffmpeg gir1.2-spice-client-glib-2.0
 ...
0 upgraded, 0 newly installed, 130 to remove and 0 not upgraded.
After this operation, 563 MB disk space will be freed.
Do you want to continue? [Y/n] ^C

Looks like a Debian archives disconnect has happened somewhere ...
when removing a package that's "officially" not in the distribution,
removes 563 MB of installed software.

Bugs?

This:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=libgnutls-deb0-28
shows "No reports found!"

I also note that this package's "Provides" fields shows nothing,

Can confirm:

  davidson@intherye$ dpkg-query -W -f '${Provides}' libgnutls-deb0-28
  davidson@intherye$

but reverse depends:

Reverse depends:
 exim4-daemon-light
 libavformat56
libgnutls-deb0-28
 libhogweed2
 libimobiledevice4
 libmailutils4
 librtmp1
 libvncclient0
 libvncserver0
 mutt-patched
 network-manager

Whoa there.

  davidson@intherye$ apt-cache rdepends libgnutls-deb0-28 ; echo THAT\'S ALL FOLKS
  libgnutls-deb0-28
  Reverse Depends:
    libhogweed2
  THAT'S ALL FOLKS

This is a mystery that is beyond me. Any other ideas out there ???

I notice that nowhere in this thread have I been able to locate where
you indicate what *version* of libgnutls-deb0-28 you have installed.

It would be interesting to know.

Anyways, either way, nice to see you around again.

Good luck.

Reply to: