[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Package installation broken in all repos with package unavailable
From: |
Stefan Monnier |
Subject: |
Re: Package installation broken in all repos with package unavailable |
Date: |
Thu, 10 Jun 2021 09:57:48 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> (setq package-archives '(("ELPA" . "http://tromey.com/elpa/")
>> ("gnu" . "http://elpa.gnu.org/packages/")
>> ("melpa" . "http://melpa.milkbox.net/packages/"))
>> t)
>
> MELPA's address is "https://melpa.org/packages/" now and, if i'm not
> mistaken,
And Tom Tromey's archive is not in use any more.
> GNU ELPA requires https to be used (at least that's the
> default with an empty init file).
No, the `http` address is fine (and shouldn't suffer from the TLS
version problems alluded to by someone else).
OTOH, the above setting overrides the default, so it hides the new
NonGNU archive that is enabled by default in Emacs-28.
IOW either don't change `package-archives` at all, or use something like:
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
which will still give you the "gnu" archive, since it's enabled there by
default.
-- Stefan