nicferrier / marmalade

Nic's clone of nex3's original marmalade. Nic is maintaining this now and updating this repo.
http://marmalade-repo.org
GNU General Public License v3.0
32 stars 8 forks source link

Failed to download `marmalade' archive #61

Closed jeffi closed 10 years ago

jeffi commented 11 years ago

When attempting installing the marmalade repo, 'package.el' repeatedly issued the message:

"Failed to download `marmalade' archive".

Having no such problem with the "gnu" repo, I manually downloaded the archive-contents file and placed it in the right spot. Package.el then gave the message:

package--read-archive-file: Arithmetic overflow error: "201203310931"

This problem was then fixed by editing the marmalade archive-contents and replacing "201203310931" with "20120331" which was the version number attached to the "groovy-mode" package.

I'm using Aquamacs 2.5 if that helps.

andrescorrada commented 11 years ago

Could you share explicit instructions for "I manually downloaded the archive-contents file and placed it in the right spot"? I'm a newbie to the use of Marmalade and would like to work-around this issue on my Aquamacs 2.5 installation.

sdelafond commented 11 years ago

I can confirm this is an issue for me too (emacs23.4+1 on Debian). Running the following takes care of it:

find ~ -path "*/archives/marmalade/archive-contents" -exec perl -i.bak -pe 's/201203310931/20120331/' {} \;

nicferrier commented 10 years ago

this may be fixed now with new marmalade? please try and let me know.

sdelafond commented 10 years ago

I still see the issue as of today:

~ # ll ~/.emacs.d/elpa/archives/marmalade/archive-contents -rw-r--r-- 1 seb seb 102K Jun 4 10:22 /home/seb/.emacs.d/elpa/archives/marmalade/archive-contents ~ # grep 201203310931 ~/.emacs.d/elpa/archives/marmalade/archive-contents [(201203310931)

nicferrier commented 10 years ago

Hopefully this is fixed now. Marmalade got pretty stable I hope.

sdelafond commented 10 years ago

The string 01203310931 is still in ~/.emacs.d/elpa/archives/marmalade/archive-contents after today's upgrade, but emacs (24.3+1) doesn't choke on it anymore. So, I'd say this is fixed, although I'm not exactly sure how :)