PKG_NG: pkg deinstall fails with "argument list too long"
Baptiste Daroussin
bapt at FreeBSD.org
Mon Aug 27 20:14:33 UTC 2012
On Mon, Aug 27, 2012 at 08:03:46PM +0200, Stefan Esser wrote:
> PKG_NG seems to have introduced a limit on the size of ports that can be
> deinstalled:
>
> # cd /usr/ports/math/lapack
> # make deinstall
> ===> Deinstalling for math/lapack
> ===> Deinstalling lapack-3.4.0_2
> The following packages will be deinstalled:
>
> lapack-3.4.0_2
>
> The deinstallation will free 28 MB
> Deinstalling lapack-3.4.0_2...lapack-3.4.0_2 is required by:
> qrupdate-1.1.1, deleting anyway
> pkg: Cannot run script(DEINSTALL): Argument list too long
> *** [deinstall] Error code 3
>
> This is on an up-to-date -CURRENT with freshly fetched ports and
> pkg-1.0.r6_1 and WITH_PKGNG=yes in /etc/make.conf.
>
> Regards, STefan
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
The bug is fixed in git and will be in final release.
To workaround you can run make FORCE_PKG_REGISTER=1 install
this will safely reinstall it, and pkg delete will work again.
regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120827/d8da7d32/attachment.pgp
More information about the freebsd-ports
mailing list