Hi Jan:

I am glad it is working now. It really shouldn't have been that problematic, and I apologize. Unfortunately, I have no idea why these things wouldn't work the first time around.

Bill



On Aug 5, 2008, at 9:31 AM, Jan Abendroth wrote:

Thanks, Bill,
that was a great hint! Even though sudo apt-get intall gtk+2 did not work, I poked around a bit more. Eventually fink reinstalling the four packages you mentioned earlier individually and the fink reinstall coot did the trick
:-))
Now everything works again.
Thanks a lot for your help!
Jan

2008/8/4 William G. Scott <[EMAIL PROTECTED]>

what happens if you just try

sudo apt-get install gtk+2

again?

It installed the shlibs ok, so I am really not sure. Sometimes you just
have to coax it along...  Well, you shouldn't HAVE to, but ours is an
imperfect world...


On Aug 4, 2008, at 10:29 PM, Jan Abendroth wrote:

thanks, Bill,
yet: noooo - sounded so got, yet it did not do the trick either, see
below. Seems like something is mighty confused...
is there something in fink to force installation etc or to purge what it
thinks it has installed?

Cheers
Jan


The following 4 packages will be reinstalled:
gtk+2 gtk+2-shlibs libpng3 libpng3-shlibs
Reading buildlock packages...
/sw/bin/dpkg-lockwait -i
/sw/var/cache/apt/archives/gtk+2_2.12.10-1_darwin-i386.
deb /sw/var/cache/apt/archives/gtk+2-shlibs_2.12.10-1_darwin- i386.deb (Reading database ... 43372 files and directories currently installed.)
Preparing to replace gtk+2 2.12.10-1 (using
.../gtk+2_2.12.10-1_darwin-i386.deb)
...
Unpacking replacement gtk+2 ...
Preparing to replace gtk+2-shlibs 2.12.10-1 (using
.../gtk+2-shlibs_2.12.10-1_da
rwin-i386.deb) ...
Unpacking replacement gtk+2-shlibs ...
Setting up gtk+2-shlibs (2.12.10-1) ...
Setting up gtk+2 (2.12.10-1) ...
### execution of /sw/bin/dpkg-lockwait failed, exit code 1
Failed: can't batch-install packages:
/sw/var/cache/apt/archives/gtk+2_2.12.10-1
_darwin-i386.deb
/sw/var/cache/apt/archives/gtk+2-shlibs_2.12.10-1_darwin-i386.d
eb



On Aug 3, 2008, at 11:37 PM, William G. Scott wrote:

Well, it is guessing time, but hopefully this might unstick stuff:

try:

fink reinstall libpng3-shlibs  libpng3  gtk+2  gtk+2-shlibs


I'm guessing based on the first few lines of the appended output, so I apologize in advance if this doesn't help. It might also help to start a new shell session after the fink reinstall, just in case the environment variables need to be initialized. It sounds like there are 10 packages
trapped in debian purgatory.

On Aug 3, 2008, at 11:24 PM, Jan Abendroth wrote:

thanks for your reply, Bill.
However, things still don't work our:

bash: fink remove gtk+2-dev
Information about 3990 packages read in 3 seconds.
WARNING: gtk+2-dev is not installed, skipping.
Nothing removed
same for gtk+2, gtk, ...

bash: sudo apt-get install gtk+2
gives a lengthy message and dies, see end of email

Any ideas?
Thanks!
Jan

