From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6CA111382C5 for ; Thu, 31 Dec 2020 00:30:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4082E086E; Thu, 31 Dec 2020 00:30:10 +0000 (UTC) Received: from mail-gw.thundermail.uk (mail-gw.thundermail.uk [149.255.60.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7A71FE084A for ; Thu, 31 Dec 2020 00:30:09 +0000 (UTC) Received: from mailgw01.thundermail.uk (mail-gw.thundermail.uk [149.255.60.66]) by mail-gw.thundermail.uk (Postfix) with ESMTPS id 318AA600A911 for ; Thu, 31 Dec 2020 00:30:07 +0000 (GMT) X-ASG-Debug-ID: 1609374607-0554130f6336d26b0001-LfjuLa Received: from cloud307.thundercloud.uk (cloud307.thundercloud.uk [149.255.58.40]) by mailgw01.thundermail.uk with ESMTP id U6DthDvIQT6MkE90 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 31 Dec 2020 00:30:07 +0000 (GMT) X-Barracuda-Envelope-From: confabulate@kintzios.com X-Barracuda-Effective-Source-IP: cloud307.thundercloud.uk[149.255.58.40] X-Barracuda-Apparent-Source-IP: 149.255.58.40 Received: from lenovo.localdomain (230.3.169.217.in-addr.arpa [217.169.3.230]) by cloud307.thundercloud.uk (Postfix) with ESMTPSA id 747DEC74DED for ; Thu, 31 Dec 2020 00:30:06 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kintzios.com; s=default; t=1609374607; bh=xtXv0IQtYID6yKK6cC1DfvfnfFIPIvM163WZlTcUxFk=; h=From:To:Subject; b=OmgV86wf1+jS0ebbFRYqm0NWGwxDDxwYzn3VTSTprO+9BlNTMq7QW7uWlVXSWQYiS qA0UqX3OcaL4S3R49jx2XlHUwC5cOviCXd/PLA4Uw7a/1OdP7/7rsOggl9dwp5h/b0 LjGjiBAFoHcn9y0wPOAtk8p+8h4W6rd4mHdpmJiU= Authentication-Results: cloud307.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=lenovo.localdomain Received-SPF: pass (cloud307.thundercloud.uk: connection is authenticated) From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] could there be a problem with acct-group/lp? Date: Thu, 31 Dec 2020 00:29:56 +0000 X-ASG-Orig-Subj: Re: [gentoo-user] could there be a problem with acct-group/lp? Message-ID: <5681236.lOV4Wx5bFT@lenovo.localdomain> In-Reply-To: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4625813.31r3eYUQgx"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <20201231003007.1732450.5472@cloud307.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Barracuda-Connect: cloud307.thundercloud.uk[149.255.58.40] X-Barracuda-Start-Time: 1609374607 X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256 X-Barracuda-URL: https://149.255.60.66:443/cgi-mod/mark.cgi X-ASG-Orig-Subj: Re: [gentoo-user] could there be a problem with acct-group/lp? X-Virus-Scanned: by bsmtpd at thundermail.uk X-Barracuda-Scan-Msg-Size: 3102 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.9 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.86890 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Archives-Salt: 96f37b5b-f8c8-438b-bcfb-18239a18fc27 X-Archives-Hash: 66118ec27948df87131742b1605b67e3 --nextPart4625813.31r3eYUQgx Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Subject: Re: [gentoo-user] could there be a problem with acct-group/lp? Date: Thu, 31 Dec 2020 00:29:56 +0000 Message-ID: <5681236.lOV4Wx5bFT@lenovo.localdomain> In-Reply-To: References: On Wednesday, 30 December 2020 23:33:47 GMT Jack wrote: > On 2020.12.30 17:17, n952162 wrote: > > When I try to restore my pkgs, after the --depclean, the emerge > > fails. > > It seems like there's an error in the pre-inst script of > > acct-group/lp? > > That's need by cups: > > > > 1270~/adm/gentoo/emerged>sudo cat > > /var/tmp/portage/acct-group/lp-0-r1/temp/build.log > > * Package: acct-group/lp-0-r1 > > * Repository: gentoo > > * Maintainer: systemd@gentoo.org printing@gentoo.org > > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > > * FEATURES: network-sandbox preserve-libs sandbox userpriv > > usersandbox > > > > >>> Unpacking source... > > >>> Source unpacked in /var/tmp/portage/acct-group/lp-0-r1/work > > >>> Preparing source in /var/tmp/portage/acct-group/lp-0-r1/work ... > > >>> Source prepared. > > >>> Configuring source in /var/tmp/portage/acct-group/lp-0-r1/work ... > > >>> Source configured. > > >>> Compiling source in /var/tmp/portage/acct-group/lp-0-r1/work ... > > >>> Source compiled. > > >>> Test phase [not enabled]: acct-group/lp-0-r1 > > >>> > > >>> Install acct-group/lp-0-r1 into > > > > /var/tmp/portage/acct-group/lp-0-r1/image > > > > >>> Completed installing acct-group/lp-0-r1 into > > > > /var/tmp/portage/acct-group/lp-0-r1/image > > > > * Final size of build directory: 4 KiB > > * Final size of installed tree: 20 KiB > > > > * checking 1 files for package collisions > > > > >>> Merging acct-group/lp-0-r1 to / > > > > error writing group entry: Invalid argument > > * Adding group 'lp' to your system ... > > error writing group entry: Invalid argument > > * - Groupid: 7 > > groupadd: group 'lp' already exists > > This seems to be the basic cause. However, I have no idea what that > emerge should do if the group it wants to install does already exist. > I can re-emerge this package with no problems. Is this a new install > or reinstall? All the logic is in the eclass which does have the > comment "Creates the group if it does not exist." > > What happens if you just run "emerge -1 acct-group/lp"? Have you done > a successful "emerge -auDvN @system" ? There may well be something > else required still missing, but not an explicit dependency because it > is part of @system. Some other things to try after @system if the problem persists: Check the ownership and access rights of /etc/group: $ stat /etc/group File: /etc/group Size: 855 Blocks: 8 IO Block: 4096 regular file Device: 80ah/2058d Inode: 1055521 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2020-10-25 16:25:42.814894971 +0000 Modify: 2020-10-25 16:25:42.815894988 +0000 Change: 2020-10-25 16:25:42.892896366 +0000 Birth: 2020-10-25 16:25:42.814894971 +0000 Check the particular group ID: $ grep :7: /etc/group lp:x:7:lp Emerge cups which installs lp: emerge -1aDv net-print/cups Then try again as suggested: emerge -1aDv acct-group/lp --nextPart4625813.31r3eYUQgx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAl/tG4QACgkQseqq9sKV Zxk3LQ/+IioF7ticS1UXRNyhkhg8zoKbLAe+/+E22b9t90sQssbm/01HErOLdz6Q 9KSWxI58ImJHi0DP02lk8QFpYE3kMCZYpkspRWRPjCGdDV2u8OrgkfCCC5MrwB3F ZA4Zp+BuEVep7fcUVkbLSwoepDahA8K5R/m4uRNVCAQFTlGbElyU/03h6VtK4ZZa 3Y2upHidEAbCqzli8uwAc1mGZMMQyTYlT+fLruMLlco3Et4YXKIME7pKCj+qZk3Z sI5uGWw9rgXvzmtusrVVhzBdvLryeDNAcSEOfVFclBpe6palamsj+sNVTI5cJqdo aQoF8I4z5W8id7U+l+3rhRwahfQkZB4N0+a3ewlmbQyYg8SASvrQBQnQ9bdUl/nL KouBRGOmhfmlO9oGjCiD8bd/FIpT5XWw2qPS1Gy5jBkxtO+Hqrq7v4PPaL/Gr6pa xrRkZVX7W+xRW/YqwVWir6ygw4qFeig2/Ij7ocl5F6BRSsI6IyILSj04D7H3+kpi wRqs3XwM1+0q9yjDV5PaCPcQI0Z/HG+6XTucHTzWMYl0iyY8T1FwvnbSllkwmoYR 0dmseUZOSxHGnQR4JjzAL1S/a73ykhmqi9VwEwqF+N3iCCSFbqzB1jZpLhctOkbj zySp/z1O+p+77Vyfepgu3fSZIQmoQnXozFP7WxukfkrltydccXE= =0AUg -----END PGP SIGNATURE----- --nextPart4625813.31r3eYUQgx--