Re: Problems in pkg

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 10 Nov 2021 17:03:06 UTC
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