Re: first install of RefDB .debs
doug <[email protected]>
| Newsgroups | gmane.text.refdb.general |
|---|---|
| Organization | Sydney Uni. |
| Message-ID | <[email protected]> |
Hi David, > 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 that worked a treat. I have a hazy recollection of apt and something called "pinning" that lets you prioritise these things, but am a bit pressed for time to explore just now. Anyway the install messages are as follows: timeout:/etc/apt# apt-get install libdbd-sqlite=0.8.1-3 libdbi0=0.8.1-3 Reading package lists... Done Building dependency tree... Done Suggested packages: libdbd-mysql libdbd-pgsql The following packages will be upgraded: libdbd-sqlite libdbi0 2 upgraded, 0 newly installed, 0 to remove and 155 not upgraded. Need to get 204kB of archives. After unpacking 115kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libdbi0 libdbd-sqlite Install these packages without verification [y/N]? y Get:1 http://libdbi.sourceforge.net unstable/main libdbi0 0.8.1-3 [40.0kB] Get:2 http://libdbi.sourceforge.net unstable/main libdbd-sqlite 0.8.1-3 [164kB] Fetched 204kB in 3s (57.3kB/s) (Reading database ... 160157 files and directories currently installed.) Preparing to replace libdbi0 0.7.2-1 (using .../libdbi0_0.8.1-3_i386.deb) ... Unpacking replacement libdbi0 ... Preparing to replace libdbd-sqlite 0.7.1-3.1 (using .../libdbd-sqlite_0.8.1-3_i386.deb) ... Unpacking replacement libdbd-sqlite ... Setting up libdbi0 (0.8.1-3) ... Setting up libdbd-sqlite (0.8.1-3) ... timeout:/etc/apt# apt-get install refdb Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: libperl-refdb-makestyle libperl-term-clui Suggested packages: refdb-makestyle libmarc-record-perl libmarc-charset-perl libdbd-mysql libdbd-pgsql libperl-marc-record libperl-marc-charset The following NEW packages will be installed: libperl-refdb-makestyle libperl-term-clui refdb 0 upgraded, 3 newly installed, 0 to remove and 157 not upgraded. Need to get 2306kB of archives. After unpacking 8225kB of additional disk space will be used. Do you want to continue [Y/n]? WARNING: The following packages cannot be authenticated! libperl-term-clui refdb libperl-refdb-makestyle Install these packages without verification [y/N]? y Get:1 http://refdb.sourceforge.net unstable/main libperl-term-clui 1.35-1 [29.6kB] Get:2 http://refdb.sourceforge.net unstable/main refdb 0.9.7-pre7 [2225kB] Get:3 http://refdb.sourceforge.net unstable/main libperl-refdb-makestyle 1.2-1 [51.7kB] Fetched 2306kB in 9s (232kB/s) Selecting previously deselected package libperl-term-clui. (Reading database ... 160168 files and directories currently installed.) Unpacking libperl-term-clui (from .../libperl-term-clui_1.35-1_i386.deb) ... Selecting previously deselected package refdb. Unpacking refdb (from .../refdb_0.9.7-pre7_i386.deb) ... Selecting previously deselected package libperl-refdb-makestyle. Unpacking libperl-refdb-makestyle (from .../libperl-refdb-makestyle_1.2-1_i386.deb) ... Setting up libperl-term-clui (1.35-1) ... Setting up libperl-refdb-makestyle (1.2-1) ... Setting up refdb (0.9.7-pre7) ... Installing new version of config file /etc/refdb/refdbdrc ... Starting bibliography tool application server: refdb. /usr/local/bin/refdbctl start: /usr/local/bin/refdbd already running (PID=5547) I'm guessing that probably should have killed the old process and started a new one no? and for some reason it didn't do the y/N D/I install package maintainers version of the /etc/init.d/refdb script: which consequently is still my original version from Feb. -rwxr-xr-x 1 root root 3035 Feb 12 15:28 /etc/init.d/refdb (and which has a hardwired /usr/local Apart from that it seems to have installed ok and both refdbd and refdbc seem to be working. I will try to run some more tests later, but for the moment, I reckon ya done good! Cheers Doug On Friday 07 July 2006 13:20, David Nebauer wrote: > 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." > > > > 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