Fixing Conan Lock Issues

I've been implementing Conan as our C++ package manager, and I had the following issue cause me a fair amount of grief over the last couple days:

[MyPackageName] is locked by another concurrent conan process, wait... If not the case, quit, and do 'conan remove --locks'

 You would be forgiven for thinking conan remove --locks should do the trick, but alas, it does not.  After finding hints on several Conan Github issues, I finally figured out that manually removing the package folders in one or both of the following places will alleviate the issue:

Windows: C:\Users\username\.conan\data\packagename

WSL/Linux: /home/username/.conan/data/packagename

Comments

Post a Comment

Popular posts from this blog

Initialize With Care

Permanently Mapping a Windows Share on Linux