Message412916
I figured it out.
I tried to delete the files using PowerShell and I got the following:
Remove-Item : Cannot remove item C:\Users\Username\AppData\Local\Microsoft\WindowsApps\python.exe: The
process cannot access the file 'C:\Users\Username\AppData\Local\Microsoft\WindowsApps\python.exe' because it
is being used by another process.
Using the "Resource Monitor" via the "CPU" tab and "Associated Handles" I was able the process which was using those. Somehow the handle search in "Process Explorer" was not returning this.
After closing the process I was able to remove the files and install Python again.
So it is exactly as I suspected before. When an update/uninstall is performed and the files are in use they cannot be updated/removed.
It should probably check this early and fail in case the files are in use so it doesn't perform a partial operation leaving the app unusable/not installable. |
|
Date |
User |
Action |
Args |
2022-02-09 15:39:24 | firewave | set | recipients:
+ firewave, paul.moore, tim.golden, zach.ware, eryksun, steve.dower |
2022-02-09 15:39:24 | firewave | set | messageid: <1644421164.22.0.839853470605.issue45789@roundup.psfhosted.org> |
2022-02-09 15:39:24 | firewave | link | issue45789 messages |
2022-02-09 15:39:24 | firewave | create | |
|