New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to download ‘melpa’ archive (again) #5755
Comments
But the error is telling you exactly what the problem is, no? You need to call |
Hmm, that's not how I'm reading that message -- looks to me like it's just complaining package initialize has failed because If I do move To further clarify what I'm doing (and I definitely do not know what I'm doing!!), here's how my
And the referenced
( This is how I attempt to balance keeping Emacs startup time low in most cases, but refresh the package contents once per day (on each of my four development machines). Note that if I move the uncommented But for now I'm under the impression that refreshing package contents must come before package initialization, otherwise it won't really accomplish much, since the packages themselves will have already been initialized from their previous contents. |
Note that, while trying various incarnations of this over the past 30 minutes or so, I could have sworn Also note that I do seem to be following the advice at the top of this page: https://melpa.org/#/getting-started That doesn't mean it's correct, or that I'm following it correctly. Also note that I've added
|
Looking at the diagnostic more closely, I wonder whether there's a recursive dependency of some sort:
Seems like the invocation of Not sure why this isn't happening for the other archives being refreshed (daily at least) though.... |
Anyway, when debug-on-error isn't toggled, startup "works" except I don't know what that problem is, of course...or whether I'm the only one having it, or just the only one noticing it, or what.... |
Just doing a quick look to debug. It says that package.el is not
initialized. Can you look in package.el and see where and why that error
would occur? I’m wondering if there is a package you installed that is
misbehaving. I would personally blow away my packages directories and start
fresh.
…On Sun, Oct 14, 2018 at 08:04 James Craig Burley ***@***.***> wrote:
Anyway, when debug-on-error isn't toggled, startup "works" except melpa
fails to load, which suggests a problem specific to melpa (compared to
elpa, marmalade, and tromey).
I don't know what that problem is, of course...or whether I'm the only one
*having* it, or just the only one *noticing* it, or what....
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5755 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AACUsoCq7Q8EYG5vvOQDzoJr0dYWlCN8ks5ukzZJgaJpZM4Xa9st>
.
|
Sorry, I'm having trouble finding the source for |
(Also note that I'm having the same problem on each of my development machines, not just one; although one of them has some SSL issues that prevents it from reaching any of the https URLs, which I have yet to debug.) |
Looks like
I also tried renaming Not sure what else to do here, other than perhaps disable |
You have to install the source package if you’re on Linux.
Did you try removing all packages?
…On Sun, Oct 14, 2018 at 12:50 James Craig Burley ***@***.***> wrote:
Looks like package.el is built-in (according to C-h P package), and
there's no pointer to where the source code might live on my system (I
tried find ... -name package.el on various directories without success):
package is a built-in package.
Status: Built-In.
Version: 1.1.0
Summary: Simple package system for Emacs
Other versions: 1.0.1 (marmalade), 0.9 (tromey).
I also tried renaming ~/.emacs.d/elpa/archives to
~/.emacs.d/elpa/archives.old, but that didn't solve anything -- the new
~/.emacs.d/elpa/archives/melpa/archivecontents still ends up a 2-line,
1288296-byte file.
Not sure what else to do here, other than perhaps disable melpa loading
entirely in my setup -- I might not need it anyway. as I don't think it has
ever really worked properly for me (though for awhile that was because of
the http:// instead of https:// prefix on the URL).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5755 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AACUsjlpodxVreweZlef-FBlgMjZEU7Oks5uk3ldgaJpZM4Xa9st>
.
|
Looking at an online version of
That might indicate a bug here, because
So, this looks like a bug in |
What exactly do you mean by "removing all packages"? I renamed that |
So I tried removing loading of It's pretty clear now that the Further, even without
So this is almost certainly not a I'll leave it re-enabled for now and see how things work. It might well be safe to ignore that Sorry for all the trouble. |
Closing as this does not appear to be a bug in |
FWIW, it looks like But, in that context, A possible fix might be to not call |
|
You should also note that our recommended config snippet here includes an explicit call to Also, you really shouldn't need the tromey archive any more. |
Thanks for I'll drop the Anyway, I still think |
BTW, I confimed that |
Ah yes, I see that the config snippet suggested at the link I included above has diverged from that on our "Getting Started" page. The former already does as you suggest, and is the one to use. |
Sorry, ignore me: they're both the same. |
Actually, this doesn't look like it can work:
The use of apostrophe before the second The
That doesn't quote the form at all, instead explicitly |
FWIW, here's my latest corresponding snippet:
|
Yep, and you'll probably want to call |
True, fixed, thanks. |
The file does call
Indeed it still does, as
|
This issue appears to be back again. Given this in my GNU Emacs
init.el
:A newly started session produces this in
*Messages*
:The debug window shows:
And
emacs-version
shows:It also happens on this machine:
The text was updated successfully, but these errors were encountered: