I was getting this when makewhatis ran as a cron job:
bzcat: Can't open input file ./newaliases.1.bz2: No such file or
directory.
bzcat: Can't open input file ./mailq.1.bz2: No such file or directory.
bzcat: Can't open input file ./aliases.5.bz2: No such file or directory.
/usr/sbin/makewhatis: line 373: /var/cache/man/en_US/whatis: No such
file or directory
chmod: failed to get attributes of `/var/cache/man/en_US/whatis': No
such file or directory
/usr/sbin/makewhatis: line 156: cd: /usr/man: No such file or directory
/usr/sbin/makewhatis: line 373: /var/cache/man/en_US/whatis: No such
file or directory
chmod: failed to get attributes of `/var/cache/man/en_US/whatis': No
such file or directory
I noticed I had broken links scattered all over the place, mostly
dealing with Postfix. So I fixed them like this, which may be wrong:
ln -s /usr/share/man/man1/newaliases.postfix.1.bz2
/etc/alternatives/mta-newaliasesman
ln -s /usr/share/man/man1/mailq.postfix.1.bz2
/etc/alternatives/mta-mailqman
ln -s /usr/share/man/man5/aliases.postfix.5.bz2
/etc/alternatives/mta-aliasesman
ln -s /usr/bin/mailq.postfix /etc/alternatives/mta-mailq
ln -s /usr/bin/newaliases.postfix /etc/alternatives/mta-newaliases
ln -s /etc/postfix/aliases /etc/alternatives/mta-etc_aliases
mkdir /var/cache/man/en_US
ln -s /var/cache/man/whatis /var/cache/man/en_US/whatis
ln -s /usr/share/man /usr/man
So now makewhatis runs without problems. I've got another broken link
at /usr/bin/ssh-askpass, which is pointing to /usr/lib/ssh/ssh-askpass
(doesn't exist) and I'm not sure what to do about that.
Has anyone else seen these problems? Did I "fix" something that is
gonna open a security hole? I'm a little confused.
--
Sincerely,
Jim Hubbard
.--.
|o_o |
|:_/ |
// \ \
(| | )
/'\_ _/`\
\___)=(___/
Rockingham County Linux Users Group
www.rock.lug.net
____________________________________
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com