Remove unused packages from cache
$ sudo apt-get autoclean
Clearing the cache, apt utilities:
$ sudo apt-get clean
Remove unwanted dependencies:
$ sudo apt-get autoremove
In general, it will be a good practice to remove dependencies immediately when an application is deleted:
$ sudo apt-get autoremove application
pacman -Syyhit both galaxy and community.
But now pacman-contrib is there. I do not understand what has changed.
I was using
pacman -Syyuand then
pacman -S pacman-contrib
I thought -Syyu would update the package databases.