Ik probeer na wat problemen via APT python weer te installeren.
het volgende gebeurd:
Er lijkt dus een error in de python-central files te zitten. Iemand dit eerder bij de hand gehad en een potentiele oplossing? Kan het handmatig compilen en installen van Python een oplossing bieden?Code:blackbox:/tmp# apt-get install -f python Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: python-central python2.3 Suggested packages: python-doc python-tk python-profiler python2.3-doc python2.3-profiler Recommended packages: python2.3-cjkcodecs python2.3-iconvcodec python2.3-japanese-codecs The following NEW packages will be installed: python python-central python2.3 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/3015kB of archives. After unpacking 10.1MB of additional disk space will be used. Do you want to continue [Y/n]? y perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en_GB:en", LC_ALL = (unset), LANG = "en" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Selecting previously deselected package python-central. (Reading database ... 32693 files and directories currently installed.) Unpacking python-central (from .../python-central_0.4.16_all.deb) ... Selecting previously deselected package python2.3. Unpacking python2.3 (from .../python2.3_2.3.5-14_i386.deb) ... Selecting previously deselected package python. Unpacking python (from .../python_2.3.5-9_all.deb) ... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en_GB:en", LC_ALL = (unset), LANG = "en" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en_GB:en", LC_ALL = (unset), LANG = "en" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en_GB:en", LC_ALL = (unset), LANG = "en" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Setting up python-central (0.4.16) ... Setting up python2.3 (2.3.5-14) ... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en_GB:en", LC_ALL = (unset), LANG = "en" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Traceback (most recent call last): File "/usr/bin/pycentral", line 1365, in ? main() File "/usr/bin/pycentral", line 1359, in main rv = action.run(global_options) File "/usr/bin/pycentral", line 892, in run pkg.set_default_runtime_from_version_info() File "/usr/bin/pycentral", line 575, in set_default_runtime_from_version_info self.default_runtime = get_runtime_for_version(versions[0]) TypeError: unindexable object dpkg: error processing python2.3 (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of python: python depends on python2.3 (>= 2.3.5-1); however: Package python2.3 is not configured yet. dpkg: error processing python (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python2.3 python E: Sub-process /usr/bin/dpkg returned an error code (1)