[pacman-dev] [PATCH] No error in makepkg when removing deps fails
mcrae_allan at hotmail.com
Fri Apr 4 08:19:52 EDT 2008
Miklos Vajna wrote:
> 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.
I echo'ed the package list while I was testing and it looked fine.
Maybe it is a sudo issue but it _should_ handle many more arguments than
More information about the pacman-dev