Package: squidguard Version: 1.5-4 Severity: important Tags: patch Dear Maintainer,
I have a tab instead of a whitespace in my squidguar.conf in the following line: dbhome /var/lib/squidguard/db If I call update-squidguard on Debian Jessie i'll get the following output: root@34697f9f06a2:/# update-squidguard /usr/sbin/update-squidguard: 69: test: dbhome: unexpected operator Rebuild SquidGuard database - this can take a while. On Debian Wheezy I'll get the following: /usr/sbin/update-squidguard: 95: /usr/sbin/update-squidguard: cannot create dbhome /var/lib/squidguard/db/../dbversion: Directory nonexistent The problem seems to be in /usr/sbin/update-squidguard at the following line: DATADIR=$(grep ^dbhome ${CONFDIR}/${CONFFILE} | cut -d' ' -f2) I guess we could fix the problem by changing the line into: DATADIR=$(grep ^dbhome ${CONFDIR}/${CONFFILE} | sed 's/\t/ /' | cut -d' ' -f2) -- System Information: Debian Release: 8.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.8.0-rc8 (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: unable to detect Versions of packages squidguard depends on: ii debconf [debconf-2.0] 1.5.56 ii libc6 2.19-18+deb8u6 ii libdb5.3 5.3.28-9 ii libldap-2.4-2 2.4.40+dfsg-1+deb8u2 Versions of packages squidguard recommends: ii liburi-perl 1.64-1 ii libwww-perl 6.08-1 ii squid3 3.4.8-6+deb8u3 Versions of packages squidguard suggests: pn ldap-utils <none> pn squidguard-doc <none> -- debconf information: squidguard/dbreload: true