Re: bad links to emacs-e20 in my info/dir
On Fri, 3 Aug 2001, Guillaume Marceau wrote:
> Hello hello,
> I've got a pretty clean woody installation so I figure I'm a good
> candidate to go lookings for bugs in .deb's. I started clean and
> installed all the required and important packages. The rest was
> apt-get'd as I needed them.
> I would like to help, but I can't quite figure out the mecanisms that
> keep /usr/share/info/dir.gz update to date. And today, It's breaking on me.
> Here is the problem: I have the package emacs20 installed. The dir.gz
> was updated, but its pointer to the emacs20 info files are all off.
> Instead of pointing to emacs-e20.gz, it points to emacs.gz.
> It points to ccmode.gz instead of ccmode-e20.gz, dired-x.gz instead of
> dired-x-e20.gz, etc.
/usr/share/info/dir.gz is included in the emacs20 package, but it is *not*
the topmost level dir file for info, at least not on my system. Instead,
the dir file on my system is located at /usr/info/dir. Oddly enough, this
file does not seem to be owned by any package. Also, as you rightly point
out, the file /usr/share/info/dir.gz points to non-existent files like
I've had trouble (inside the customization buffer) with emacs looking for
a nonexistent info file called emacs.gz, which suggests that at some point
the maintainer or someone changed the file emacs.gz to emacs-20.gz but
didn't change it everywhere.
> For now I fixed it with a flew of sym links. I would much rather get to
> the heart of the problem.
This should not be necessary. As far as I can see, info never sees
/usr/share/info/dir.gz. Try to start up emacs and then type Ctrl-h and
then i, and see what file you get, and take a look at /usr/info/dir to see
if it is the same as that.
I've no idea why there should be a file called /usr/share/info/dir.gz in
the emacs package, though I've noticed before that some packages have
their own dir files. Does anyone?
Sincerely, Faheem Mitha.