From nobody Fri Dec 3 10:56:07 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A9FC918B7633 for ; Fri, 3 Dec 2021 10:56:13 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J58rY3jspz4pYQ; Fri, 3 Dec 2021 10:56:13 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 47E3D7FF5; Fri, 3 Dec 2021 10:56:13 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id 57C5D47DAF; Fri, 3 Dec 2021 11:56:07 +0100 (CET) Date: Fri, 3 Dec 2021 11:56:07 +0100 From: Baptiste Daroussin To: Mel Pilgrim Cc: freebsd-ports@freebsd.org Subject: Re: pkg alias commands missing after upgrading to 1.17.5 Message-ID: <20211203105607.nggtpashet7f6d7f@aniel.nours.eu> References: <83dabf19-6e42-c3ab-e553-1525035c66fe@bluerosetech.com> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83dabf19-6e42-c3ab-e553-1525035c66fe@bluerosetech.com> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638528973; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mAsA6ccXKZj9gaWWli87wIjMLkwkPrllaZyp5K1fq44=; b=RTCVzMtGzvNXPZAfgwap4XSE33MZpZZYyH5Tx9FmiVM+3t6d2iTTtjpZ737ojPQmEctv6w 9VYP33GEfrxkFK5mLUyQOHujcJuJY192677SRK0bnH9RZNVbiV++ZTqsuRhBPdbP4skw5U DgzOZHBD0/wgTzxnotqYqh79tDyzOEfqRbSmTS5CN2PKcGiBQJQg+L+Wye2irBOY6w2TX/ 5T+BHXxs0eU5cC5RIiz+R++JqToQzVr4XVfjt/q1EyZwrgEYZQ6t7gItoAxEvUuVUsXoqL qSG06Kgx7mA4l8Z+hnOpRvDX2IDZRl1gfx3pr1VPJNdWKOWMSB5wC+XpNeufPw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638528973; a=rsa-sha256; cv=none; b=DS/HTp3NH/4OWY8Smh7sljkfii0T3Af/3Az3T/JXwBmngMtG3ehRZR8LWgA6FvjInCvneJ P5NVQDqn4/WqzQcGYmx3iiA4s2NMX9Dg4ghD8vyRQzQp0gmTnitoklkJx6wYRQ43zuZ6Tj XMNrXKa4kSftgpYHzwD8UtS/vF/M/15pwCQVTn9ukgvhEIQTNNFwXXwX9LmThowocoPs+F 2uE9AHO/d+2QoLHcAbJ1rtbL8gy4o5Kv91hwX4YoBs0EXnZTFZIFZ0A/LADpnO7uXJ9fjm SQXl67ul5d1AE+KatfVdBn4y/X/QMeQELKFEFUzVCfsVvpSPax88srBs2qlizQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On Fri, Dec 03, 2021 at 02:28:58AM -0800, Mel Pilgrim wrote: > After upgrading pkg from 1.17.4 to 1.17.5, all of the command line aliases > appear to have been removed? > > With pkg 1.17.4: > > # pkg alias > ALIAS ARGUMENTS > 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' > unmaintained 'query -e '%m = "ports@FreeBSD.org"' '%o (%w)'' > runmaintained 'rquery -e '%m = "ports@FreeBSD.org"' '%o (%w)'' > > With pkg-1.17.5: > > # pkg alias > ALIAS ARGUMENTS > # pkg leaf > pkg: unknown command: leaf > > For more information on available commands and options see 'pkg help'. > I don't know what happened in your case, but I cannot reproduce. Baptiste