From: Eli Zaretskii <eliz@gnu.org>
To: Eric Hanchrow <eric.hanchrow@gmail.com>
Cc: 31339@debbugs.gnu.org
Subject: bug#31339: 25.3.50; package-list-packages does not provide useful error when gnutls-cli is missing
Date: Wed, 02 May 2018 17:52:03 +0300 [thread overview]
Message-ID: <836046qfe4.fsf@gnu.org> (raw)
In-Reply-To: <CAHZoxq8rizW=njbUD_G81uBXG1_Qgx9jKfuQT66R5+pX6juEkw@mail.gmail.com> (message from Eric Hanchrow on Wed, 02 May 2018 02:33:39 +0000)
> From: Eric Hanchrow <eric.hanchrow@gmail.com>
> Date: Wed, 02 May 2018 02:33:39 +0000
>
> I typed "M-x package-list-packages", and saw complaints about ...
>
> Opening TLS connection to ‘melpa.org’...
> Opening TLS connection with ‘gnutls-cli --x509cafile
> /etc/pki/tls/certs/ca-bundle.crt -p 443 melpa.org’...failed
> Opening TLS connection with ‘gnutls-cli --x509cafile
> /etc/pki/tls/certs/ca-bundle.crt -p 443 melpa.org --protocols ssl3’...failed
> Opening TLS connection with ‘openssl s_client -connect melpa.org:443
> -CAfile /etc/pki/tls/certs/ca-bundle.crt -no_ssl2 -ign_eof’...failed
> Opening TLS connection to ‘melpa.org’...failed
> Package refresh done
> Failed to download ‘melpa’ archive.
>
> I eventually realized that the problem was simply due to my not having a
> gnutls-cli executable! But it took me longer to realize that than it
> should have. OK, I confess; it took me _two years_ to realize that
> (seriously). I'd just assumed that the problem was some subtle certificate
> mismatch or something that I'd never understand, and I put up with it.
>
> Would it be possible to emit a message describing _why_ gnutls-cli failed?
Actually, we deprecated tls.el and gnutls-cli, and we now ask users to
build Emacs with the GnuTLS library, which enables these features
internally. I don't think investing efforts in improving a deprecated
feature would be a good investment of our resources.
Thanks.
next prev parent reply other threads:[~2018-05-02 14:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-02 2:33 bug#31339: 25.3.50; package-list-packages does not provide useful error when gnutls-cli is missing Eric Hanchrow
2018-05-02 14:52 ` Eli Zaretskii [this message]
2018-05-02 22:12 ` Glenn Morris
2019-05-13 19:38 ` Lars Ingebrigtsen
2019-05-13 20:00 ` Glenn Morris
2019-05-13 20:11 ` Lars Ingebrigtsen
2019-05-13 20:02 ` npostavs
2019-09-15 1:06 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=836046qfe4.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=31339@debbugs.gnu.org \
--cc=eric.hanchrow@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).