spacepaste

  1.  
  2. user@host:~$ sudo apt-get install screen
  3. Reading package lists... Done
  4. Building dependency tree
  5. Reading state information... Done
  6. screen is already the newest version.
  7. The following packages will be upgraded:
  8. jockey-common
  9. 1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
  10. 97 not fully installed or removed.
  11. Need to get 0B/345kB of archives.
  12. After this operation, 0B of additional disk space will be used.
  13. (Reading database ... 137417 files and directories currently installed.)
  14. Preparing to replace python-apt 0.7.96.1ubuntu11 (using .../python-apt_0.7.96.1ubuntu11_i386.deb) ...
  15. Traceback (most recent call last):
  16. File "/usr/bin/pycentral", line 2304, in <module>
  17. main()
  18. File "/usr/bin/pycentral", line 2298, in main
  19. rv = action.run(global_options)
  20. File "/usr/bin/pycentral", line 1653, in run
  21. runtimes = get_installed_runtimes(with_unsupported=True)
  22. File "/usr/bin/pycentral", line 278, in get_installed_runtimes
  23. default_version = pyversions.default_version(version_only=True)
  24. File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version
  25. raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
  26. ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.5.2
  27. dpkg: warning: subprocess old pre-removal script returned error exit status 1
  28. dpkg - trying script from the new package instead ...
  29. Traceback (most recent call last):
  30. File "/usr/bin/pycentral", line 2304, in <module>
  31. main()
  32. File "/usr/bin/pycentral", line 2298, in main
  33. rv = action.run(global_options)
  34. File "/usr/bin/pycentral", line 1653, in run
  35. runtimes = get_installed_runtimes(with_unsupported=True)
  36. File "/usr/bin/pycentral", line 278, in get_installed_runtimes
  37. default_version = pyversions.default_version(version_only=True)
  38. File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version
  39. raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
  40. ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.5.2
  41. dpkg: error processing /var/cache/apt/archives/python-apt_0.7.96.1ubuntu11_i386.deb (--unpack):
  42. subprocess new pre-removal script returned error exit status 1
  43. Traceback (most recent call last):
  44. File "/usr/bin/pycentral", line 2304, in <module>
  45. main()
  46. File "/usr/bin/pycentral", line 2298, in main
  47. rv = action.run(global_options)
  48. File "/usr/bin/pycentral", line 1477, in run
  49. runtimes = get_installed_runtimes()
  50. File "/usr/bin/pycentral", line 278, in get_installed_runtimes
  51. default_version = pyversions.default_version(version_only=True)
  52. File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version
  53. raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
  54. ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.5.2
  55. dpkg: error while cleaning up:
  56. subprocess installed post-installation script returned error exit status 1
  57. Preparing to replace jockey-common 0.5.10-0ubuntu5.1 (using .../jockey-common_0.5.10-0ubuntu5.2_all.deb) ...
  58. Traceback (most recent call last):
  59. File "/usr/bin/pycentral", line 2304, in <module>
  60. main()
  61. File "/usr/bin/pycentral", line 2298, in main
  62. rv = action.run(global_options)
  63. File "/usr/bin/pycentral", line 1653, in run
  64. runtimes = get_installed_runtimes(with_unsupported=True)
  65. File "/usr/bin/pycentral", line 278, in get_installed_runtimes
  66. default_version = pyversions.default_version(version_only=True)
  67. File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version
  68. raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
  69. ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.5.2
  70. dpkg: warning: subprocess old pre-removal script returned error exit status 1
  71. dpkg - trying script from the new package instead ...
  72. Traceback (most recent call last):
  73. File "/usr/bin/pycentral", line 2304, in <module>
  74. main()
  75. File "/usr/bin/pycentral", line 2298, in main
  76. rv = action.run(global_options)
  77. File "/usr/bin/pycentral", line 1653, in run
  78. runtimes = get_installed_runtimes(with_unsupported=True)
  79. File "/usr/bin/pycentral", line 278, in get_installed_runtimes
  80. default_version = pyversions.default_version(version_only=True)
  81. File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version
  82. raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
  83. ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.5.2
  84. dpkg: error processing /var/cache/apt/archives/jockey-common_0.5.10-0ubuntu5.2_all.deb (--unpack):
  85. subprocess new pre-removal script returned error exit status 1
  86. Traceback (most recent call last):
  87. File "/usr/bin/pycentral", line 2304, in <module>
  88. main()
  89. File "/usr/bin/pycentral", line 2298, in main
  90. rv = action.run(global_options)
  91. File "/usr/bin/pycentral", line 1477, in run
  92. runtimes = get_installed_runtimes()
  93. File "/usr/bin/pycentral", line 278, in get_installed_runtimes
  94. default_version = pyversions.default_version(version_only=True)
  95. File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version
  96. raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
  97. ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.5.2
  98. dpkg: error while cleaning up:
  99. subprocess installed post-installation script returned error exit status 1
  100. Errors were encountered while processing:
  101. /var/cache/apt/archives/python-apt_0.7.96.1ubuntu11_i386.deb
  102. /var/cache/apt/archives/jockey-common_0.5.10-0ubuntu5.2_all.deb
  103. E: Sub-process /usr/bin/dpkg returned an error code (1)
  104. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  105. Here's my /usr/share/python/debian_defaults file.
  106. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  107. [DEFAULT]
  108. # the default python version
  109. default-version = python2.5.2
  110. # all supported python versions
  111. supported-versions = python2.5.2
  112. # formerly supported python versions
  113. old-versions = python2.3, python2.4
  114. # unsupported versions, including older versions
  115. unsupported-versions = python2.3, python2.4
  116.