On Fri, Dec 02, 2005 at 04:52:53PM +0530, [EMAIL PROTECTED] wrote:
> If dpkg has a slightly broken index file then menu will complain and
> generate a new menu with many missing entries.  A better behavior would
> be to complain and leave the old menus in place until the dpkg index
> files are corrected by apt-get update or whatever.

Hello Joshua,

update-menus use the dpkg-query command which is the documented way to 
query the dpkg status file.  The exact command used is:
dpkg-query --show --showformat='${status} ${package}\n' | sed -n -e 
's/.*installed *//p'

I don't know how menu can tell the status file is broken.
Could you provide me with your slightly broken index file ?

> Debian Release: 3.0
                  ^^^ 
Really ? :)

Cheers,
-- 
Bill. <[EMAIL PROTECTED]>

Imagine a large red swirl here. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to