Bug 411031 - craft --update fails on Windows: could not delete msvcp140.dll during Action: cleanimage for libs/runtime
Summary: craft --update fails on Windows: could not delete msvcp140.dll during Action:...
Status: RESOLVED WORKSFORME
Alias: None
Product: Craft
Classification: Unmaintained
Component: Core (other bugs)
Version First Reported In: stable
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-18 09:12 UTC by Marcello Massaro
Modified: 2024-10-22 03:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcello Massaro 2019-08-18 09:12:54 UTC
SUMMARY
Coming back to craft after a while, I wanted to update everything, but I'm presented with the error that not all (old?) files can be removed. Specifically, it fails to remove files `msvcp140.dll` and `vcruntime140.dll` in `CraftRoot\build\libs\runtime\image-RelWithDebInfo-15\bin`. Craft then crashes because it tries to delete the directory in which these files are and a "[WinError 145] Directory not empty" gets thrown.


STEPS TO REPRODUCE
1. Open Craft environment from Start menu (as Administrator or not, same result)
2. Execute `craft --update`

OBSERVED RESULT
Some files cannot be removed and the update process fails.


EXPECTED RESULT
Update all outdated packages.


SOFTWARE/OS VERSIONS
Windows: Pro 10.0.18362

ADDITIONAL INFORMATION
Before doing this, I ran one `craft --clean-unused` (without erros). I don't know if it's related.
Comment 1 Christoph Cullmann 2024-09-22 20:21:50 UTC
Please re-try this with the current craft version.
Comment 2 Bug Janitor Service 2024-10-07 03:47:15 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2024-10-22 03:47:20 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.