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

Bug#192356: pcmcia-cs: Removing pcmcia-cs confuses mandb, resulting in error messages



On Fri, May 09, 2003 at 12:37:42PM -0400, Dave Rutherford wrote:
> On Fri, 9 May 2003, Colin Watson wrote:
> > Dave, have you any way to reproduce this problem, such as removing
> > pcmcia-cs again?
> 
> Absolutely, this is entirely reproducible.

Great, although curious.

> dpkg: serious warning: files list file for package `realplayer' missing, assuming package has no files currently installed.
> dpkg: serious warning: files list file for package `xv-doc' missing, assuming package has no files currently installed.
> dpkg: serious warning: files list file for package `xv' missing, assuming package has no files currently installed.
> dpkg: serious warning: files list file for package `acroread' missing, assuming package has no files currently installed.
> dpkg: serious warning: files list file for package `bladeenc' missing, assuming package has no files currently installed.

That looks as if there's been some corruption in the past, although
that's not necessarily relevant.

> bash-2.05b# cd /usr/share/man/man4
> bash-2.05b# ls -l wvlan_cs.4 ray_cs.4 airo.4 airo_cs.4
> -rw-r-----    1 root     root         6074 Dec 19  2001 airo.4
> -rw-r-----    1 root     root          699 Dec 19  2001 airo_cs.4
> -rw-r-----    1 root     root         3411 Dec 19  2001 ray_cs.4
> -rw-r-----    1 root     root         7715 Dec 19  2001 wvlan_cs.4
> bash-2.05b#
> 
> So they exist (pcmcia-cs installed or not,) aren't symlinks of
> any sort, have the same odd permissions (nothing else in this
> directory is 640, but 644,) and only cause mandb to complain
> when pcmcia-cs isn't installed.  I haven't found any symlinks
> that point to them (or try to.)

What are the contents of those files? I suspect that they may include
".so" at the start of a line in some places; that's groff's "source"
request.

Failing that, the output of 'mandb --debug' run as user man would be
interesting. There may be a lot of it.

> Changing their permissions to 644 also shuts up mandb, though
> I don't see why, as their 640 permissions are the same whether
> pcmcia-cs is installed or not.  And mandb is running as root, anyway.

Actually, if you look at /etc/cron.weekly/man-db you'll probably find
that it drops privileges to the man user. The error is "No such file or
directory" rather than "Permission denied", though, which is odd ...

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: