[pacman-dev] [PATCH] repo-add; add option to remove existing package files from disk

William Giokas 1007380 at gmail.com
Wed May 29 21:32:00 EDT 2013


On Thu, May 30, 2013 at 11:28:18AM +1000, Phillip Smith wrote:
> On 30 May 2013 11:18, Phillip Smith <lists at fukawi2.nl> wrote:
> > paccache certainly doesn't appear to achieve the same goal. In the
> > example below, I would expect the pkgrel -1, -3, -4 of alsa-utils and
> > libassuan-2.0.3-1-x86_64.pkg.tar.xz to be removed.
> 
> Apologies, I was misusing it. I needed the -c option.
> 
> Still, this patch enables it to be done in one action when adding the
> new package(s), and paccache could be run on a schedule to cleanup any
> mishaps.

Honestly, this is when I would say to call paccache in your repo-add
function. As there is no separation between pacman and pacman-contrib
anymore, it doesn't need any extra deps. Then things could still be done
in one step while not duplicating code and introducing possible bugs.

Thanks,
-- 
William Giokas | KaiSforza
GnuPG Key: 0x73CD09CF
Fingerprint: F73F 50EF BBE2 9846 8306  E6B8 6902 06D8 73CD 09CF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20130529/bc5fbc01/attachment.asc>


More information about the pacman-dev mailing list