Remove unused dependencies
Show warning if it was not possible to remove the cache index file