jacob-carlborg/dvm

dvm crashes with IOException (directory is not empty) when doing "dvm install 2.064" and then "dvm install --64bit 2.064"

Opened this issue · 2 comments

It was complaining that a certain directory was not empty, but by the time it exited, that directory was completely gone. I worked around it by deleting 2.064's directory inside ~/.dvm.

The same error if I install dmd, remove dmd and install dmd again:

dvm install 2.064.2
dvm uninstall 2.064.2
dvm install 2.064.2

Installing: dmd-2.064.2
An unknown error occurred:
tango.core.Exception.IOException: ~/.dvm/tmp/dmd-2.064.2/dmd2/src: Directory not empty

veelo commented

Same here. Seems to be triggered when an install is done on top of an existing install. To make things worse: uninstall doesn't work:

$ dvm list
Installed D compilers:

dmd-2.066.1
$ dvm uninstall 2.066.1
Uninstalling dmd-2.066.1
$ dvm list
Installed D compilers:

dmd-2.066.1

Platform: Mac OS X 10.10.5. I have used the -d option to make the installed version the default.