Here are the files listed there (using ls -lpR):

/usr/lib/python2.7/dist-packages/gi/:
total 228
-rw-r--r-- 1 root root  10184 May 17 08:06 _gi_cairo.so
-rw-r--r-- 1 root root 143512 May 17 08:06 _gi.so
drwxr-xr-x 2 root root   4096 Aug  9 14:47 _glib/
drwxr-xr-x 2 root root   4096 Aug  9 14:47 _gobject/
lrwxrwxrwx 1 root root 41 May 17 08:06 importer.py -> ../../../../share/pyshared/gi/importer.py
-rw-r--r-- 1 root root   1841 Aug  9 14:47 importer.pyc
lrwxrwxrwx 1 root root 41 May 17 08:06 __init__.py -> ../../../../share/pyshared/gi/__init__.py
-rw-r--r-- 1 root root   1433 Aug  9 14:10 __init__.pyc
lrwxrwxrwx 1 root root 39 May 17 08:06 module.py -> ../../../../share/pyshared/gi/module.py
-rw-r--r-- 1 root root  10132 Aug  9 14:47 module.pyc
drwxr-xr-x 2 root root   4096 Aug  9 14:54 overrides/
lrwxrwxrwx 1 root root 44 May 17 08:06 pygtkcompat.py -> ../../../../share/pyshared/gi/pygtkcompat.py
-rw-r--r-- 1 root root  18496 Aug  9 14:47 pygtkcompat.pyc
drwxr-xr-x 2 root root   4096 Aug  9 14:47 repository/
lrwxrwxrwx 1 root root 38 May 17 08:06 types.py -> ../../../../share/pyshared/gi/types.py
-rw-r--r-- 1 root root   9014 Aug  9 14:47 types.pyc

/usr/lib/python2.7/dist-packages/gi/_glib:
total 100
-rw-r--r-- 1 root root 77392 May 17 08:06 _glib.so
lrwxrwxrwx 1 root root 50 May 17 08:06 __init__.py -> ../../../../../share/pyshared/gi/_glib/__init__.py
-rw-r--r-- 1 root root   208 Aug  9 14:47 __init__.pyc
lrwxrwxrwx 1 root root 48 May 17 08:06 option.py -> ../../../../../share/pyshared/gi/_glib/option.py
-rw-r--r-- 1 root root 12698 Aug  9 14:47 option.pyc

/usr/lib/python2.7/dist-packages/gi/_gobject:
total 172
lrwxrwxrwx 1 root root 54 May 17 08:06 constants.py -> ../../../../../share/pyshared/gi/_gobject/constants.py
-rw-r--r-- 1 root root   1978 Aug  9 14:47 constants.pyc
-rw-r--r-- 1 root root 144864 May 17 08:06 _gobject.so
lrwxrwxrwx 1 root root 53 May 17 08:06 __init__.py -> ../../../../../share/pyshared/gi/_gobject/__init__.py
-rw-r--r-- 1 root root   5457 Aug  9 14:47 __init__.pyc
lrwxrwxrwx 1 root root 59 May 17 08:06 propertyhelper.py -> ../../../../../share/pyshared/gi/_gobject/propertyhelper.py
-rw-r--r-- 1 root root  10720 Aug  9 14:47 propertyhelper.pyc

/usr/lib/python2.7/dist-packages/gi/overrides:
total 184
lrwxrwxrwx 1 root root 49 Apr 12 11:09 Dee.py -> ../../../../../share/pyshared/gi/overrides/Dee.py
-rw-r--r-- 1 root root  5880 Aug  7 17:41 Dee.pyc
lrwxrwxrwx 1 root root 49 May 17 08:06 Gdk.py -> ../../../../../share/pyshared/gi/overrides/Gdk.py
-rw-r--r-- 1 root root 12320 Aug  9 14:47 Gdk.pyc
lrwxrwxrwx 1 root root 51 Apr 16 21:17 Gedit.py -> ../../../../../share/pyshared/gi/overrides/Gedit.py
-rw-r--r-- 1 root root  2908 Aug  9 14:54 Gedit.pyc
lrwxrwxrwx 1 root root 64 May 17 08:06 GIMarshallingTests.py -> ../../../../../share/pyshared/gi/overrides/GIMarshallingTests.py
-rw-r--r-- 1 root root  2354 Aug  9 14:47 GIMarshallingTests.pyc
lrwxrwxrwx 1 root root 49 May 17 08:06 Gio.py -> ../../../../../share/pyshared/gi/overrides/Gio.py
-rw-r--r-- 1 root root  7456 Aug  9 14:47 Gio.pyc
lrwxrwxrwx 1 root root 50 May 17 08:06 GLib.py -> ../../../../../share/pyshared/gi/overrides/GLib.py
-rw-r--r-- 1 root root 11722 Aug  9 14:47 GLib.pyc
lrwxrwxrwx 1 root root 49 May 17 08:06 Gtk.py -> ../../../../../share/pyshared/gi/overrides/Gtk.py
-rw-r--r-- 1 root root 66316 Aug  9 14:47 Gtk.pyc
lrwxrwxrwx 1 root root 54 May 17 08:06 __init__.py -> ../../../../../share/pyshared/gi/overrides/__init__.py
-rw-r--r-- 1 root root  3365 Aug  9 14:47 __init__.pyc
lrwxrwxrwx 1 root root 53 May 17 08:06 keysyms.py -> ../../../../../share/pyshared/gi/overrides/keysyms.py
-rw-r--r-- 1 root root 41538 Aug  9 14:47 keysyms.pyc
lrwxrwxrwx 1 root root 51 May 17 08:06 Pango.py -> ../../../../../share/pyshared/gi/overrides/Pango.py
-rw-r--r-- 1 root root  2135 Aug  9 14:47 Pango.pyc
lrwxrwxrwx 1 root root 51 Jun 28 16:53 Unity.py -> ../../../../../share/pyshared/gi/overrides/Unity.py
-rw-r--r-- 1 root root   388 Aug  9 14:53 Unity.pyc

/usr/lib/python2.7/dist-packages/gi/repository:
total 4
lrwxrwxrwx 1 root root 55 May 17 08:06 __init__.py -> ../../../../../share/pyshared/gi/repository/__init__.py
-rw-r--r-- 1 root root 376 Aug  9 14:47 __init__.pyc




On 09/08/12 16:33, Robert McWilliam wrote:
On Thu, Aug 9, 2012, at 03:51 PM, David King wrote:
I have managed to upgrade to 12.04 from the command line, which I found
online, using this command:

sudo do-release-upgrade

but I still have the Python problem I had before, which means I cannot
run Ubuntu Software Centre or the Update Manager.
If an upgrade between releases didn't help then I think there is
probably a file gotten left from an older version that's masking the
right one.

What's in /usr/lib/python2.7/dist-packages/gi/ ?

Robert
________________________________________________________
Robert McWilliam     r...@allmail.net    www.ormiret.com

The opinions expressed herin are not necessarily those of my
employer, not necessarily mine, and probably not necessary.



-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

Reply via email to