Nikolay edited on 2006-09-05 11:19:25.0
|
I guess the problem is on Wndows only. Unixes allow you to delete an open file. But nevertheless, this should be fixed.
|
Lex edited on 2006-09-19 16:03:44.0
|
Maybe fsc should be shut down before doing a removal, but there is also a more general problem. If the file removal fails, then sbaz should surely stop and report an error. Additionally, after this happens, sbaz needs to keep track of the fact that a package is halfway removed.
All of this applies for installing packages, too, although a halfway installed package can mostly just be ignored.
|
Lex edited on 2006-09-21 17:43:57.0
|
I have modified sbaz to abort if it is removing a package and runs into this kind of error. This is sufficiently better behavior to call it "fixed". Ideally, sbaz would track partially installed/uninstalled packages, but that requires a significant amount of design and code.
Also, I would toss in an "fsc -shutdown" somewhere, except that this command is slow if there is not actually a server running. Once that is fixed, sbaz could easily call it.
|