emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Installing Orgmode through ELPA-tarball
Date: Tue, 02 Nov 2010 00:19:30 +0530	[thread overview]
Message-ID: <81d3qokhfp.fsf@gmail.com> (raw)
In-Reply-To: <81hbg1x7q9.fsf@gmx.de> (Martin Stemplinger's message of "Mon, 01 Nov 2010 18:40:46 +0100")


Hello Martin

Thanks for trying out ELPA.


> Hi all,
>
> being curious I tried the upgrade via ELPA but for for some reasons it
> didn't work. Any ideas?
>
>>    2. Use the Emacs package manager's =M-x list-packages= to browse
>>       and install the latest version.
>
> Failed with the error message: Failed to download `Orgmode' archive.
>

This is expected. Orgmode cannot act as ELPA repo. There are some minor
things to be fixed.  Tarball is the way to go atleast for next few days
...

>> ** How do I install Orgmode from a ELPA-compatible tarball?
>> # <<Installing from ELPA-tar>>
>>    
>>    2. Download the latest tarball from [[http://orgmode.org/pkg/daily/][Orgmode repo]].
>>    3. Do =M-x package-install-file=. When prompted for =Package file
>>       name=, point it to .tar file downloaded in step 2.
>>
> Failed with the error message: package-read-from-string: Can't read whole string

Does any one else experience this issue.

Questions:
=========

What package.el you are using? I hope it is the one that is bundled in
to Emacs and *not* the one distributed from http://tromey.com.

May I ask you what version of Emacs you use and what OS you run on?

I use GNU Emacs 23.1.91.1 (i386-mingw-nt5.1.2600) of 2010-01-03 on
PRETEST. I also have cygwin running. After your report, I downloaded
org-20101101.tar and I am able to run things successfully without any
issues.

Possible Root Cause:
===================

There is a comment in the package manager that there is a dependency on
GNU tar. May be the tar binary that you are running is not "GNU tar
compatible"

Just to confirm, copy the below elisp code to scratch buffer and do a
C-x C-e with cursor before the marker '@'.

(progn
  (setq default-directory "~/tmp/")
  (package-read-from-string
   (shell-command-to-string
    ;; Requires GNU tar.
    (concat "tar -xOf org-20101101.tar org-20101101/org-pkg.el")))) @

What do you get?

Jambunathan K.

>        
> Martin
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-11-01 18:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-01 12:05 Installing Orgmode through ELPA-tarball Jambunathan K
2010-11-01 12:14 ` Jambunathan K
2010-11-01 13:02 ` Tom Short
2010-11-01 15:15   ` Erik Iverson
2010-11-01 15:57     ` Jambunathan K
2010-11-01 16:04   ` Jambunathan K
2010-11-01 17:40 ` Martin Stemplinger
2010-11-01 18:49   ` Jambunathan K [this message]
2010-11-01 18:56     ` Jambunathan K
2010-11-05 21:21     ` Martin Stemplinger
2010-11-06  9:31       ` ELPA + gnuwin32 tar (Issues, Help with packaging) Jambunathan K
2010-11-06  9:38         ` Jambunathan K

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=81d3qokhfp.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).