install: fatal: destination path already exists and is not an empty directory
tuxcanfly opened this issue · comments
Javed Khan commented
When install
is run on package and it fails (most common reason being missing gpg keys), the next time it is run, it fails with this error. Would be nice to either
a) clean cache when install fails or
b) pre-emptively clear cache when installing new package or
c) prompt user to clean cache and re-download package
Braydon Fuller commented
If it's signed, there will be a different hash. So perhaps it just needs to give the same error, unable to verify.
Braydon Fuller commented
Actually, if there is a missing public key it would end up being the same. If the unverified path already exists, no need to fetch it again, just try verifying again.
Braydon Fuller commented
Closed in 87578a3