Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2012 22:14:28 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Stefan Esser <se@FreeBSD.org>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: PKG_NG: pkg deinstall fails with "argument list too long"
Message-ID:  <20120827201428.GB64447@ithaqua.etoilebsd.net>
In-Reply-To: <503BB682.5070108@freebsd.org>
References:  <503BB682.5070108@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--ZfOjI3PrQbgiZnxM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
>=20
> # cd /usr/ports/math/lapack
> #  make deinstall
> =3D=3D=3D>  Deinstalling for math/lapack
> =3D=3D=3D>   Deinstalling lapack-3.4.0_2
> The following packages will be deinstalled:
>=20
>         lapack-3.4.0_2
>=20
> 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
>=20
> This is on an up-to-date -CURRENT with freshly fetched ports and
> pkg-1.0.r6_1 and WITH_PKGNG=3Dyes in /etc/make.conf.
>=20
> Regards, STefan
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

The bug is fixed in git and will be in final release.

To workaround you can run make FORCE_PKG_REGISTER=3D1 install

this will safely reinstall it, and pkg delete will work again.

regards,
Bapt

--ZfOjI3PrQbgiZnxM
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlA71SQACgkQ8kTtMUmk6EyfVQCfQjig47tzwMjwb2TaovtK0h+d
DJ0An3ZbwWp/Z1yZxNdTP331EvlOl10M
=qu07
-----END PGP SIGNATURE-----

--ZfOjI3PrQbgiZnxM--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120827201428.GB64447>