Failed to Download the Gnu Archive Emacs 'Failed to Download `Marmalade' Archive', but I See the List in Wireshark
Total Page:16
File Type:pdf, Size:1020Kb
failed to download the gnu archive emacs 'Failed to download `marmalade' archive', but I see the list in Wireshark. I've got 129 packets from marmalade-repo.org , many of which list Marmalade package entries, in my Wireshark log. I'm not behind a proxy and HTTP_PROXY is unset. And ELPA (at 'http://tromey.com/elpa/') works fine. I'm on Max OS X Mavericks, all-up-to-date, with Aquamacs, and using the package.el (byte-compiled) as described here: http://marmalade- repo.org/ (since I am on < Emacs 24). What are the next troubleshooting steps I should take? 1 Answer 1. I've taken Aaron Miller's suggestion and fully migrated to the OS X port of Emacs 24.3 . I do miss being able to use the 'command' key to go to the top of the current file, and the slightly smoother gui of Aquamacs, but it's no doubt a great port. Due to the issue with Marmalade, Emacs 23.4 won't work with some of the packages I now need (unless they were hand-built). Installing ELPA Package System for Emacs 23. This page is a guide on installing ELPA package system package.el for emacs 23. If you are using emacs 24, see: Emacs: Install Package with ELPA/MELPA. (type Alt + x version or in terminal emacs --version .) To install, paste the following in a empty file: then call eval-buffer . That will download the file and place it at. (very neat elisp trick! note to self: url-retrieve-synchronously is bundled with emacs 23. Use it like wget/curl!) Also, it automatically adds the following in your .emacs file, so that it'll be loaded everytime you start emacs. How to Upgrade ELPA from Emacs 23 to Emacs 24. If you have installed ELPA with emacs 23 and now just upgraded to emacs 24, here's what to do. In your emacs init file, delete any code block containing. For how to use the package system, see: Emacs: Install Package with ELPA/MELPA. If you have a question, put $5 at patreon and message me on xah discord. Or support me by Buy Xah Emacs Tutorial. Emacs. After learning a few basic keystroke commands, you can become a lot more productive in Emacs. When typing a command you can use [TAB] completion, which will complete the command name for you or list the possible commands. Guide to keys. C-x = (hold [CONTROL], press x, then release [CONTROL]) C-x C-s = (hold [CONTROL], press x, then press s, then release [CONTROL]) M-2 = (hold [ALT], press 2, then release [ALT]) [note M = META usually [ALT] or [ESCAPE] when using [ESCAPE] as META release it before pressing the next key (i.e. M-2 = press and release [ESCAPE] then press 2)]. Written commands. Sometimes the required action doesn't have an associated key-sequence, in these cases the written command must be used (M-x is pressed followed by the command): ispell-buffer = (hold [ALT], press x, release [ALT], then type "ispell-buffer" in the mini buffer ) Lookup table. The following is a lookup table of basic commands. Emacs has so many commands it would be impossible to list them all, but hopefully this will be enough to get you started. Action Key-sequence Command Open file C-x C-f find-file Close C-x C-c save-buffers-kill-emacs Save file C-x C-s save-buffer Save as C-x C-w write-file Page down C-v scroll-up Page up M-v scroll-down Goto top M-< beginning-of-buffer Goto end M-> end-of-buffer Goto line M- g g goto-line Goto start of line C-a beginning-of-line Goto end of line C-e end-of-line Search forwards C-s search term isearch-forward search term Repeat last search forwards C-s C-s isearch-repeat-forward Search backwards C-r search term isearch-backward search term Repeat last search backwards C-r C-r isearch-repeat-backward Cancel command C-g keyboard-quit Kill line C-k kill-line Kill sentence M-k kill-sentence Yank last kill C-y yank Yank previous kill M-y yank-pop Split window horizontally C-x 2 Split window vertically C-x 3 Swap active window C-x o Merge windows C-x 1 List buffers C-x C-b list-buffers Switch to buffer C-x b switch-to-buffer Switch active buffer left C-x [LEFT] previous- buffer Switch active buffer right C-x [RIGHT] next-buffer Kill Buffer C-x k kill-buffer Spell-check current buffer none ispell-buffer Spell-check current word none ispell-word Indent code C-M-\ indent-region Goto matching closing bracket C-M-f Goto matching opening bracket C-M-b Comment a region M-; comment-or-uncomment-region. Performing other tasks. E-mail. Reading. Rmail. The simplest (to set up) E-mail client in Emacs, is Rmail, to invoke Rmail press: To use Rmail for reading E-mail, other than system mail, you will have to use a program to fetch your E-mail from the server, such as fetchmail or offlineimap . Another option is Gnus, which is primarily a newsreader, but can also be used for reading E-mail, and can be configured to get your E-mails from the server without the aforementioned mail fetching programs, but will take a little more setting up than Rmail. Sending. Mail can send your E-mail, which is invoked with: You can also specify your: E-mail address, name, signature, etc in your. /.emacs file, so that it is already filled in when you start composing an E-mail. Newsreader. Gnus is an outstanding newsreader and can be started by pressing: To use Gnus, you will first have to setup your. /.gnus.el file, a brief guide to Gnus is available at: Gnus. IRC client. ERC is an Emacs IRC client which can be started with: You must first add the following to your. Getting Started. When you start ERC, you will be asked for some information: The commands for ERC are just standard IRC commands. Troubleshooting. Attempts to install or refresh packages from GNU ELPA results in 'failed to download gnu archive'. The GNU ELPA repository is the default repository GNU Emacs pulls from. The GPG keys used by this repository were changed in September, 2019. As such, versions of Emacs released before Sep. 2019 face the issue of not being able to install packages from the repository due to signature verification errors. This issue may be encountered by users of openSUSE Leap 15.2, as the version available in the repository is Emacs 25.3.1. Emacs 25.3 was released in 2017. The most convenient solution for users experiencing this issue would be to download the gnu-elpa-keyring-update package from the website, which, when installed, would update the GPG keys stored by your installation of emacs, and allow you to access the packages again. Simply download the tar file from the website, and run the command. After pressing enter, Emacs will prompt you for the location of the downloaded package. This method can also be used as a workaround if you wish to install some packages but haven't updated the GPG keys of your installation. Failed to download the gnu archive emacs. Trying to use "use-package" to install evil-mode. use-package showed: cant access: https://elpa.gnu.org/packages/undo-tree.html :Bad request Tryed to package-install w/o use-package: other repos worked, elpa.gnu.org did not work. tried other repos: first popkit @ http://elpa.popkit.org/packages/ . did not work, same problem than tried http://elpa.emacs-china.org/gnu/ . did work, no idea why https://elpa.gnu.org/packages/undo-tree.html was available the whole time with curl, and even with emacs built in browser. dont know if it really is a bug, but i tried trubbleshooting other stuff on my os (5.2.1-arch1-1-ARCH). First had emacs 26.2, than downgraded to 26.1 bug was in both versions. Fresh install, only change is .emacs: (setq package-archives '(("gnu" . "http://elpa.emacs-china.org/gnu/") ("melpa" . "https://melpa.org/packages/") ("org" . "https://orgmode.org/elpa/"))) (unless (package-installed-p 'use-package) (package-refresh-contents) (package-install 'use-package)) (use-package evil :ensure t :config (evil-mode 1)) (custom-set-variables '(package-selected-packages (quote (ghci-completion bnf-mode yasnippet undo-tree use-package)))) (custom-set-faces ) Hope this helps! Thanks for doing this :) In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.7) of 2019-03-17 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.12005000 Recent messages: user-error: Not defining or executing kbd macro Building list of manual directory expansions. Building completion list of all manual topics. Quit Making completion list. Quit Type C-w C-o to remove help window. Type "q" in help window to restore its previous buffer. delete-backward-char: Text is read-only [2 times] Making completion list. [2 times] Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with- modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS LIBSYSTEMD LCMS2.