pkg & portmaster
Bryan Drewery
bdrewery at FreeBSD.org
Wed Jun 26 11:43:57 UTC 2013
On 6/25/2013 8:48 PM, Adrian Murphy wrote:
> Hi,
>
> I noticed portmaster developed a problem after a recent update to
> ports-mgmt/pkg where the following appears in the output:
>
> [: false: bad number
>
> I traced it to lines in portmaster where np_orphan is set:
>
> np_orphan=`pkg query "%a" $upg_port`
>
> It appears 'pkg query "%a"' used to return 0 or 1 and now it returns
> 'true' or 'false'.
>
> 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"
>
>
> I further ran into trouble with ports-mgmt/pkg-devel today where
> portmaster calls:
> pkg info pkg
>
> This fails with ports-mgmt/pkg-devel unless the line is changed to:
> pkg info pkg-devel
>
> This stopped portmaster from working.
>
> I reverted to using ports-mgmt/pkg to get around this.
>
> Regards, Adrian
This is an unintended regression in pkg-1.1. We are fixing it there.
Thanks for your report.
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130626/8be96ad2/attachment.sig>
More information about the freebsd-ports
mailing list