-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
flutter pub upgrade randomly results in: Rename failed, path = '~/.pub-cache/_temp/dirBVDEOH' (OS Error: File exists, errno = 17) #148650
Comments
Thanks for the report @mrcsh
Does it occur without using the script or occurs only while using the script ?
This will be helpful to address it further. |
I don't often update an individual project out side of the script, but I may have seen it on an individual update, but I cannot say for sure. It doesn't happen super often maybe on the order of one in 30-50 updates. And may only happen if packages are actually updated so reproducibility is problematic at best. |
Keeping the issue open and labeling for team's attention. |
Howdy. Thanks for contributing this issue! This one is certainly interesting. Footnotes
|
Since this is most likely an issue in pub, I'll be closing this issue. Feel free to re-file this issue on the pub repository. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to reproduce
The error does not happen frequently maybe once a day. But I have script that goes through all my flutter projects and does a flutter pub upgrade. After installing flutter 3.22 it randomly fails every so often with
Rename failed, path = '/home/csh/.pub-cache/_temp/dirBVDEOH' (OS Error: File exists, errno = 17)
The random filename is different each time of course. It may happen more frequently if there are actually a lot of packages updated. If I can notice any clear patterns I will update.
I have only seen this on Linux, but I do most of my development on Linux.
Expected results
flutter pub upgrade completes without error
Actual results
Code sample
n/a
Screenshots or Video
n/a
Logs
n/a
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: