From owner-freebsd-pkg@FreeBSD.ORG Sun Sep 21 20:35:46 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 92D97515 for ; Sun, 21 Sep 2014 20:35:46 +0000 (UTC) Received: from nm42-vm3.bullet.mail.bf1.yahoo.com (nm42-vm3.bullet.mail.bf1.yahoo.com [216.109.114.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4880061D for ; Sun, 21 Sep 2014 20:35:45 +0000 (UTC) Received: from [98.139.214.32] by nm42.bullet.mail.bf1.yahoo.com with NNFMP; 21 Sep 2014 20:35:38 -0000 Received: from [98.139.212.200] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 21 Sep 2014 20:35:38 -0000 Received: from [127.0.0.1] by omp1009.mail.bf1.yahoo.com with NNFMP; 21 Sep 2014 20:35:38 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 226941.18703.bm@omp1009.mail.bf1.yahoo.com Received: (qmail 56295 invoked by uid 60001); 21 Sep 2014 20:35:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1411331738; bh=eVP9KYRbwwYq9V8O4FOTOWyCzBLOJ+XzDq3g6vd/HDI=; h=Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=XuUigPe1ud8mVgR4aXgVn2zEwlj03erDlJoskiue8YY6MOA7xv4KeF27+yRbk2AdYZbmqzTc7h0dk7Fa/W5zFwvHRF1Ps2JXWUfqsX9Rfuzpzht9XQPRkizp9njrwtzPrdGt/PN0hj5UT3JsI8xaSaAPhic1ZDQp/EC+/lCuLKU= X-YMail-OSG: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- X-Mailer: YahooMailClassic/735 YahooMailWebService/0.8.203.696 Message-ID: <1411331738.18898.YahooMailBasic@web140903.mail.bf1.yahoo.com> Date: Sun, 21 Sep 2014 13:35:38 -0700 From: Jeffrey Bouquet Subject: Re: [worrkaround ] Pkg feature req. already exists some other way? To: pkg@freebsd.org In-Reply-To: <1411258222.80076.YahooMailBasic@web140901.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2014 20:35:46 -0000 >>> See workaround below, after=20 >>> the latter four of these six quoted marks...=20 -------------------------------------------- On Sat, 9/20/14, Jeffrey Bouquet via freebsd-pkg wrote: Subject: Pkg feature req. already exits some other way? To: pkg@freebsd.org Date: Saturday, September 20, 2014, 5:10 PM =20 I am accustomed to portmaster batching a large number of ports at the end of a pipe.=A0=A0=A0 =20 ...=A0 ... egrep -v ' someIGNport|someBKNport|someBIGport'=A0 =A0 | xargs -J % pkg install %=20 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=20 =20 Instead of a queue formed,=20 =20 This will update=20 =A0=A0=A0port =A0=A0=A0port =A0=A0=A0port And the ports=20 =A0=A0=A0not-found =A0=A0not-found =A0 will be left for next time. Proceed?=20 =20 One of the latter(not found), inexplicably halts the pkg=20 command.=A0=A0=A0This takes a magnitude of time away from other tasks I usually schedule in the meanwhile.=A0=20 =20 >>>Or someone is maybe coding it into portmaster soon... or >>>>portupgrade, or has tested >>>>portupgrade in a manner that does work in that context.=20 So... .... egrep -v 'someIGNport|someBKNport' | sort | uniq | xargs -J % pkg rqu= ery %do % | lookat (or less or)=20 =20 Then... pkg install port port port port port port port=20 proceeds with way speedier than what I knew yesterday at this time. I suspect though that it is not upgrading with packages the majority of por= ts which need upgrading, but it woudl be nicer to have a message about each term sent to pkg, whether it fo= und a remote package, or recieved the port name and did not find a remote package. Then one could p= ipe those results into a=20 delay file or a portmaster/portupgrade file or an ignore-for-later file ...= etc And that is only the first usage of that pipe, it maybe could be improved,= =20 ...as well as the pkg-rquery=20 man page maybe, with examples, which I used from "man pkg-query" as a templ= ate.=20