Re: Ubuntu install question

[email protected] Wed, 19 Mar 2008 15:28:02 -0300 (ADT)
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Hi Markus,
Thanks for the timely reply, that's why I love open source software.

I did mean libdbd-sqlite being version 0.7.1-3, not sqlite. I just checked
for libdbd-pgsql and it is also at version 0.7.1-3.

I realise that this is not an Ubuntu mailing list, but I am stuck right
now and don't know how to proceed. Here is what happens when I try to
install refdb-server:

*************************************************************************
bash>sudo aptitude install refdb-server

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages are BROKEN:
  refdb-server
The following NEW packages will be automatically installed:
  apache2-mpm-itk apache2-utils apache2.2-common docbook-xsl
docbook-xsl-doc-html libapr1
  libaprutil1 libperl-term-clui refdb-lib
The following NEW packages will be installed:
  apache2-mpm-itk apache2-utils apache2.2-common docbook-xsl
docbook-xsl-doc-html libapr1
  libaprutil1 libperl-term-clui refdb-lib
0 packages upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 4754kB of archives. After unpacking 23.5MB will be used.
The following packages have unmet dependencies:
  refdb-server: Depends: libdbd-sqlite (>= 0.8.1-2) but it is not installable
Resolving dependencies...
The following actions will resolve these dependencies:

Keep the following packages at their current version:
refdb-server [Not Installed]

Score is -9881

Accept this solution? [Y/n/q/?] Y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
*************************************************************************

which basically does nothing.

Am I better off building from source here?
Cheers,

Daniel




>  > *************************************************************************
>  > ...
>  > 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/