[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: update-menus not working? Here is my info.



At 2001/02/10(6)/10:02, Xucaen wrote:

> > > ?package(jed):needs="text" \
> > >                 section="Apps/Editors" \
> > >                 title="jed" \
> > >                 command="/usr/bin/jed"
[ ... and `dpkg -l jed' shows it's installed OK, still updates-menu ignores jed]

A strange story! I just copied your `jed' file to my own
/etc/menu, and changed the `?pacakge(jed)' to `?package(local.jed)',
and it works OK for me (I don't have jed installed, so I just
added the `local.')

> xucaen@whitestar:/etc/menu$ ls -l
> total 20
> -rw-r--r--    1 root     root 397 Jan 22  2000 README
> -rw-r--r--    1 root     root 127 Jan 25 12:07 aim
> -rw-r--r--    1 root     root  97 Jan 30 08:12 jed
> -rw-r--r--    1 root     root 116 Jan 30 07:30 mc
> -rw-r--r--    1 root     root 103 Jan 30 07:30 xjed

That's fine too.
> 
> I tried update-menus -d.
> There is too much output to capture

Well, you can try
 update-menus -d  2> file
and you can later read file slowly. (using `less' for example)
(and, a UNIX tip: see `man script' if you want a more
general solution to `too much output to capture')

> , but from
> what I am able to see it never processes
> etc/menu/jed or /etc/menu/xjed (but how can that
> be?)

There realy should be a line like:

Update-menus[1659]: Reading menuentryfile /etc/menu/jed

in the `update-menus -d' output. Are you certain even
that is missing? Then something strange is going on.

Oh, maybe you already told me, but what version of menu
are you using? (dpkg -l menu)

Thanks,
joostje



Reply to: