From owner-freebsd-questions@freebsd.org Tue Apr 28 16:16:39 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 513682BE89F for ; Tue, 28 Apr 2020 16:16:39 +0000 (UTC) (envelope-from per@hedeland.org) Received: from mailout.easydns.com (mailout.easydns.com [64.68.202.10]) (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 49BRbp26Hzz3xfh for ; Tue, 28 Apr 2020 16:16:37 +0000 (UTC) (envelope-from per@hedeland.org) Received: from localhost (localhost [127.0.0.1]) by mailout.easydns.com (Postfix) with ESMTP id 66D27C80AA; Tue, 28 Apr 2020 16:16:37 +0000 (UTC) Received: from mailout.easydns.com ([127.0.0.1]) by localhost (emo12-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ku6Hi3G6cgkz; Tue, 28 Apr 2020 16:16:37 +0000 (UTC) Received: from hedeland.org (81-228-157-209-no289.tbcn.telia.com [81.228.157.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easydns.com (Postfix) with ESMTPSA id DD630C665F; Tue, 28 Apr 2020 16:16:32 +0000 (UTC) Received: from pluto.hedeland.org (pluto.hedeland.org [10.1.1.5]) by tellus.hedeland.org (8.15.2/8.15.2) with ESMTPS id 03SGGTSM002581 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Tue, 28 Apr 2020 18:16:29 +0200 (CEST) (envelope-from per@hedeland.org) Subject: Re: Updating from 11.3-stable to 12.1-stable? To: Arthur Chance , Bob Willcox Cc: "Steve O'Hara-Smith" , freebsd-questions@freebsd.org References: <20200427200111.GA39823@rancor.immure.com> <9945f3b9-0452-721b-e931-816bc7a044ae@FreeBSD.org> <20200427234150.9bb022df.freebsd@edvax.de> <20200427230003.06a4a2579fc941eae8497388@sohara.org> <3d0844aa-f591-f13e-a471-fcf6b7c40a22@hedeland.org> <20200428151139.GC39823@rancor.immure.com> From: Per Hedeland Message-ID: Date: Tue, 28 Apr 2020 18:16:29 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49BRbp26Hzz3xfh X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of per@hedeland.org has no SPF policy when checking 64.68.202.10) smtp.mailfrom=per@hedeland.org X-Spamd-Result: default: False [3.21 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RECEIVED_SPAMHAUS_PBL(0.00)[209.157.228.81.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; IP_SCORE(0.24)[ip: (0.23), ipnet: 64.68.200.0/22(-0.23), asn: 16686(1.29), country: CA(-0.09)]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[hedeland.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.24)[0.237,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.93)[0.935,0]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[10.202.68.64.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:16686, ipnet:64.68.200.0/22, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2020 16:16:39 -0000 On 2020-04-28 17:17, Arthur Chance wrote: > On 28/04/2020 16:11, Bob Willcox wrote: >> On Tue, Apr 28, 2020 at 04:51:47PM +0200, Per Hedeland wrote: >>> On 2020-04-28 00:00, Steve O'Hara-Smith wrote: >>>> On Mon, 27 Apr 2020 23:41:50 +0200 >>>> Polytropon wrote: >>>> >>>>> from scratch, add your OS modifications, then install your >>>>> "top level ports" (the things you're intending to use), and >>>>> all required dependencies will be resolved automatically as >>>>> they are needed. >>>> >>>> Run pkg leaf on the existing system to get a first cut of the list >>>> of packages to install. >>> >>> Hm, that sounds like it could be quite useful for the way I typically >>> do upgrades, but >>> >>> $ pkg leaf >>> pkg: unknown command: leaf >>> >>> For more information on available commands and options see 'pkg help'. >>> $ >>> >>> - and I'm afraid I can't spot a likely candidate for a typo in pkg(8). >>> >>> Please help!:-) >> >> I can't find any mention of a leaf command in the man page for pkg or its help output, >> but it does work on my systems. >> > > It's an alias defined in /usr/local/etc/pkg.conf. "pkg alias" should > show the configured aliases. If you've edited pkg.conf at some point > later updates won't touch it. Thanks! For some reason I had pkg.conf.sample, but not pkg.conf (*may* be due to tinkering when the repo got b0rken recently) - now fixed. That just leaves(!) figuring out what the query arguments mean:-) (OK, I got it). --Per > The alias section of mine reads > > # Sample alias settings > ALIAS : { > all-depends: query %dn-%dv, > annotations: info -A, > build-depends: info -qd, > cinfo: info -Cx, > comment: query -i "%c", > csearch: search -Cx, > desc: query -i "%e", > download: fetch, > iinfo: info -ix, > isearch: search -ix, > prime-list: "query -e '%a = 0' '%n'", > prime-origins: "query -e '%a = 0' '%o'", > leaf: "query -e '%#r == 0' '%n-%v'", > list: info -ql, > noauto = "query -e '%a == 0' '%n-%v'", > options: query -i "%n - %Ok: %Ov", > origin: info -qo, > provided-depends: info -qb, > rall-depends: rquery %dn-%dv, > raw: info -R, > rcomment: rquery -i "%c", > rdesc: rquery -i "%e", > required-depends: info -qr, > roptions: rquery -i "%n - %Ok: %Ov", > shared-depends: info -qB, > show: info -f -k, > size: info -sq, > } > >