You are not logged in.

#1 2008-01-31 07:52:04

linderox
Member
Registered: 2007-04-23
Posts: 48

deleting old packages from Cache

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

#2 2008-01-31 09:05:47

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 937

Re: deleting old packages from Cache

pacman -Sc

Removes older packages from cache.

pacman -Scc

Removes 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

#3 2008-01-31 16:51:08

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: deleting old packages from Cache

Dheart wrote:
pacman -Sc

Removes 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

Board footer

Powered by FluxBB