Public bug reported:

Binary package hint: python-virtualenv

$ lsb_release -rd
Description:    Ubuntu 10.04.2 LTS
Release:        10.04

$ apt-cache policy python-virtualenv
python-virtualenv:
  Installed: 1.4.5-1ubuntu1
  Candidate: 1.4.5-1ubuntu1
  Version table:
 *** 1.4.5-1ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

$ virtualenv -v --no-site-packages -p python2.6 sandbox
Running virtualenv with interpreter /usr/bin/python2.6
Creating sandbox/lib/python2.6
Symlinking Python bootstrap modules
  Symlinking sandbox/lib/python2.6/sre_parse.py
  Symlinking sandbox/lib/python2.6/sre_compile.pyc
  Symlinking sandbox/lib/python2.6/config
  Symlinking sandbox/lib/python2.6/locale.py
  Symlinking sandbox/lib/python2.6/posixpath.pyc
  Symlinking sandbox/lib/python2.6/abc.py
  Symlinking sandbox/lib/python2.6/copy_reg.pyc
  Symlinking sandbox/lib/python2.6/genericpath.pyc
  Symlinking sandbox/lib/python2.6/_abcoll.py
  Symlinking sandbox/lib/python2.6/warnings.py
  Symlinking sandbox/lib/python2.6/re.pyc
  Symlinking sandbox/lib/python2.6/ntpath.pyc
  Symlinking sandbox/lib/python2.6/sre.py
  Symlinking sandbox/lib/python2.6/UserDict.pyc
  Symlinking sandbox/lib/python2.6/linecache.py
  Symlinking sandbox/lib/python2.6/os.py
  Symlinking sandbox/lib/python2.6/locale.pyc
  Symlinking sandbox/lib/python2.6/codecs.pyc
  Symlinking sandbox/lib/python2.6/stat.pyc
  Symlinking sandbox/lib/python2.6/encodings
  Symlinking sandbox/lib/python2.6/sre.pyc
  Symlinking sandbox/lib/python2.6/stat.py
  Symlinking sandbox/lib/python2.6/posixpath.py
  Symlinking sandbox/lib/python2.6/fnmatch.pyc
  Symlinking sandbox/lib/python2.6/linecache.pyc
  Symlinking sandbox/lib/python2.6/warnings.pyc
  Symlinking sandbox/lib/python2.6/types.pyc
  Symlinking sandbox/lib/python2.6/sre_constants.pyc
  Symlinking sandbox/lib/python2.6/_abcoll.pyc
  Symlinking sandbox/lib/python2.6/sre_compile.py
  Symlinking sandbox/lib/python2.6/sre_constants.py
  Symlinking sandbox/lib/python2.6/sre_parse.pyc
  Symlinking sandbox/lib/python2.6/genericpath.py
  Symlinking sandbox/lib/python2.6/lib-dynload
  Symlinking sandbox/lib/python2.6/fnmatch.py
  Symlinking sandbox/lib/python2.6/UserDict.py
  Symlinking sandbox/lib/python2.6/os.pyc
  Symlinking sandbox/lib/python2.6/copy_reg.py
  Symlinking sandbox/lib/python2.6/types.py
  Symlinking sandbox/lib/python2.6/ntpath.py
  Symlinking sandbox/lib/python2.6/re.py
  Symlinking sandbox/lib/python2.6/abc.pyc
  Symlinking sandbox/lib/python2.6/codecs.py
Creating sandbox/lib/python2.6/site-packages
Writing sandbox/lib/python2.6/site.py
Writing sandbox/lib/python2.6/orig-prefix.txt
Writing sandbox/lib/python2.6/no-global-site-packages.txt
Creating parent directories for sandbox/include
Symlinking sandbox/include/python2.6
Creating sandbox/bin
New python executable in sandbox/bin/python2.6
Changed mode of sandbox/bin/python2.6 to 0755
Also creating executable in sandbox/bin/python
Changed mode of sandbox/bin/python to 0755
Testing executable with sandbox/bin/python2.6 -c "import sys; print sys.prefix"
Got sys.prefix result: '/home/rte/projects/sandbox'
Creating sandbox/lib/python2.6/distutils
Writing sandbox/lib/python2.6/distutils/__init__.py
Writing sandbox/lib/python2.6/distutils/distutils.cfg
No distribute egg found; downloading
Installing distribute...........
  Complete output from command /home/rte/projects/sandbox/bin/python2.6 -c 
"#!python
\"\"\"Bootstrap distribu...1:])
" --always-copy -U distribute:
  Extracting in /tmp/tmp_8up8W
Traceback (most recent call last):
  File "<string>", line 477, in <module>
  File "<string>", line 473, in main
  File "<string>", line 73, in _install
  File "/usr/lib/python2.6/tarfile.py", line 1658, in open
    raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully
----------------------------------------
...Installing distribute...done.
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/virtualenv.py", line 1495, in <module>
    main()
  File "/usr/lib/pymodules/python2.6/virtualenv.py", line 537, in main
    use_setuptools=options.use_setuptools)
  File "/usr/lib/pymodules/python2.6/virtualenv.py", line 628, in 
create_environment
    install_distribute(py_executable, unzip=unzip_setuptools)
  File "/usr/lib/pymodules/python2.6/virtualenv.py", line 364, in 
install_distribute
    _install_req(py_executable, unzip, distribute=True)
  File "/usr/lib/pymodules/python2.6/virtualenv.py", line 337, in _install_req
    cwd=cwd)
  File "/usr/lib/pymodules/python2.6/virtualenv.py", line 598, in 
call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /home/rte/projects/sandbox/bin/python2.6 -c "#!python
\"\"\"Bootstrap distribu...1:])
" --always-copy -U distribute failed with error code 1

** Affects: python-virtualenv (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/769186

Title:
  "#!python \"\"\"Bootstrap distribu...1:]) " --always-copy -U
  distribute failed with error code 1

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

Reply via email to