vcpkg icon indicating copy to clipboard operation
vcpkg copied to clipboard

can't install cmake

Open z2665 opened this issue 8 years ago • 9 comments

when run the vcpkg Failed to do post-extract rename-in-place. fs.rename(D:\vcpkg\vcpkg\downloads\tools\cmake-3.10.2-windows.partial, D:\vcpkg\vcpkg\downloads\tools\cmake-3.10.2-windows, operation not permitted)

z2665 avatar May 24 '18 15:05 z2665

same here

alvipeo avatar May 27 '18 10:05 alvipeo

Same here; a temporary workaround is to rename manually cmake-3.10.2-windows.partial to cmake-3.10.2-windows and re-run the vcpkg command.

andrea-repetto avatar Jun 06 '18 14:06 andrea-repetto

same here, but for git instead of cmake... I just got the latest of vcpkg today as well.

@repex That worked for me! How did you figure that out?

danielchen0 avatar Jun 08 '18 16:06 danielchen0

@repex That worked for me! How did you figure that out?

The error message hinted that the rename operation was not successful, so i tried to perform it manually, and it worked.

andrea-repetto avatar Jun 09 '18 13:06 andrea-repetto

I had this too (with cmake) and I simply repeated the install command (was trying to install boost-python) and it worked the second time.

bowie7070 avatar Aug 16 '18 00:08 bowie7070

In my case it was the virus scanner that blocked the operation. After disabling the virus scanner, it worked.

tzehetner avatar Jan 18 '19 17:01 tzehetner

Thanks for posting this issue. Please open a new issue if this is still a problem for you.

NancyLi1013 avatar Mar 01 '19 08:03 NancyLi1013

In my case it was the virus scanner that blocked the operation. After disabling the virus scanner, it worked.

This solve my problem.

orikey0 avatar Oct 22 '19 14:10 orikey0

We also had this issue in our company. After adding an exception to our antivirus solution.

robertobernabe avatar Aug 05 '20 07:08 robertobernabe