[Bug 499314] Re: Error during installing python-psyco

Scott Kitterman ubuntu at kitterman.com
Tue Jan 26 04:39:51 UTC 2010


** Description changed:

+ TEST CASE (at the top since it's a long bug):
+ 
+ Show that the package is available for both Python versions after
+ installing the updated package:
+ 
+ $ python
+ Python 2.6.4 (r264:75706, Dec  7 2009, 18:45:15) 
+ [GCC 4.4.1] on linux2                            
+ Type "help", "copyright", "credits" or "license" for more information.
+ >>> import psyco                                                      
+ >>>                                                                   
+ $ python2.5                           
+ Python 2.5.4 (r254:67916, Sep 20 2009, 10:05:43)
+ [GCC 4.4.1] on linux2
+ Type "help", "copyright", "credits" or "license" for more information.
+ >>> import psyco
+ >>>
+ 
+ 
  dean at linux:~/Desktop$ sudo pycentral pkginstall python-psyco
  [sudo] password for dean: 
  Could not find platform independent libraries <prefix>
  Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
  'import site' failed; use -v for traceback
  Traceback (most recent call last):
    File "/usr/bin/py_compilefiles", line 3, in <module>
      import os
  ImportError: No module named os
  pycentral: pycentral pkginstall: error byte-compiling files (8)
  pycentral pkginstall: error byte-compiling files (8)
  
  dean at linux:~/Desktop$ lsb_release -rd
  Description:	Ubuntu lucid (development branch)
  Release:	10.04
  
  Apt-term log:
  
  Log started: 2009-12-21  18:09:02
  (Reading database ... 
  (Reading database ... 5%
  (Reading database ... 10%
  (Reading database ... 15%
  (Reading database ... 20%
  (Reading database ... 25%
  (Reading database ... 30%
  (Reading database ... 35%
  (Reading database ... 40%
  (Reading database ... 45%
  (Reading database ... 50%
  (Reading database ... 55%
  (Reading database ... 60%
  (Reading database ... 65%
  (Reading database ... 70%
  (Reading database ... 75%
  (Reading database ... 80%
  (Reading database ... 85%
  (Reading database ... 90%
  (Reading database ... 95%
  (Reading database ... 100%
  (Reading database ... 245335 files and directories currently installed.)
  
  Preparing to replace python-minimal 2.6.4-0ubuntu2 (using .../python-
  minimal_2.6.4-0ubuntu2_all.deb) ...
  
  Unpacking replacement python-minimal ...
  
  Processing triggers for man-db ...
  
  Setting up python-minimal (2.6.4-0ubuntu2) ...
  
  (Reading database ... 
  (Reading database ... 5%
  (Reading database ... 10%
  (Reading database ... 15%
  (Reading database ... 20%
  (Reading database ... 25%
  (Reading database ... 30%
  (Reading database ... 35%
  (Reading database ... 40%
  (Reading database ... 45%
  (Reading database ... 50%
  (Reading database ... 55%
  (Reading database ... 60%
  (Reading database ... 65%
  (Reading database ... 70%
  (Reading database ... 75%
  (Reading database ... 80%
  (Reading database ... 85%
  (Reading database ... 90%
  (Reading database ... 95%
  (Reading database ... 100%
  (Reading database ... 245335 files and directories currently installed.)
  
  Preparing to replace python-central 0.6.11ubuntu10 (using .../python-
  central_0.6.11ubuntu10_all.deb) ...
  
  Unpacking replacement python-central ...
  
  Preparing to replace libpython2.6 2.6.4-1ubuntu2 (using
  .../libpython2.6_2.6.4-1ubuntu2_i386.deb) ...
  
  Unpacking replacement libpython2.6 ...
  
  Selecting previously deselected package python-at-spi.
  
  Unpacking python-at-spi (from .../python-at-spi_0.6.1-1ubuntu3_i386.deb)
  ...
  
  Preparing to replace python-dev 2.6.4-0ubuntu2 (using .../python-
  dev_2.6.4-0ubuntu2_all.deb) ...
  
  Unpacking replacement python-dev ...
  
  Processing triggers for man-db ...
  
  Setting up python-central (0.6.11ubuntu10) ...
  
  
  Setting up libpython2.6 (2.6.4-1ubuntu2) ...
  
  
  Setting up python-at-spi (0.6.1-1ubuntu3) ...
  
  
  Setting up python-dev (2.6.4-0ubuntu2) ...
  
  Setting up python-pyatspi (1.29.3-0ubuntu3) ...
  
  Could not find platform independent libraries <prefix>
  
  Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
  
  'import site' failed; use -v for traceback
  
  Traceback (most recent call last):
  
    File "/usr/bin/py_compilefiles", line 3, in <module>
  
      import os
  
  ImportError: No module named os
  
  Traceback (most recent call last):
  
    File "/usr/bin/pycentral", line 2195, in <module>
  
      main()
  
    File "/usr/bin/pycentral", line 2189, in main
  
      rv = action.run(global_options)
  
    File "/usr/bin/pycentral", line 1501, in run
  
      self.options.exclude, byte_compile_default=True)
  
    File "/usr/bin/pycentral", line 1085, in install
  
      rt.byte_compile(linked_files, bc_option, exclude_regex,
  ignore_errors)
  
    File "/usr/bin/pycentral", line 237, in byte_compile
  
      fd.write(fn + '\n')
  
  IOError: [Errno 32] Broken pipe
  
  dpkg: error processing python-pyatspi (--configure):
  
   subprocess installed post-installation script returned error exit
  status 1
  
  dpkg: dependency problems prevent configuration of gnome-orca:
  
   gnome-orca depends on python-pyatspi (>= 1.22.0) | python-pyatspi2;
  however:
  
    Package python-pyatspi is not configured yet.
  
    Package python-pyatspi2 is not installed.
  
  dpkg: error processing gnome-orca (--configure):
  
   dependency problems - leaving unconfigured
  
  Setting up python-configglue (0.2dev-0ubuntu2) ...
  
  Could not find platform independent libraries <prefix>
  
  Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
  
  'import site' failed; use -v for traceback
  
  Traceback (most recent call last):
  
    File "/usr/bin/py_compilefiles", line 3, in <module>
  
      import os
  
  ImportError: No module named os
  
  pycentral: pycentral pkginstall: error byte-compiling files (15)
  
  pycentral pkginstall: error byte-compiling files (15)
  
  dpkg: error processing python-configglue (--configure):
  
   subprocess installed post-installation script returned error exit
  status 1
  
  Setting up python-psyco (1.6-1ubuntu1) ...
  
  Could not find platform independent libraries <prefix>
  
  Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
  
  'import site' failed; use -v for traceback
  
  Traceback (most recent call last):
  
    File "/usr/bin/py_compilefiles", line 3, in <module>
  
      import os
  
  ImportError: No module named os
  
  pycentral: pycentral pkginstall: error byte-compiling files (8)
  
  pycentral pkginstall: error byte-compiling files (8)
  
  dpkg: error processing python-psyco (--configure):
  
   subprocess installed post-installation script returned error exit
  status 1
  
  Processing triggers for libc-bin ...
  
  ldconfig deferred processing now taking place
  
  Processing triggers for python-support ...
  
  Errors were encountered while processing:
  
   python-pyatspi
  
   gnome-orca
  
   python-configglue
  
   python-psyco
  
  Log ended: 2009-12-21  18:09:10
  
  ProblemType: Bug
  Architecture: i386
  Date: Mon Dec 21 18:19:47 2009
  DistroRelease: Ubuntu 10.04
  InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20091209)
  NonfreeKernelModules: nvidia
  Package: python-psyco 1.6-1ubuntu1
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.32-9.13-generic
  SourcePackage: psyco
  Tags: lucid
  Uname: Linux 2.6.32-9-generic i686

-- 
Error during installing python-psyco
https://bugs.launchpad.net/bugs/499314
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list