This question already has an answer here:
I know that when a package is being installed, the root directory [I think?] gets an administrator lock and can't make an other installation at the same time.
Is there a way to stop that installation? If it is so, is it good to do?
I heard that it is better to leave the package to get installed and then try removing it. Is that true?