Package: doodle
Version: 0.6.2-3
Severity: important

Error from dpkg:

  Setting up doodle (0.6.2-3) ...
  chmod: cannot access `/var/lib/doodle/doodle.db': No such file or directory
  dpkg: error processing doodle (--install):


In the configure script I see:

        if [ ! -d $DOODLE_DBPATH ]
        then
                mkdir -p $DOODLE_DBPATH
        fi

        chown root.$DOODLE_GROUP $DOODLE_DBPATH

The obvious, and probably wrong, workaround is to add a 
'touch $DOODLE_DBPATH' before the chown command. Wrong, because running 
doodle with such a database would generate:

  Assertion failed at tree.c:328.
  Database file '/var/lib/doodle/doodle.db' has wrong magic code.

Is there a simple way to put in that file an empty database if the
database does not exist? Or is there any need to chown if the database
does not exist?

Note that I've rebuilt the Sid package on a Sarge system.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=UTF-8)

Versions of packages doodle depends on:
ii  adduser                       3.63       Add and remove users and groups
ii  libdoodle1                    0.6.2-3    desktop search engine (library)

-- no debconf information


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

Reply via email to