[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Waiting for refresh to finish...
From: |
Joseph Vidal-Rosset |
Subject: |
Re: Waiting for refresh to finish... |
Date: |
Mon, 27 Jul 2020 20:00:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi again,
Many thanks for your reply. Here are the details requested.
Le lun. 07/27/20 juil. 2020 à 07:27:42 , tomas@tuxteam.de a envoyé ce
message:
> On Mon, Jul 27, 2020 at 07:13:42PM +0200, Joseph Vidal-Rosset wrote:
>> Thanks for your help, Tomas, here is the beginning of my init.el
>> (suggestions to improve it are of course welcome):
>
> Caveat: as I said, I'm most probably not the right guy to answer that, but
> hey.
>
> [...]
>
>> ;; Configure Emacs package manager. Not required anymore on Emacs > 27
>> (if (version< emacs-version "27")
>> (package-initialize) )
>> (require 'package)
>> (setq package-archives
>> '(("melpa" . "https://melpa.org/packages/")
>> ("melpa-stable" . "https://stable.melpa.org/packages/")
>> ("org" . "https://orgmode.org/elpa/")
>> ; ("gnu" . "https://elpa.gnu.org/packages/")
>> ))
>
> This might be the relevant tidbit. But still, we don't know what version
> your Emacs is, and thus whether this code is actually relevant or not.
joseph@mx:~$ emacs --version
GNU Emacs 26.1
>
> What is the actual value of your variable `package-archives' in your
> Emacs running instance? Try doing C-h v and then enter
> `package-archives'.
package-archives’s value is
(("melpa" . "https://melpa.org/packages/")
("melpa-stable" . "https://stable.melpa.org/packages/")
("org" . "https://orgmode.org/elpa/")
("melpa" . "http://melpa.milkbox.net/packages/"))
Original value was
(("gnu" . "https://elpa.gnu.org/packages/"))
This variable may be risky if used as a file-local variable.
Documentation:
An alist of archives from which to fetch.
The default value points to the GNU Emacs package repository.
Each element has the form (ID . LOCATION).
ID is an archive name, as a string.
LOCATION specifies the base location for the archive.
If it starts with "http(s):", it is treated as an HTTP(S) URL;
otherwise it should be an absolute directory name.
(Other types of URL are currently not supported.)
Only add locations that you trust, since fetching and installing
a package can run arbitrary code.
You can customize this variable.
This variable was introduced, or its default value was changed, in
version 26.1 of Emacs.
> Are those sites reachable from your place? I.e. try something like
>
> curl -I https://stable.melpa.org/packages/
> in a shell (likewise for the other URLs). For me, they are all four.
> We still don't know whether those are the ones your Emacs is trying
> to reach (and the hunch with networking is just that, a hunch).
joseph@mx:~$ curl -I https://stable.melpa.org/packages/
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 27 Jul 2020 17:58:28 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 306
Last-Modified: Fri, 14 Dec 2018 04:45:09 GMT
Connection: keep-alive
Vary: Accept-Encoding
ETag: "5c133555-132"
Strict-Transport-Security: max-age=15768000
Accept-Ranges: bytes
> Cheers
> -- t
Thanks for your kind help !
Jo.
--
Joseph