Anonymous (not verified) said:partial update is not clean; logs:NS_main: unable to remove directory: tobedeleted, err: 41boklm said:Where/when do you have this error?Anonymous (not verified) said:Win 10 x64
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
brade and I will need to double-check, but if I remember correctly the updater log message about not being able to remove the tobedeleted directory is nothing to worry about. That directory will be removed later (when the browser is restarted).
Unless the original blog commenter experienced a failed incremental update, this is not a bug. My guess is that they saw a line in their update log file that appeared to be an error and wanted to let us know about it.
Kathy and I confirmed that the log message occurs in the normal course of things. What happens is that, on Windows, updater.exe cannot delete the DLLs that it depends on. The files are renamed and moved to a temporary directory named tobedeleted. In Firefox, MoveFileEx() is used to tell the OS remove that directory upon next reboot. Since that mechanism will write to the Windows Registry (which we want to avoid), our Tor Browser patches for #4234 (moved) add an #ifdef to omit the block of code that uses MoveFileEx(), here:
https://gitweb.torproject.org/tor-browser.git/tree/toolkit/mozapps/update/updater/updater.cpp?h=tor-browser-68.3.0esr-9.5-1-build1#n4007