FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 01-19-2008, 10:12 AM
Xavier
 
Default issues with cleaning a shared pacman cache with new -Sc behaviour

fancris3 wrote:
> On Sat, 19 Jan 2008 07:43:29 -0000, Roman Kyrylych
> <roman.kyrylych@gmail.com> 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.
>>
>
>
> http://bbs.archlinux.org/viewtopic.php?id=29555 ?
>

Ahah, that's funny. When pacman removed the old versions from the cache,
people wanted to remove the no longer installed versions.
And now that pacman removes the no longer installed versions, people
want to remove the old versions from the cache.

But there is indeed a problem here. For a not shared cache, the new
behavior makes more sense. But for a shared cache, the old behavior was
better.
So in that thread, all the first scripts should emulate the new 3.1
behavior (and so should be unneeded now), but maybe the last script
there from Spider emulates the old 3.0 behavior?

In any cases, it doesn't seem possible to satisfy everyone. So it might
be better to use external scripts for that indeed..

_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
 
Old 01-19-2008, 11:05 AM
fancris3
 
Default issues with cleaning a shared pacman cache with new -Sc behaviour

On Sat, 19 Jan 2008 07:43:29 -0000, Roman Kyrylych
<roman.kyrylych@gmail.com> 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.
>


http://bbs.archlinux.org/viewtopic.php?id=29555 ?

_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
 

Thread Tools




All times are GMT. The time now is 01:38 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org