You are not logged in.

#1 2010-09-10 14:59:35

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

Cleaning pacman cache

Is it OK to delete all the files from "/var/cache/pacman/pkg" manually, without doing "pacman -Sc"?

Offline

#2 2010-09-10 15:02:55

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Cleaning pacman cache

Question is : why would you want to do that when pacman does it for you?

pacman -Sc

will delete all packages that are NOT installed on your system and

pacman -Scc

will delete all the packages regardless of whether you have installed them or not.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2010-09-10 15:58:09

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

Re: Cleaning pacman cache

"pacman -Scc" deletes only cached packages? It won't damage installed programs?

Offline

#4 2010-09-10 16:05:11

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Cleaning pacman cache

no. it will delete packages from /var/cache/pacman/pkg.

The only thing is that if you upgrade any package, and then find that it doesn't work, you will not be able to downgrade easily since you are getting rid of all packages. It is generally recommended to do a

pacman -Sc

and avoid

pacman -Scc

Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB