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

conda 4.3.6 broken - Uncaught backoff with errno EEXIST 17 #4393

Closed
dhirschfeld opened this issue Jan 21, 2017 · 9 comments
Closed

conda 4.3.6 broken - Uncaught backoff with errno EEXIST 17 #4393

dhirschfeld opened this issue Jan 21, 2017 · 9 comments
Labels
locked [bot] locked due to inactivity type::bug describes erroneous operation, use severity::* to classify the type
Milestone

Comments

@dhirschfeld
Copy link
Contributor

dhirschfeld commented Jan 21, 2017

Trying to update all broke with a file already exists error when trying to install the packages:

C:\dev\code\sandbox> conda update --all
Fetching package metadata .................
Solving package specifications: .

Package plan for installation in environment C:\bin\Anaconda:

The following packages will be UPDATED:
<SNIP>
ipywidgets-5.2 100% |###############################| Time: 0:00:00   8.57 MB/s
pymc3-3.0-py35 100% |###############################| Time: 0:00:01 152.30 kB/s
WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17
ERROR conda.core.link:_execute_actions(318): An error occurred while uninstalling package 'conda-forge::jupyterlab-0.12.
1-py35_0'.
FileExistsError(17, 'Cannot create a file when that file already exists')
Attempting to roll back.

WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17
WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17
WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17
WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17
WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17
WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17
WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17
WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17
WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17
WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17
WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17
WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17
WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17
WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17
WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17


FileExistsError(17, 'Cannot create a file when that file already exists')
FileExistsError(17, 'Cannot create a file when that file already exists')
FileExistsError(17, 'Cannot create a file when that file already exists')
FileExistsError(17, 'Cannot create a file when that file already exists')
FileExistsError(17, 'Cannot create a file when that file already exists')
FileExistsError(17, 'Cannot create a file when that file already exists')
FileExistsError(17, 'Cannot create a file when that file already exists')
FileExistsError(17, 'Cannot create a file when that file already exists')
FileExistsError(17, 'Cannot create a file when that file already exists')
FileExistsError(17, 'Cannot create a file when that file already exists')
FileExistsError(17, 'Cannot create a file when that file already exists')
FileExistsError(17, 'Cannot create a file when that file already exists')
FileExistsError(17, 'Cannot create a file when that file already exists')
FileExistsError(17, 'Cannot create a file when that file already exists')
FileExistsError(17, 'Cannot create a file when that file already exists')
FileExistsError(17, 'Cannot create a file when that file already exists')

Trying again results in the same error (with a different package this time) leaving me unable to update my environment

C:\dev\code\sandbox> conda update --all
Fetching package metadata .................
Solving package specifications: .

Package plan for installation in environment C:\bin\Anaconda:

The following packages will be UPDATED:
<SNIP>
Proceed ([y]/n)? y

icu-58.1-vc14_ 100% |###############################| Time: 0:00:15 782.64 kB/s
libxml2-2.9.3- 100% |###############################| Time: 0:00:04 754.62 kB/s
qt-4.8.7-vc14_ 100% |###############################| Time: 0:00:34   1.51 MB/s
pyqt-4.11.4-py 100% |###############################| Time: 0:00:00   9.97 MB/s
matplotlib-2.0 100% |###############################| Time: 0:00:06   1.06 MB/s
anaconda-navig 100% |###############################| Time: 0:00:02   1.51 MB/s
qtconsole-4.2. 100% |###############################| Time: 0:00:00  14.07 MB/s
WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17
ERROR conda.core.link:_execute_actions(318): An error occurred while uninstalling package 'conda-forge::flask-cors-3.0.2-py35_0'.
FileExistsError(17, 'Cannot create a file when that file already exists')
Attempting to roll back.

WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno EEXIST 17


FileExistsError(17, 'Cannot create a file when that file already exists')
FileExistsError(17, 'Cannot create a file when that file already exists')
@dhirschfeld
Copy link
Contributor Author

Using conda 4.3.6 on py35 / win64.

Downgrading to conda 4.2.15 allowed me to complete the update.

@dhirschfeld dhirschfeld changed the title conda broken - Uncaught backoff with errno EEXIST 17 conda 4.3.6 broken - Uncaught backoff with errno EEXIST 17 Jan 21, 2017
@kalefranz
Copy link
Contributor

I'd love to know where this error came from and fix it, but I need more information. Can you still reproduce it? If so, can you give me the output with the addition of -v -v -v?

@kalefranz kalefranz added the type::bug describes erroneous operation, use severity::* to classify the type label Jan 21, 2017
@kalefranz kalefranz added this to the 4.3 milestone Jan 21, 2017
@dhirschfeld
Copy link
Contributor Author

@kalefranz - I reverted to the previous revision, reinstalled 4.3.6 and re-ran conda update with -v -v -v which appeared to fail with the same error.

Log available at - https://gist.github.com/dhirschfeld/2fa4c615e09c33d03f86f9d95deefcbf

@dhirschfeld
Copy link
Contributor Author

NB: 4.3.7 also has the same problem for me

@kalefranz
Copy link
Contributor

Thanks for that debug output. Just want I needed. PR here that'll be included in 4.3.8.

@dhirschfeld
Copy link
Contributor Author

Thanks for the fix - will look forward to 4.3.8!

Happy to try it out if there's a conda installable beta version.

kalefranz added a commit that referenced this issue Jan 22, 2017
fix #4393 by force-renaming certain backup files if the path already exists
@kalefranz
Copy link
Contributor

Oh, 4.3.8 is posted to the canary channel.

conda config --add channels conda-canary
conda update conda

@wangty225
Copy link

My guess is that you did not run this command with administrator privileges!

@github-actions
Copy link

Hi there, thank you for your contribution!

This issue has been automatically locked because it has not had recent activity after being closed.

Please open a new issue if needed.

Thanks!

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Apr 13, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity type::bug describes erroneous operation, use severity::* to classify the type
Projects
None yet
Development

No branches or pull requests

3 participants