packagemanager didn't start in OpenSolaris SNV_95 installation

When starting packagemanger, the graphical interface to the IPS ( Image packaging system ) , it didn't simple come up with an interface.

After looking into
/usr/bin/packagemanger
I saw that it is a python script with the following starting lines:

import getopt
import os
import sys
import time
import pango
import locale
import socket
import gettext
from threading import Thread
try:
import pygtk
pygtk.require("2.0")
except:
sys.exit(1)
try:
import gobject
gobject.threads_init()
import gtk
import gtk.glade
except:
sys.exit(1)
As a result, I tried to start python in the commandline and import the packages to see which one was failing:

And it was the gtk package which cause the following error message

import gtk Traceback (most recent call last): File "", line 1, in ? File "/usr/lib/python2.4/vendor-packages/gtk-2.0/gtk/__init__.py", line 48, in ? from gtk import _gtk ImportError: ld.so.1: python2.4: fatal: /usr/lib/python2.4/vendor-packages/gtk-2.0/gtk/_gtk.so: open failed: No such file or directory
But
ls -l /usr/lib/python2.4/vendor-packages/gtk-2.0/gtk/_gtk.so
showed, that the file is available?
LD_DEBUG=help python
shows some help about debugging the dynamic linker.

I think I've used
LD_DEBUG=libs python
>>>import gtk
this showed some elf-errors in the _gtk.so object.

The following command verified the package content

ewer@solewer:~$ pkg verify pkg:/SUNWgnome-python-libs@0.5.11-0.95
PACKAGE STATUS
pkg:/SUNWgnome-python-libs ERROR
file: usr/share/pygobject/xsl/fixxref.py
Timestamp: 20080427T015835Z should be 20080714T184238Z
......
file: usr/lib/python2.4/vendor-packages/gtk-2.0/gobject/propertyhelper.pyc
Group: 'root' should be 'bin'
Size: 8796 bytes should be 8855
Hash: c0f287bd871a9ff20c9c7068b519373f0f394508 should be 08adfdf2d71874ae8a47084e6179c655552c59e8
file: usr/lib/python2.4/vendor-packages/gtk-2.0/gtk/__init__.py
Timestamp: 20080427T015837Z should be 20080714T184241Z
file: usr/lib/python2.4/vendor-packages/gtk-2.0/gtk/__init__.pyc
Group: 'root' should be 'bin'
Hash: ef9e8567d8b44307017931cc2dd5edc9e8e6fa6e should be 7b90e692d6bdb5802753535831691b56e04b2a20
file: usr/lib/python2.4/vendor-packages/gtk-2.0/gtk/_gtk.so
Elfhash: failed to load dynamic section
Hash: 5562800958cfff2f761e9a74889b709ceeffedd8 should be c9766dd3ea4e9a748e8b36180fde345208ba33fa
file: usr/lib/python2.4/vendor-packages/pygtk.pyc
Group: 'root' should be 'bin'
Size: 2018 bytes should be 2077
Hash: cc71bea7bcc7d844d5a7f2ff968f1373cc8b232e should be cd1d57b34276287e1b658058961693687ef1ca63

Which showed, that _gtk.so is invalid !!!!!


After this I updated again the python-package

pfexec pkg uninstall -r pkg:/SUNWgnome-python-libs@0.5.11-0.95
The -r is necessary for depending packages.
pfexec pkg install pkg:/SUNWgnome-python-libs@0.5.11-0.95
After his the packagemanager could be started by
gksu packagemanager