You are not logged in.

#1 2009-09-04 18:11:25

nikbhardwaj
Member
Registered: 2009-09-02
Posts: 27

IS it safe to delete packages from the cache[SOLVED]

[nikhil@myhost ~]$ du -hs /var/cache/pacman/pkg/
895M    /var/cache/pacman/pkg/

do i really need to keep all of these packages
or can i just get rid of them
or better still how can pacman delete them automatically

Last edited by nikbhardwaj (2009-09-05 07:22:40)

Offline

#2 2009-09-04 18:14:08

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: IS it safe to delete packages from the cache[SOLVED]

if you are sure you don't want to downgrade a package, you can do pacman -Scc


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-09-04 21:08:50

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: IS it safe to delete packages from the cache[SOLVED]

You can always back up the packages to your network, stick them on a SD card or use one of the web pages on the downgrade packages Wiki entry if you need to get them back.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#4 2009-09-04 21:19:05

neddie_seagoon
Member
Registered: 2009-08-23
Posts: 121

Re: IS it safe to delete packages from the cache[SOLVED]

You can also use pacman -Sc to remove the files for packages that aren't currently installed.

Offline

#5 2009-09-04 21:25:22

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: IS it safe to delete packages from the cache[SOLVED]

You don't really need them if your system is working fine with the latest packages. It's only useful to have the cache around  when you need to downgrade. I don't recommend getting rid all the package cache, just the uninstalled ones like neddie_seagoon said. Keeping the cache around is useful if you want to install the same packages in other Arch systems.

Offline

#6 2009-09-05 05:37:31

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: IS it safe to delete packages from the cache[SOLVED]

You can reach sites with older packages, so I think it's not neccesary for downgrade purposes, the older versions of packages.

Offline

#7 2009-09-05 07:21:41

nikbhardwaj
Member
Registered: 2009-09-02
Posts: 27

Re: IS it safe to delete packages from the cache[SOLVED]

thanks for clearing that up
i'll delete packages like supertuxkart and multimedia and keep the kernel and coreutils etc

Offline

Board footer

Powered by FluxBB