Re: Problems in pkg

2021-11-10 Thread Baptiste Daroussin
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
>  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/s00:01
> > > Fetching packagesite.pkg: 100%6 MiB   6.7MB/s00: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



Re: Problems in pkg

2021-11-10 Thread Cristian Cardoso
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
 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/s00:01
> > Fetching packagesite.pkg: 100%6 MiB   6.7MB/s00: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



Re: Problems in pkg

2021-11-09 Thread Graham Perrin

On 08/11/2021 18:48, Cristian Cardoso wrote:


pkg: Unable to drop privileges: No error: 0
pkg: No signature found
Cross-reference  for FreeBSD 
13.0⋯