Closed Jehops closed 10 years ago
that is very strange. I've done a complete end to end test and it definitely works for me.
can you please try again?
Can you try please also downloading it from the HTTP frontend?
Nic Ferrier notifications@github.com writes:
that is very strange. I've done a complete end to end test and it definitely works for me.
can you please try again?
On the problem desktop I did this:
1) moved ~/.emacs.d/ out of the way, and did emacs -Q (yeah, probably redundant) 2) evaluated the elisp below in the scratch buffer 3) M-x install-package eshell-manual
I still get the same error.
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") ("marmalade" . "http://marmalade-repo.org/packages/") ("melpa" . "http://melpa.milkbox.net/packages/")))
Strangely, this all works on my laptop and a second desktop.
Can you try please also downloading it from the HTTP frontend?
wget http://marmalade-repo.org/packages/eshell-manual works fine on the problem host.
so it sounds like a problem with your machine.
Try this as a way to get a new emacs env:
mkdir ~/myemacs
HOME=/home/xxx/myemacs emacs
(where xxx is your username... you can also do HOME=$(realpath ~/myemacs) ...
if you have realpath
installed)
Then, inside that new emacs, try:
(progn
(package-initialize)
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/")))
(package-refresh-packages)
(package-install 'eshell-manual))
Nic Ferrier notifications@github.com writes:
so it sounds like a problem with your machine.
Try this as a way to get a new emacs env:
mkdir ~/myemacs HOME=/home/xxx/myemacs emacs
(where xxx is your username... you can also do
HOME=$(realpath ~/myemacs) ...
if you haverealpath
installed)Then, inside that new emacs, try:
(progn (package-initialize) (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") ("marmalade" . "http://marmalade-repo.org/packages/"))) (package-refresh-packages) (package-install 'eshell-manual))
Did you mean (package-refresh-contents) instead of (package-refresh-packages)? When I evaluate (package-refresh-packages) I get
Symbol's value as variable is void: package-refresh-packages.
If I evaluate the above with (package-refresh-packages) replaced with (package-refresh-contents) I get the same error.
Debugger entered--Lisp error: (error "Error during download request: Not Found") signal(error ("Error during download request: Not Found")) error("Error during download request:%s" " Not Found") package-handle-response() package-download-tar(eshell-manual "1348477812.0") package-download-transaction((eshell-manual)) package-install(eshell-manual) (progn (package-initialize) (setq package-archives (quote (("gnu" . "http://elpa.gnu.org/packages/") ("marmalade" . "http://marmalade-repo.org/packa$ eval((progn (package-initialize) (setq package-archives (quote (("gnu" . "http://elpa.gnu.org/packages/") ("marmalade" . "http://marmalade-repo.org/$ eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp nil nil)
Joseph
Sorry, yes, I meant package-refresh-contents
So you did this in a blank emacs as I suggested and it didn't work?
That makes no sense does it? It clearly downloads ok so there can only be something wrong with that version of emacs? it must have some bug?
If you used the HOME
trick that rules out any personal config problem.
Where did this emacs come from?
Do you have an HTTP proxy locally?
Nic Ferrier notifications@github.com writes:
So you did this in a blank emacs as I suggested and it didn't work? Yup.
That makes no sense does it? It clearly downloads ok so there can only be something wrong with that version of emacs? it must have some bug? Not to me.
If you used the
HOME
trick that rules out any personal config problem. I did and it apparently worked because it created ~/myemacs/.emacs.d/Where did this emacs come from? It's the FreeBSD port/package. The strange things is that the other systems, on the same network, are also running the FreeBSD port and are not having any problems. Moreover, this did work on this host in the past. I did have the eshell-manual package installed. Can you suggest any other marmalade packages I can test? My version of list-packages doesn't seem to show the package source (melpa, marmalade, etc.).
Do you have an HTTP proxy locally? Nope.
Joseph
I also tried this
(setq package-archives '(("marmalade" . "http://marmalade-repo.org/packages/"))) (package-refresh-contents) (package-install 'marmalade-demo) (package-install 'marmalade-test) (package-install 'marmalade-upload)
and all these packages installed fine. Maybe it's something specific to the eshell-manual package. The mystery then is why does the problem only show up on this one host, with a fresh environment?
Joseph
Ok. I happen to know the eshell package maintainer. I will see if I can get him to upload a new one with a different version number or whether we can change the name or something.
Hi there @nicferrier, I have the same problem.
I'm trying to install elixir-yasnippets
. I hadn't added the MELPA archive before this, so I followed the standard instructions, adding the following lines to my .emacs:
(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t)
(package-initialize)
Then:
M-x eval-buffer
M-x package-refresh-contents
I then attempted to install elixir-yasnippets
:
M-x package-install elixir-yasnippets
,
which failed. I also tried ran M-x package-list-packages
, and selected elixir-yasnippets
, but it failed with the same error.
Sorry. I can't help you with MELPA. I support marmalade-repo.
The original issue isn't solved for me.
Ok. I've moved it to elmarmalade#47
M-x package-install [RET] eshell-manual [RET] returns Contacting host: marmalade-repo.org:80 package-handle-response: Error during download request: Not Found
This is with GNU Emacs 24.3.1.