Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2013 06:43:42 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Adrian Murphy <amurphy@gsoft.com.au>
Cc:        ports@freebsd.org
Subject:   Re: pkg & portmaster
Message-ID:  <51CAD3EE.6090708@FreeBSD.org>
In-Reply-To: <51CA485C.1040505@gsoft.com.au>
References:  <51CA485C.1040505@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2IRLPTFPOORUWMNSLXSGH
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 6/25/2013 8:48 PM, Adrian Murphy wrote:
> Hi,
>=20
> I noticed portmaster developed a problem after a recent update to
> ports-mgmt/pkg where the following appears in the output:
>=20
> [: false: bad number
>=20
> I traced it to lines in portmaster where np_orphan is set:
>=20
> np_orphan=3D`pkg query "%a" $upg_port`
>=20
> It appears 'pkg query "%a"' used to return 0 or 1 and now it returns
> 'true' or 'false'.
>=20
> The 'pkg help query' text says "%a  Returns 1 if the matched package is=

> an orphan package and can be pkg-autoremove(1)'d, 0 otherwise"
>=20
>=20
> I further ran into trouble with ports-mgmt/pkg-devel today where
> portmaster calls:
>    pkg info pkg
>=20
> This fails with ports-mgmt/pkg-devel unless the line is changed to:
>    pkg info pkg-devel
>=20
> This stopped portmaster from working.
>=20
> I reverted to using ports-mgmt/pkg to get around this.
>=20
> Regards, Adrian

This is an unintended regression in pkg-1.1. We are fixing it there.
Thanks for your report.

--=20
Regards,
Bryan Drewery


------enig2IRLPTFPOORUWMNSLXSGH
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJRytPzAAoJEG54KsA8mwz5clkP/RI9uqg5X0N+5oDtIbuOhnD9
6HbIH3UoCFE0AzjPO/3R2LedsTYlHMWhd3utrDpdr4xN5JeQlKMfJ+2Sv/YAylYd
IoyG6w32u+1r4leL73ejVvdbg/mbuDz+i0UX2d36NHEIPlzWn9hUZ8H8gpaA+ElE
VVWoqbs7TbXcj7GJecSJnoyYzPLEss7lpgeSnHrdS8tZAenDgLAjgihQw1THjY76
xl2qal9NlFS+tyz519QoC59UdliNZhkY0Zi3rfdpuYuU5mPpnX63Vi2Sy6+Vlxem
XVXnZhjZlLUswooFSvllBNruEuMCsyDNYKJTNdwzWsvhSv2y6LH5KeV01V85xv5Q
dH7TDwc2HkYplW4ngMd+JoN3N8yaSvDbrvw073nP8G4mHYJb9qic82jMNsTp1tLa
I5+orerPOc7YHyayRcG/bXkmcy04lum5cvzdy5/oag8BT9eE0vvezPZ4AdNyXpzm
gSYCMVaoQbqSKCuBFe08okORCaVpfNyxRqFJ6kQfqta185RGlTQhyYtUJwBuN81k
qjYdmjACM4AHO/AI8ImZ2mgQixdu/7IZ6LnS9GuhnzZ66I2EjgkdMG2gS15KTz+2
medxlq4dV2juK3ynyVHLjUV9O7HtjltWFQ8Zk++99nqHC7FPf22uAWxoEXzWybWW
bQpDQK6xknhBalFg7hsA
=ynX/
-----END PGP SIGNATURE-----

------enig2IRLPTFPOORUWMNSLXSGH--



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