From nobody Wed Nov 10 17:03:06 2021 X-Original-To: freebsd-current@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 3842B1858DB6 for ; Wed, 10 Nov 2021 17:03:09 +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 4HqB4Y0xQFz3pXd; Wed, 10 Nov 2021 17:03:09 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from aniel.nours.eu (nours.eu [IPv6:2001:41d0:8:3a4d::1]) (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 D87F7336A7; Wed, 10 Nov 2021 17:03:08 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id F07A882C5B; Wed, 10 Nov 2021 18:03:06 +0100 (CET) Date: Wed, 10 Nov 2021 18:03:06 +0100 From: Baptiste Daroussin To: Cristian Cardoso Cc: freebsd-current@freebsd.org Subject: Re: Problems in pkg Message-ID: <20211110170306.eapddsxa2lzsvrow@aniel.nours.eu> References: <20211110093607.i5d52f4sbmdqvezs@aniel.nours.eu> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-ThisMailContainsUnwantedMimeParts: N 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/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