message from apt-get install gtk+2:
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, gtk+2 is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
10 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up gtk+2 (2.12.10-1) ...
g_module_open() failed for /sw/lib/gtk-2.0/2.10.0/loaders/io- wmf.so:
dlopen(/sw/
lib/gtk-2.0/2.10.0/loaders/io-wmf.so, 10): Library not loaded:
/sw/lib/libpng12.
0.dylib
Referenced from: /sw/lib/libwmf-0.2.7.dylib
Reason: Incompatible library version: libwmf-0.2.7.dylib requires
version 30.0
.0 or later, but libpng12.0.dylib provides version 19.0.0
g_module_open() failed for
/sw/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
: dlopen(/sw/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so, 10):
Library not
loaded: /sw/lib/libpng12.0.dylib
Referenced from: /sw/lib/gtk-2.0/2.10.0/loaders/libpixbufloader- png.so Reason: Incompatible library version: libpixbufloader-png.so requires
version
30.0.0 or later, but libpng12.0.dylib provides version 19.0.0
dyld: Library not loaded: /sw/lib/libpng12.0.dylib
Referenced from: /sw/bin/gtk-query-immodules-2.0
Reason: Incompatible library version: gtk-query-immodules-2.0 requires
version
30.0.0 or later, but libpng12.0.dylib provides version 19.0.0
/sw/sbin/update-gtk-immodules: line 15:  1355 Trace/BPT trap
gtk-query-
immodules-2.0 >$TMPFILE
/sw/bin/dpkg: error processing gtk+2 (--configure):
subprocess post-installation script returned error exit status 133
dpkg: dependency problems prevent configuration of gtk2-engines:
gtk2-engines depends on gtk+2 (>= 2.12.0-1); however:
Package gtk+2 is not configured yet.
/sw/bin/dpkg: error processing gtk2-engines (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of
gnome-themes-glossy-p:
gnome-themes-glossy-p depends on gtk+2 (>= 2.12.0-1); however:
Package gtk+2 is not configured yet.
gnome-themes-glossy-p depends on gtk2-engines (>= 2.12.0-1); however:
Package gtk2-engines is not configured yet.
/sw/bin/dpkg: error processing gnome-themes-glossy-p (-- configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gtk+2-dev:
gtk+2-dev depends on gtk+2 (= 2.12.10-1); however:
Package gtk+2 is not configured yet.
/sw/bin/dpkg: error processing gtk+2-dev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of guile18-gtk:
guile18-gtk depends on gtk+2 (>= 2.12.0-1); however:
Package gtk+2 is not configured yet.
/sw/bin/dpkg: error processing guile18-gtk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of guile18-gui:
guile18-gui depends on guile18-gtk (>= 2.0-7); however:
Package guile18-gtk is not configured yet.
/sw/bin/dpkg: error processing guile18-gui (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of guile18-lib:
guile18-lib depends on gtk+2 (>= 2.12.0-1); however:
Package gtk+2 is not configured yet.
/sw/bin/dpkg: error processing guile18-lib (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of guile18-www:
guile18-www depends on guile18-gtk (>= 2.0-7); however:
Package guile18-gtk is not configured yet.
/sw/bin/dpkg: error processing guile18-www (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libglade2:
libglade2 depends on gtk+2 (>= 2.12.0-1); however:
Package gtk+2 is not configured yet.
/sw/bin/dpkg: error processing libglade2 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libwmf-shlibs:
libwmf-shlibs depends on gtk+2 (>= 2.12.0-1); however:
Package gtk+2 is not configured yet.
/sw/bin/dpkg: error processing libwmf-shlibs (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
gtk+2
gtk2-engines
gnome-themes-glossy-p
gtk+2-dev
guile18-gtk
guile18-gui
guile18-lib
guile18-www
libglade2
libwmf-shlibs
E: Sub-process /sw/bin/dpkg returned an error code (1)


On Aug 1, 2008, at 10:46 AM, William G. Scott wrote:

Hi Jan:

This is a bug in gtk+2 package.

Issue



and try the

sudo apt-get install gtk+2

and hopefully that will make it right.

Bill


William G. Scott

Contact info:
http://chemistry.ucsc.edu/~wgscott/<http://chemistry.ucsc.edu/%7Ewgscott/ >


On Aug 1, 2008, at 8:36 AM, Jan Abendroth wrote:

Hi all,
I did a rather unfortunate "update" of coot using
"apt-get update, apt-get install coot"
At some point I get messages such as:
"Preparing to replace gtk+2 2.12.10-1...
...
### excecution of /sw/bin/dpkg-lockwait failed, exit code 1
Failed: can't install package gtk+2-2.12.10-1"
Similar things happen with fink (fink selfupdate, fink install coot)

... the update also removed my previous running version... only got to
install the self-contained vsn 0.4.1 from Bill's page, which
unfortunately
does not have some of my currently favourite features such as the very
nice
ncs commands.

Any ideas? ... btw. osx 10.4

Thanks!
Jan



--
Jan Abendroth
deCODE biostructures
Seattle / Bainbridge Island WA, USA
work: JAbendroth_at_decode.is
home: Jan.Abendroth_at_gmail.com






--
Jan Abendroth
deCODE biostructures
Seattle / Bainbridge Island WA, USA
work: JAbendroth_at_decode.is
home: Jan.Abendroth_at_gmail.com






Reply via email to