Re: first install of RefDB .debs

David Nebauer <[email protected]>
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Hi Doug,

> The following packages have unmet dependencies:
>   refdb: Depends: libdbd-sqlite (>= 0.8.1-2) but 0.7.1-3.1 is to be installed
> E: Broken packages
>   
>> The libdbi drivers are now up-to-date and should install correctly.
>>
>> libdbi:
>>     deb http://libdbi.sourceforge.net/debian <distro> main
>> where <distro> is replaced by 'testing' or 'unstable'
>>     

Clearly apt-get does not want to install the 0.8.1-x version of libdbi0.

I can think of two reasons:


1. Unaware of libdbi0.sourceforge.net repository.

In order to find the 0.8.1-x version of libdbi0, apt-get must have been 
made aware of the libdbi0.sourceforge.net repository.  This is done by 
adding the appropriate line to '/etc/apt/sources.list' as described in 
my previous email (and quoted above).


2. Sees both versions but insists on installing the 0.7.1-x version.

If '/etc/apt/sources.list' is configured correctly, then your package 
management tool has available to it at least two versions: the version 
from the official Debian repository (0.7.1-x) and the version from the 
libdbi0.sourceforge.net repository (0.8.1-x).  I use aptitude and in 
that tool you can query an individual package to see what versions are 
available for installation and can manually select your desired version.

I don't understand the full intricacies of how apt-get chooses which 
version to install.  A quick perusal of the apt-get manpage, however, 
reveals that you can manually specify which version of a package to install:

    "A specific version of a package can be selected for installation by
    following the package name with an equals and the version of the
    package to select.  This will cause that version to be located and
    selected for install."


As the current versions of libdbd* and libdbi0* are 0.8.1-3, you could 
try a command like:
    apt-get install libdbd-sqlite=0.8.1-3 libdbi0=0.8.1-3

Regards,
David.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.