My preferred situation would be that throwing an exception anywhere within a resolve call would rollback everything to its prior state. Unfortunately, the package manager does not seem to be transactional like that. I'll see what needs to be done to back out of a package install. I am hesitant to call a Pkg.rm(...) from the middle of a resolve .. that seems to be unlikely to work well.