You are not logged in.

#1 2004-07-12 10:20:18

Moritz
Member
From: Cologne, NRW, Germany
Registered: 2002-10-12
Posts: 166

Feature Request: pacman -S --clean-old

Hey!

Is there a chance to add a --clean-old trigger to pacman that removes only old packages? I use my package cache with an nfs-share to provide them for the whole LAN (to reduce the inet bandwith). I won't clear the cache, because of new installations (OOo, gcc, xfree86... are huge!). So it would be a great feature for me to delete only the outdated packages.

Regards,
Moritz

Offline

#2 2004-07-12 10:34:22

Mindaugas
Member
From: Ireland
Registered: 2004-03-25
Posts: 95

Re: Feature Request: pacman -S --clean-old

What about : pacman -Sc ?
---------------------
man pacman
<pre>
SYNC OPTIONS
       -c, --clean
              Remove old packages from the cache.  When pacman downloads pack-
              ages, it saves them in /var/cache/pacman/pkg.  If  you  need  to
              free  up  diskspace,  you can remove these packages by using the
              --clean option.  Using one --clean  (or  -c)  switch  will  only
              remove  old  packages.  Use it twice to remove all packages from
              the cache.</pre>

Offline

#3 2004-07-12 14:24:40

Moritz
Member
From: Cologne, NRW, Germany
Registered: 2002-10-12
Posts: 166

Re: Feature Request: pacman -S --clean-old

hmm... last time I run pacman -Sc all of /vac/cache/pacman/pkg has been cleaned up. Since when is -Scc possible?

Offline

#4 2004-07-12 16:32:16

orelien
Forum Fellow
From: France
Registered: 2002-12-05
Posts: 220
Website

Re: Feature Request: pacman -S --clean-old

Moritz wrote:

Since when is -Scc possible?

Since pacman 2.7.8
You can have a look at the changelog there: http://www.archlinux.org/pacman/

Offline

Board footer

Powered by FluxBB