[pacman-dev] [PATCH] No error in makepkg when removing deps fails

Miklos Vajna vmiklos at frugalware.org
Fri Apr 4 06:35:38 EDT 2008


On Fri, Apr 04, 2008 at 02:55:33PM +1000, Allan McRae <mcrae_allan at hotmail.com> wrote:
> I just implemented this strategy and while it would work for packages 
> that did not bring in too many dependencies, trying to build a more 
> complex package in a clean chroot failed due to the large number of deps 
> installed (e.g. xine-lib brings in 88 packages). The resulting package 
> list is too long to be removed in one command  (sudo: unable to execute 
> /usr/bin/pacman: Argument list too long).

hmm, you do something wrong i think.

chroot $CHROOTDIR pacman-g2 -Rcn $removelist --noconfirm

is what i use and there is no such bug even for OOo, which has 239
dependencies (including deps' deps recursively) in Frugalware.

though yes, we use sudo with makepkg itself so there is no sudo pacman
here, directly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20080404/3b5cb3e2/attachment.pgp>


More information about the pacman-dev mailing list