Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 2021 14:25:54 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Mel Pilgrim <list_freebsd@bluerosetech.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pkg alias commands missing after upgrading to 1.17.5
Message-ID:  <20211203132554.k4xkhd6oznue4deo@aniel.nours.eu>
In-Reply-To: <4f73869a-de80-8989-273f-08475dbe18cb@bluerosetech.com>
References:  <83dabf19-6e42-c3ab-e553-1525035c66fe@bluerosetech.com> <20211203105607.nggtpashet7f6d7f@aniel.nours.eu> <4f73869a-de80-8989-273f-08475dbe18cb@bluerosetech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 03, 2021 at 05:11:06AM -0800, Mel Pilgrim wrote:
> On 2021-12-03 2:56, Baptiste Daroussin wrote:
> > On Fri, Dec 03, 2021 at 02:28:58AM -0800, Mel Pilgrim wrote:
> > > 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.
> 
> Do you have any diagnostic steps I can do to figure out what happened?
> 
> I fetched a fresh copy of pkg-1.17.5~d6f9535722.pkg from the public repo and
> installed it using pkg-static, but that didn't fix the problem.
> 
> I can at least confirm this only happens on one particular system.  I have
> 15 systems all using the same private pkg repo, and only one has this
> problem.

it means on the system with this issue, someone touched /usr/local/etc/pkg.conf

The aliases are set there, the original file is stored at the following place:
/usr/local/etc/pkg.conf.sample

Best regards,
Bapt



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