Bug#564213: htdig: error when building endings and synonyms databases
Package: htdig
Version: 1:3.2.0b6-9
Severity: normal
File: /usr/bin/rundig
The following errors are printed by rundig when it calls htfuzzy:
/bin/mv: `/var/lib/htdig/synonyms.db' and `/var/lib/htdig/synonyms.db' are the same file
/bin/mv: `/var/lib/htdig/root2word.db' and `/var/lib/htdig/root2word.db' are the same file
/bin/mv: `/var/lib/htdig/word2root.db' and `/var/lib/htdig/word2root.db' are the same file
This patch should correct the problem:
--- /usr/bin/rundig~ 2009-07-27 06:03:09.000000000 +0200
+++ /usr/bin/rundig 2010-01-08 12:46:58.000000000 +0100
@@ -51,7 +51,8 @@
# secure. Also, be aware that on some systems, /tmp is a memory
# mapped filesystem that takes away from virtual memory.
#
-TMPDIR=$DBDIR
+TMPDIR=$DBDIR/tmp
+mkdir -p $TMPDIR
export TMPDIR
$BINDIR/htdig -i $opts $stats $alt
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-proposed-updates')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages htdig depends on:
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libgcc1 1:4.4.2-8 GCC support library
ii libstdc++6 4.4.2-8 The GNU Standard C++ Library v3
ii lockfile-progs 0.1.13 Programs for locking and unlocking
ii perl 5.10.1-8 Larry Wall's Practical Extraction
ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime
htdig recommends no packages.
Versions of packages htdig suggests:
ii apache2-mpm-prefork [httpd] 2.2.14-4 Apache HTTP Server - traditional n
ii htdig-doc 1:3.2.0b6-9 web search and indexing system - d
-- debconf information:
* htdig/run-rundig: true
* htdig/generate-databases: true
-- debsums errors found:
debsums: changed file /usr/bin/rundig (from htdig package)
Reply to: