DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have etch stable and I'm getting the following root mails:
Code:
/etc/cron.daily/man-db:
mandb: warning: /usr/share/man/man1/ControlPanel.1.gz is a dangling symlink
Code:
# ls -la /usr/share/man/man1/ControlPanel.1.gz
ls: /usr/share/man/man1/ControlPanel.1.gz: No such file or directory
Code:
# cat /etc/cron.daily/man-db
#!/bin/sh
#
# man-db cron daily
set -e
if ! [ -d /var/cache/man ]; then
# Recover from deletion, per FHS.
mkdir -p /var/cache/man
chown man:root /var/cache/man
chmod 2755 /var/cache/man
fi
# expunge old catman pages which have not been read in a week
if [ -d /var/cache/man ]; then
cd /
if ! dpkg-statoverride --list /var/cache/man >/dev/null 2>&1; then
chown -R man /var/cache/man || true # just in case
fi
start-stop-daemon --start --pidfile /dev/null --startas /bin/sh \
--oknodo --chuid man -- -c \
"find /var/cache/man -type f -name '*.gz' -atime +6 -print0 | \
xargs -r0 rm -f"
fi
# regenerate man database
if [ -x /usr/bin/mandb ]; then
# --pidfile /dev/null so it always starts; mandb isn't really a daemon,
# but we want to start it like one.
start-stop-daemon --start --pidfile /dev/null \
--startas /usr/bin/mandb --oknodo --chuid man \
-- --no-purge --quiet
fi
exit 0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.