Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2021 18:03:06 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Cristian Cardoso <cristian.cardoso11@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Problems in pkg
Message-ID:  <20211110170306.eapddsxa2lzsvrow@aniel.nours.eu>
In-Reply-To: <CAKeEC-K5GgrNf=nYOBXLukppyn%2BLC92o1jKoPeLMQRBNLU=Jow@mail.gmail.com>
References:  <CAKeEC-%2Bf-C8E-fM50TmfnPU3bPWmDuooyhHUvYxhPpSAKd6YYQ@mail.gmail.com> <20211110093607.i5d52f4sbmdqvezs@aniel.nours.eu> <CAKeEC-K5GgrNf=nYOBXLukppyn%2BLC92o1jKoPeLMQRBNLU=Jow@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 10, 2021 at 02:01:09PM -0300, Cristian Cardoso wrote:
> The problem was actually user nobody, which was deleted from the system.
> I recreated and solved the problem.
> 
> Em qua., 10 de nov. de 2021 ās 06:36, Baptiste Daroussin
> <bapt@nours.eu> escreveu:
> >
> > On Mon, Nov 08, 2021 at 03:48:51PM -0300, Cristian Cardoso wrote:
> > > I'm trying to use pkg to install/update packages, but I'm getting the
> > > following error:
> > >
> > > # pkg update
> > > Updating FreeBSD repository catalogue...
> > > Fetching meta.conf: 100%    163 B   0.2kB/s    00:01
> > > Fetching packagesite.pkg: 100%    6 MiB   6.7MB/s    00:01
> > > pkg: Unable to drop privileges: No error: 0
> > > pkg: No signature found
> >
> > This indiquate that probably the nobody user does not exist in your system.
> >
> > btw I would make a better error message
> >
> > Best regards,
> > Bapt

FYI I updated the error message for Unable to drop privileges to make it more
useful: 

https://github.com/freebsd/pkg/commit/ac82ad8481dcbedc83b80899b8486b29bbccee51

Best regards,
Bapt



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