[pacman-dev] issues with cleaning a shared pacman cache with new -Sc behaviour

Dan McGee dpmcgee at gmail.com
Sat Jan 19 10:52:56 EST 2008


On Jan 19, 2008 6:49 AM, Roman Kyrylych <roman.kyrylych at gmail.com> wrote:
> 2008/1/19, Alessio Bolognino <themolok.ml at gmail.com>:
> > On Sat 2008-01-19 09:43 , Roman Kyrylych wrote:
> > > Hi!
> > >
> > > I've found an issue that appeared after the change in -Sc behaviour.
> > > It now removes "uninstalled" packages from cache which is good for
> > > majority of users, but is bad for shared pacman cache users.
> > > With a pacman cache shared between machines it is impossible to
> > > correctly clean it with pacman if a set of installed packages on them
> > > is different.
> > > I remember there was at least one script posted here or on forums that
> > > removes old version of packages from a specified directory
> > > (it was provided as a helpful tool for managing local repositories
> > > AFAIR), but I cannot find it.
> > > Could someone who have this (or similar) script please share it?
> > > It needs to be posted to our wiki page about a shared cache, and maybe
> > > Phil's rucksack script needs to be modified as well.
> >
> > This one
> > http://archlinux.org/pipermail/pacman-dev/2007-March/007767.html
> > maybe?
> >
>
> 2008/1/19, fancris3 <fancris3 at aol.com>:
> > http://bbs.archlinux.org/viewtopic.php?id=29555  ?

I grabbed this one some time a while back, it is probably the same as
one of the above. I can't remember if I made any modifications of my
own to it.

-Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleancache
Type: application/octet-stream
Size: 3229 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20080119/a778a4ae/attachment.obj>


More information about the pacman-dev mailing list