Package: tkman
Version: 2.2-1
Followup-For: Bug #325039

tkman check index.bt (for apropos) and warn if not created or not
updated.
mandb create or update index.db, cron update daily index.db.

Solution: in /usr/bin/tkman change line (7055) with set fDebian. The correct
name and lotation is /var/cache/man/index.db (instead index.bt)
 
Description of Problem

# from /usr/bin/tkman (line 7055)
[...]
set fDebian [expr {[file readable [set whatis "/usr/share/man/index.bt"]] || 
[file readable [set whatis "/var/cache/man/index.bt"]] || [file readable [set 
whatis "/usr/man/index.bt"]] || [file readable [set whatis 
"/var/catman/index.bt"]]}]
[...]
# from /usr/bin/tkman (line 7105)
if {![file exists $whatis]} {
append manpatherr "$root -- no `whatis' file for apropos\n"
if {!$whatiserr} {
append manpatherr "    => generate `whatis' with mkwhatis/makewhatis/catman\n"
set whatiserr 1
}
} elseif {![file readable $whatis]} {
append manpatherr "$whatis not readable\n"
} elseif {[file mtime $whatis] < \
[expr $manx($root,latest)-2*86400]} {
append manpatherr \
"$whatis out of date by more then 2 days.\n"
}


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.12-1-686-smp
Locale: LANG=en_US, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages tkman depends on:
ii  man-db                        2.4.2-21   The on-line manual pager
ii  rman                          3.2-2      PolyglotMan - Reverse compile man 
ii  tk8.4                         8.4.9-1    Tk toolkit for Tcl and X11, v8.4 -

-- no debconf information


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

Reply via email to