Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install fails if aria2c has dir configured #625

Closed
brbsix opened this issue Jun 8, 2016 · 0 comments
Closed

install fails if aria2c has dir configured #625

brbsix opened this issue Jun 8, 2016 · 0 comments

Comments

@brbsix
Copy link

brbsix commented Jun 8, 2016

When running pyenv install, I encountered the following error:

Downloading pypy3-2.4-linux_x86_64-portable.tar.bz2...
-> https://bitbucket.org/squeaky/portable-pypy/downloads/pypy3-2.4-linux_x86_64-portable.tar.bz2
/home/user/.pyenv/plugins/python-build/bin/python-build: line 230: pushd: pypy3-2.4-linux_x86_64-portable: No such file or directory

BUILD FAILED (Ubuntu 15.04 using python-build 20160509-26-g216244f)

Inspect or clean up the working tree at /tmp/python-build.20160608033247.24622
Results logged to /tmp/python-build.20160608033247.24622.log

Last 10 log lines:
======+====+===========+=======================================================
486ae0|OK  |   589KiB/s|/home/user/Downloads/aria2/pypy3-2.4-linux_x86_64-portable.tar.bz2

Status Legend:
(OK):download completed.
mv: cannot stat ‘pypy3-2.4-linux_x86_64-portable.tar.bz2’: No such file or directory
tar (child): pypy3-2.4-linux_x86_64-portable.tar.bz2: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

I don't have the logs or set -x output handy, but I believe this is due aria2c's configuration file $HOME/.aria2/aria2.conf with the following entry:

dir=/home/user/Downloads/aria2

I can imagine this will cause issues for people in the future...

@yyuu yyuu added the type: bug label Jun 14, 2016
yyuu added a commit to yyuu/ruby-build that referenced this issue Jun 22, 2016
@yyuu yyuu closed this as completed in c4e012d Jun 22, 2016
jasonkarns pushed a commit to nodenv/node-build that referenced this issue Aug 13, 2016
jasonkarns added a commit to nodenv/node-build that referenced this issue Aug 13, 2016
* aria2c:
  Ensure pristine test environment for curl stubs
  Prevent loading user's aria2.conf (pyenv/pyenv#625)
  Add a test for `aria2c`
  Use `curl` stub during tests by default
  Remove `aria2c` from PATH to use `curl` stub during test
  `aria2c` doesn't support writing remote content to stdout (pyenv/pyenv#619, pyenv/pyenv#620)
  Allow specifying custom command line options for `aria2c`, `curl` and `wget`
  Use `aria2c` the "ultra fast" download utility if available
jasonkarns added a commit to nodenv/node-build that referenced this issue Aug 13, 2016
* ruby-build/master:
  Add Rubinius 3.48
  Add Rubinius 3.47
  Add Rubinius 3.44–3.46
  Add Rubinius 3.43
  Prevent loading user's aria2.conf (pyenv/pyenv#625)
  Add a test for `aria2c`
  Use `curl` stub during tests by default
  Remove `aria2c` from PATH to use `curl` stub during test
  `aria2c` doesn't support writing remote content to stdout (pyenv/pyenv#619, pyenv/pyenv#620)
  GNU Make is always required for JRuby
jasonkarns added a commit to nodenv/node-build that referenced this issue Aug 13, 2016
* ruby-build-updates:
  Add Rubinius 3.48
  Add Rubinius 3.47
  Add Rubinius 3.44–3.46
  Add Rubinius 3.43
  Prevent loading user's aria2.conf (pyenv/pyenv#625)
  Add a test for `aria2c`
  Use `curl` stub during tests by default
  Remove `aria2c` from PATH to use `curl` stub during test
  `aria2c` doesn't support writing remote content to stdout (pyenv/pyenv#619, pyenv/pyenv#620)
  GNU Make is always required for JRuby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants