When cloning a git repository using
git clone, I get the following error :
fatal: unable to access 'https://github.com/schacon/simplegit-progit/': gnutls_handshake() failed: Public key signature verification has failed
Additionally, I obtain a similar error when running
apt-get update :
Err:12 https://repo.skype.com/deb stable/main amd64 Packages gnutls_handshake() failed: Public key signature verification has failed.
It appears that removing the
libgnutls-deb0-28 package could solve the problem. It is suggested here. However, I'm not sure what this package is about and what depends on it. In addition, when I try
apt-get remove libgnutls-deb0-28, it also removes a LOT of apparently unrelated packages, which I obviously do not want to remove.
Similar problems ha reported in various previous posts, but the reason(s) for theis error are never clear to me.
Does anyone understand the problem and could explain where it comes from ?
I am running Debian 9.2 (stretch).