Hi Stefan, there are more people having a problem with the libodbc libraries. Don't know why, looks to me that they are not realy well packed. Apt is very very strict about dependencies, that is why it is possible that you have no problems using rpm. Though you may not see it this way at the moment, but the very strict dependency checking is an advantage of apt and at the end for the user. It requires that rpm providers are delivering very well packaged rpms.... So that you won't run into these kind of problems in the future, that you've right now. I'm getting the same over here btw ... ;) No let's see what is possible: libodbc and libodbccinst are part of the unixODBC pkg. Do you have this package installed. Check with rpm -ql unixODBC grep libodbc - Well I have. dar:/dist/suse-7.2> zgrep libodbc.so AptContents.gz | tr -s " " usr/lib/libodbc.so Applications_Databases/unixODBC usr/lib/libodbc.so.1 Applications_Databases/unixODBC usr/lib/libodbc.so.1.0.0 Applications_Databases/unixODBC dar:/dist/suse-7.2> zgrep libodbcinst.so AptContents.gz | tr -s " " usr/lib/libodbcinst.so Applications_Databases/unixODBC usr/lib/libodbcinst.so.1 Applications_Databases/unixODBC usr/lib/libodbcinst.so.1.0.0 Applications_Databases/unixODBC Let's move over to investigate the java2 pkg itself: rpm -qp --requires /dist/suse-7.3/full-names/i386/java2-1.3.1-47.i386.rpm | grep -E "libodbc.so|libodbcinst" - this gives: libodbc.so libodbcinst.so Let's see what unixODBC provides: rpm -q --provides unixODBC | grep -E "libodbc.so|libodbcinst" libodbc.so.1 libodbcinst.so.1 dar:/usr/lib # ls -l libodbc.so libodbcinst.so lrwxrwxrwx 1 root root 16 Oct 20 21:17 libodbc.so -> libodbc.so.1.0.0 lrwxrwxrwx 1 root root 20 Oct 20 21:17 libodbcinst.so -> libodbcinst.so.1.0.0 Looks to me that the java2 package should require the libodbc.so.1.0.0 and libodbcinst.so.1.0.0 packages. I wunder how the links are being made, there is no (post) script delivered with the unixODBC pkg. Solution just install java2 with rpm, if you need to download first execute the following: apt-get -dy install java2 (-dy: download (only) = yes) Okay there you have it. Incorrect packaging... According to Op maandag 1 april 2002 20:39, schreef je:
On Monday 01 April 2002 19.30, you wrote:
Op maandag 1 april 2002 13:38, schreef je:
E: Command line option --force-depend is not understood
does apt-get -f install <pkg> help you?
It gives me this back:
wale:/var # apt-get -f install evolution Reading Package Lists... Done Building Dependency Tree... Done You might want to run `apt-get -f install' to correct these: Sorry, but the following packages have unmet dependencies: java2: Depends: libodbc.so but it is not installable Depends: libodbcinst.so but it is not installable E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). wale:/var #
And that suggestion wants to remove java2 for me.
wale:/var # apt-get -f install Reading Package Lists... Done Building Dependency Tree... Done Correcting dependencies... Done The following packages will be REMOVED: java2 0 packages upgraded, 0 newly installed, 1 to remove(replace) and 556 not upgraded. Need to get 0B of archives. After unpacking 58.7MB will be freed. Do you want to continue? [Y/n] n
Yast does not complain over any missing dependencies. It's only apt-get that is problematic for me.
Thanks for your help.
/Stefan
-- Richard Bos For those without home the journey is endless