Ubuntu install question

"Markus Hoenicka" <[email protected]> Wed, 19 Mar 2008 18:58:31 +0100
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Daniel Ricard writes:
 > *************************************************************************
 > ...
 > The following packages have unmet dependencies:
 >   refdb-server: Depends: libdbd-sqlite (>= 0.8.1-2) but it is not installable
 > ...
 > *************************************************************************
 > 
 > sqlite on Ubuntu gutsy is at version 0.7.1-3.
 > 

You mean libdbd-sqlite? Sqlite itself should rather be something like
3.5.x.


 > I actually have both mysql and postgresql running on my machine. How can I 
 > configure refdb to use either of these instead of sqlite?
 > 

The dependency on libdbd-sqlite is sort of a fake dependency. The
RefDB package essentially depends on libdbi, but it is not functional
without at least one database driver and its engine/library. Someone
figured that it would be least intrusive to use sqlite as the default
and added that as a dependency, just to make sure you can really start
working.

However, if you have one of mysql or postgresql installed anyway, you
can safely ignore the dependency on libdbd-sqlite. You'll need the
appropriate driver though (libdbd-mysql or libdbd-pgsql), and it may
very well happen that these were not updated either.

I don't know Ubuntu well enough, but as a Debian spin-off you should
be able to install the latest Debian packages somehow. These are at
0.8.3 and should satisfy your dependencies.

In any case, using a database engine other than sqlite is a
post-install issue. I'm not familiar with what the Debian/Ubuntu
install scripts do, but you should be able to run the refdb-init
script again to set up the tool for a different database
engine. Manual configuration and initialization is of course also
possible as described in the manual. Feel free to get back if you need
help at this point.

regards,
Markus

-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/