Malcolm Fitzgerald wrote: []
This changed the problem - dpkg now said "gtk+2-dev depends on gtk+2 (= 2.2.4-2); however: Version of gtk+2 on system is 2.2.4-3."
This is a FinkCommander problem only insofar as FC uses apt-get to get the package listing, and it shows therefore apt-get's strict dependency checking, as opposed to fink/dpkg's more sloppy behavior. In the case at hand, updating gtk+2 - and by dependency also gtk+2-shlibs - with fink or dpkg results in a broken dependency of gtk+2-dev.
To me this looks like a bug of (fink's use of) dpkg: It should not allow the replacement of a package by another version if some other package depends on the old version. Apparently versioned dependencies are not checked when a package is replaced by a different version of the same package.
I looked at this in FinkCommander which showed that the gtk+2-shlibs were out of sync with the other components. Install failed but helpfully suggested using apt-get on the command line. This worked.
Using the recommended "apt-get -f install" is dangerous. In this precise case it will work, because it just removes the superfluous gtk+2-dev package, but in a slightly different, equally possible case, where both gtk+2-dev and gtk+2 are the old version and only gtk+2-shlibs is new, apt-get -f install will remove gtk+2 and everything that depends on it, basically your entire gnome system plus cssed, bluefish, and vim.
You should run "apt-get -f install" always with the "--dry-run" option first to see what damage it is going to do.
I am CCing this to fink-devel so that this problem remains in the collective consciousness.
-- Martin
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners
