You are not logged in.
How to remove old packages from my cache dir if:
1)there is the same package,but newer?
2)It is a very old package,that all another have to use another version of it?
Offline
pacman -ScRemoves older packages from cache.
pacman -SccRemoves all packages from cache.
My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...
Offline
pacman -ScRemoves older packages from cache.
Not anymore. Since 3.1, it now removes packages that are not currently installed.
For example, if you downgrade a package, pacman -Sc will remove the newer version of that package, because you have the older one installed.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline