* Can't install org-plus-contrib from org elpa @ 2017-01-25 20:24 Lawrence Bottorff 2017-01-25 20:36 ` Kaushal Modi 0 siblings, 1 reply; 2+ messages in thread From: Lawrence Bottorff @ 2017-01-25 20:24 UTC (permalink / raw) To: emacs-orgmode Mailinglist [-- Attachment #1: Type: text/plain, Size: 852 bytes --] I'm trying a clean install with this in my init.el (require 'package) (add-to-list 'package-archives '("melpa-stable" . "http://melpa-stable.milkbox.net/packages/")) (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/")) ;; Initialize all the ELPA packages (what is installed using the packages commands) (package-initialize) (when (not package-archive-contents) (package-refresh-contents)) (defvar my-packages '(;; org mode org ;; org mode plus contrib org-plus-contrib)) (dolist (p my-packages) (when (not (package-installed-p p)) (package-install p))) eval-buffer-ing this gives package-compute-transaction: Package ‘org-plus-contrib-’ is unavailable It's as if it's looking for a specific org-plus-contrib-xxxx.tar ? Never had this problem before. LB [-- Attachment #2: Type: text/html, Size: 1520 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can't install org-plus-contrib from org elpa 2017-01-25 20:24 Can't install org-plus-contrib from org elpa Lawrence Bottorff @ 2017-01-25 20:36 ` Kaushal Modi 0 siblings, 0 replies; 2+ messages in thread From: Kaushal Modi @ 2017-01-25 20:36 UTC (permalink / raw) To: Lawrence Bottorff, emacs-orgmode Mailinglist [-- Attachment #1: Type: text/plain, Size: 1619 bytes --] On Wed, Jan 25, 2017 at 3:25 PM Lawrence Bottorff <borgauf@gmail.com> wrote: > I'm trying a clean install with this in my init.el > > (require 'package) > (add-to-list 'package-archives > '("melpa-stable" . "http://melpa-stable.milkbox.net/packages/")) > Not related to your question, but this link has been updated. See https://stable.melpa.org/#/getting-started (add-to-list 'package-archives > '("org" . "http://orgmode.org/elpa/")) > > ;; Initialize all the ELPA packages (what is installed using the packages > commands) > (package-initialize) > > (when (not package-archive-contents) > (package-refresh-contents)) > (package-refresh-contents) should be called every time if you tend to install package non-interactively i.e. not using M-x list-packages. You could have non-nil package-archive-contents but that value could be stale. This could be the problem. > (defvar my-packages > '(;; org mode > org > ;; org mode plus contrib > org-plus-contrib)) > Also not related to the problem, you do not need both org and org-plus-contrib. Just org-plus-contrib will suffice. See http://orgmode.org/elpa.html > (dolist (p my-packages) > (when (not (package-installed-p p)) > (package-install p))) > > > eval-buffer-ing this gives > > package-compute-transaction: Package ‘org-plus-contrib-’ is unavailable > > It's as if it's looking for a specific org-plus-contrib-xxxx.tar ? Never > had this problem before. > Call package-refresh-contents unconditionally. That should fix the problem. > LB > -- Kaushal Modi [-- Attachment #2: Type: text/html, Size: 4277 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-25 20:36 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-01-25 20:24 Can't install org-plus-contrib from org elpa Lawrence Bottorff 2017-01-25 20:36 ` Kaushal Modi
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).