Emacs-snapshot for ubuntu

No Doc! (error "Cannot open doc string file...")

Reported by N. Raghavendra on 2012-05-24
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Emacs-snapshot
High
Damien Cassou

Bug Description

In emacs-snapshot 2:20120523-1~ppa1~precise1 on Ubuntu 12.04, invoking help for some things, e.g, "C-h f cons" produces an error like this:

---------------------------

cons is a built-in function in `C source code'.

(cons ARG1 ARG2)

No Doc! (error "Cannot open doc string file \"/usr/share/emacs/24.1.50/etc/DOC-24.1.50.1\"")

---------------------------

(emacs-version)

returns

"GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.1)\n of 2012-05-24 on doubah, modified by Debian"

Damien Cassou (cassou) wrote :

Thank you for your report, I asked the author of the debian packages on which the ubuntu packages are built.

Damien Cassou (cassou) wrote :

Julien Danjou (author of the Debian packages) reports: "Working on it, today release should be fixed".

I'm preparing an Ubuntu release, you will have to wait for PPA to build it.

Sorry to all who had this problem.

N. Raghavendra (raghu-f) wrote :

Many thanks.

Damien Cassou (cassou) wrote :

Ok, most packages are now built. Please try to update and keep us informed.

N. Raghavendra (raghu-f) wrote :

No change, the error still occurs as described.

 (emacs-version) =>

"GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.1)\n of 2012-05-24 on lansones, modified by Debian"

Andrea Piga (andrea-piga) wrote :

I have the same error, already updated half hour ago -Ubuntu '12.04

Thanks

Andrea

Tim Crews (tcrews) wrote :

Either way, it looks like maybe only the i386 packages were updated, not amd64? For example, on my 12.04 (precise) machine, emacs-snapshot (i386) is now at version 2.20120524-1, but emacs-snapshot is still at 2.20120523-1. There are some dependencies from the top package to emacs-snapshot-common and emacs-snapshot-bin-common that are now impossible to satisfy, so I cannot install emacs-snapshot at all.

wilk (j-cubizolles) wrote :

Same problem here, emacs-snapshot and emacs-snapshot-bin-common are still at 2.20120523-1. for amd64

Damien Cassou (cassou) wrote :

Hi,

could you please try again?

Damien Cassou (cassou) wrote :

To make my comment clearer:

- it looks like all packages are correctly built (at least for precise/amd64). Could you please check that you can now update/install emacs-snapshot properly?

- I confirm the documentation problem. A workaround is to create a symlink:

$ cd /usr/share/emacs/24.1.50/etc
$ sudo ln -s DOC-24.1.50.2 DOC-24.1.50.1

Tim Crews (tcrews) wrote :

I am now able to re-install emacs-snapshot on precise amd64.

I symlinked the documentation directory as you suggested, and I am back up and running.

Thank you!

vita (kovanovic) wrote :

All my packages are not at 24 and it still fails..the workaround solved the problem though...

Damien Cassou (cassou) wrote :

@vita, I advise you and other users in your situation to follow these simple steps:

$ sudo apt-get update
$ sudo apt-get install
$ sudo apt-get purge emacs-snapshot-common emacs-snapshot-bin-common emacs-snapshot emacs-snapshot-el emacs-snapshot-gtk emacs23 emacs23-bin-common emacs23-common emacs23-el emacs23-nox emacs23-lucid
$ sudo apt-get install emacs-snapshot-common emacs-snapshot-bin-common emacs-snapshot-el emacs-snapshot-gtk emacs-snapshot

scytlae (scytale-gmail) wrote :

dependency problems seem to have been resolved - I just successfully reinstalled emacs-snapshot
the DOC file problem still exists but the workround... works

Yep, I second the workaround working.

N. Raghavendra (raghu-f) wrote :

Sorry for the delay in reporting back. I have symlinked the said files, and the error doesn't occur now.

(emacs-version) =>

"GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.1)\n of 2012-05-24 on lansones, modified by Debian"

Andrea Piga (andrea-piga) wrote :

Solved by workaround, I successfully reinstalled but DOC problems still exists, anyway working perfectly with symlink - thanks

wilk (j-cubizolles) wrote :

Soved by the workaround for me too. Thanks.

Adi Ratiu (adirat) wrote :

Tha problem still exists, the symlink fix works for me also, thank you!

Damien Cassou (cassou) wrote :

This bug has been fixed and pushed to the PPA. Please update.

Changed in emacs-snapshot:
status: New → Fix Released
importance: Undecided → High
assignee: nobody → Damien Cassou (cassou)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers