Public bug reported: Ran the upgrade and there were issues installing python files, ran sudo dpkg --configure -a and received the following errors:
>sudo dpkg --configure -a Setting up python-brlapi (3.9-5ubuntu1) ... Traceback (most recent call last): File "/usr/sbin/update-python-modules", line 344, in <module> bytecompile_all(py) File "/usr/sbin/update-python-modules", line 238, in bytecompile_all post_change_stuff(py) File "/usr/sbin/update-python-modules", line 224, in post_change_stuff file(initfile,"w").close() IOError: [Errno 2] No such file or directory: '/var/lib/python-support/python2.5/bootconfig/__init__.py' dpkg: error processing python-brlapi (--configure): subprocess post-installation script returned error exit status 1 Setting up python-rabbyt (0.7.5-1) ... Traceback (most recent call last): File "/usr/sbin/update-python-modules", line 344, in <module> bytecompile_all(py) File "/usr/sbin/update-python-modules", line 238, in bytecompile_all post_change_stuff(py) File "/usr/sbin/update-python-modules", line 224, in post_change_stuff file(initfile,"w").close() IOError: [Errno 2] No such file or directory: '/var/lib/python-support/python2.4/bootconfig/__init__.py' dpkg: error processing python-rabbyt (--configure): subprocess post-installation script returned error exit status 1 Setting up python-pyorbit (2.14.3-2ubuntu1) ... Traceback (most recent call last): File "/usr/sbin/update-python-modules", line 344, in <module> bytecompile_all(py) File "/usr/sbin/update-python-modules", line 238, in bytecompile_all post_change_stuff(py) File "/usr/sbin/update-python-modules", line 224, in post_change_stuff file(initfile,"w").close() IOError: [Errno 2] No such file or directory: '/var/lib/python-support/python2.4/bootconfig/__init__.py' dpkg: error processing python-pyorbit (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of gnome-orca: gnome-orca depends on python-brlapi; however: Package python-brlapi is not configured yet. dpkg: error processing gnome-orca (--configure): dependency problems - leaving unconfigured Setting up python-gtksourceview2 (2.1.1-0ubuntu1) ... Traceback (most recent call last): File "/usr/sbin/update-python-modules", line 344, in <module> bytecompile_all(py) File "/usr/sbin/update-python-modules", line 238, in bytecompile_all post_change_stuff(py) File "/usr/sbin/update-python-modules", line 224, in post_change_stuff file(initfile,"w").close() IOError: [Errno 2] No such file or directory: '/var/lib/python-support/python2.4/bootconfig/__init__.py' dpkg: error processing python-gtksourceview2 (--configure): subprocess post-installation script returned error exit status 1 Setting up gnome-games-data (1:2.21.91-0ubuntu1) ... Traceback (most recent call last): File "/usr/sbin/update-python-modules", line 344, in <module> bytecompile_all(py) File "/usr/sbin/update-python-modules", line 238, in bytecompile_all post_change_stuff(py) File "/usr/sbin/update-python-modules", line 224, in post_change_stuff file(initfile,"w").close() IOError: [Errno 2] No such file or directory: '/var/lib/python-support/python2.5/bootconfig/__init__.py' dpkg: error processing gnome-games-data (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of python-pyatspi: python-pyatspi depends on python-pyorbit; however: Package python-pyorbit is not configured yet. dpkg: error processing python-pyatspi (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gedit: gedit depends on python-gtksourceview2 (>= 2.1.0); however: Package python-gtksourceview2 is not configured yet. dpkg: error processing gedit (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-games: gnome-games depends on gnome-games-data (>= 1:2.21); however: Package gnome-games-data is not configured yet. gnome-games depends on gnome-games-data (<< 1:2.22); however: Package gnome-games-data is not configured yet. dpkg: error processing gnome-games (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python-brlapi python-rabbyt python-pyorbit gnome-orca python-gtksourceview2 gnome-games-data python-pyatspi gedit gnome-games Can you please advise how to resolve? Thanks. ** Affects: ubuntu Importance: Undecided Status: New -- Upgrade bug gutsy to hardy (python errors) https://bugs.launchpad.net/bugs/195028 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs