1- Sometimes a single PKGBUILD produce many packages, which make it not possible to remove an earlier (alphabetically) package before its dependent package. and that package will stay installed. 2- Ensure that the toolchain is installed in case the previous package is a part of it and get removed.