emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Cook, Malcolm" <MEC@stowers.org>
To: 'Maria Shinoto' <maria@shinoto.de>,
	"'emacs-orgmode@gnu.org'" <emacs-orgmode@gnu.org>
Subject: Re: How to safely update from ver. 8.2.10 to 8.3.x
Date: Mon, 15 Aug 2016 17:29:04 +0000	[thread overview]
Message-ID: <9b5e20d8d0274582a17d4ddb04aaf999@exchsrv2.sgc.loc> (raw)
In-Reply-To: <a06759a8-448e-73db-fba8-45245ef6c611@shinoto.de>

> this weekend I got through lots of troubles, because I updated my
 > orgmode version with "manage emacs packages" menu command and
 > somehow
 > got mixed preferences.
 > 
 > Now, after a clean install, I have org mode 8.2.10 and would like to
 > update to version 8.3.x (20160808) which is shown under the menu
 > command
 > "manage emacs packages".
 > 
 > How can I do this safely, without creating a mess again?

Here's what I do, at the shell:

	  emacs -Q -batch -eval "(progn (require 'package) (add-to-list 'package-archives '(\"org\" . \"http://orgmode.org/elpa/\"))  (package-initialize) (package-refresh-contents) (package-install 'org-plus-contrib))"

This assures that org is not already loaded when org is compiled, which I've learned is the source of creating a mess.

Note: I use org-plus-contrib from melpa instead of org.  If you want just org, you could simply:

	  emacs -Q -batch -eval "(progn (require 'package) (package-initialize) (package-refresh-contents) (package-install 'org-plus-contrib))"

HTH,

Malcolm

 > 
 > Thanks for all advice,
 > Maria


  reply	other threads:[~2016-08-15 17:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-15  2:39 How to safely update from ver. 8.2.10 to 8.3.x Maria Shinoto
2016-08-15 17:29 ` Cook, Malcolm [this message]
     [not found]   ` <5a776464-0616-1554-b8ad-50fae2d658bc@shinoto.de>
     [not found]     ` <1471321150864.146@stowers.org>
2016-08-16  5:14       ` Maria Shinoto
2016-08-22 15:25   ` Jorge
2016-08-22 16:39     ` Jorge
2016-08-22 17:19       ` Cook, Malcolm
2016-08-22 20:35         ` Jorge
2016-08-22 22:13           ` Cook, Malcolm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9b5e20d8d0274582a17d4ddb04aaf999@exchsrv2.sgc.loc \
    --to=mec@stowers.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=maria@shinoto.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).