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 0B1051382C5 for ; Thu, 31 Dec 2020 07:24:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A27EEE0898; Thu, 31 Dec 2020 07:24:44 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.17.12]) (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 D3F79E088D for ; Thu, 31 Dec 2020 07:24:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1609399469; bh=R2+wFqpDCygaPt1D5zzDcuACZnEXbSC0f7kXMSP4uhk=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=PLV4AC9m89cFWEDNd0iohv+aqXgI2q6Zw4djPZBNJ/SiF+nJH0fAhBx8Rl/VhBMhy Lypld+yoKhBhN/L8bU23cpfsajjeeznvN8SW8IbTmnDEBeRmSiWiFicgf8LcQwgg8C 4z9YnA5FXBnP/lEF1mG/peHxksMMPYU3WBgCEW6c= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.178.96] ([95.115.82.48]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MSrl3-1kSznM2SKj-00RsvH for ; Thu, 31 Dec 2020 08:24:29 +0100 Subject: Re: [gentoo-user] could there be a problem with acct-group/lp? To: gentoo-user@lists.gentoo.org References: From: n952162 Message-ID: <4f97efa4-f37f-cbde-4a66-e5e4685f1acf@web.de> Date: Thu, 31 Dec 2020 08:20:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 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 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Provags-ID: V03:K1:ss/Wm9C33yVfffLj0rMGo4D7ZPfCJXfnfAr7YkSFRUnaE3JO+OH 74oti47bPzDrDufsC97L84+bvqGnlOCb0iCYXsoNqd33Lw8u1sh8SlopWi4PK5A5BPi4IPc G1MsOn0+EqN5CdOLD0O+vSioR+lC2UjoM1J87va3ypQ49kN0etCrMy5EIvEy4FItJYwiKn0 jO2k6klojO9W3G9MoH1Mg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:M8/o4GnBoH8=:5Qu+WhrcUeiewjIAeB6UFU 0oVq09gZ9ypmikxGf/ey2Cp048L6Y8rf0tVBCT0OHAWyvFJ+wscNtVVfNjwmfg2sON/VtHGjn 9zhuibNVl6aYxP6gqi8zD0mNfhIvxbVie8kWQuvwzo6I5Ei28lqaS4KiFIsV8UKEs0AxW7NBH VKRpGd/f9rJNXi+1HLSKmnhI+lzsGxccc7MNMalbrtwxkqZ+1NU4E9b3c4az8FS2jQv/cSGEj 4LPLLXplkQegaxv1N6gEOUy2xuuWRyqSPWvbxzJJmTY/uGt5fUkdHHcNO75u50wWe8imD4UWE LnfIGiYYB5dihXYbnmVp5NF+EHDYD8gRcTEjKBqXtuo3aDo9sp2WYJQCcWS9oP3t5JSZTR0xT Vg+9OAMWQY6jBTgMmOhU5LYnbhM3n+c8U7uenVuXd7U7Gk0Mfn1xbIZoWtCAPCgvME/XTYW7R mVwi0BgGhV9KcCyZI6lZMYBLFtiNX58c/wlb/gcaeUjvQydZs2m3MMoLB1awCBSNgOdCGQXle 1vAe3bXGuepmdOz+fHnOi4dqAuntPnM0w9yN+ICFEJMHInKWzYLq9vUnxuH/5hvy21OvVO3fW I5x12nCPoQ5e/kgMQEBIN2g8D3GPR2usDNpl5Bu/PTFZ5oLxJ89o7iiKvPmJk+Z+3zOLFx821 gmeZHqD/78bJzODwij5eSBbIdlqezkpmzXt93YwwCTn5Iv0/Q6htKpMatF768ELUAdrMjqVvN ii/EYs3pP5l0wVp2p6PWEgpGg3kLNkMB3diL6zkNCFgrjn/o1EhRJHObq79ycshx+P6QfcqTG 2CHuunHIoVp0OfwyloYMc4FzoIZE+Zpceu4Hxk5tn75+ptQu3mEEzT9Xls0B9XuIDFmJsjDqY ouS2IXvZnBTzLIgnwZ6Q== X-Archives-Salt: f0429727-c088-49db-9b9c-f86420995865 X-Archives-Hash: 4655fedadc7877a6d0160c69340bc7a6 On 12/31/20 12:33 AM, 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 >> =C2=A0* Package:=C2=A0=C2=A0=C2=A0 acct-group/lp-0-r1 >> =C2=A0* Repository: gentoo >> =C2=A0* Maintainer: systemd@gentoo.org printing@gentoo.org >> =C2=A0* USE:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 abi_x86_64 amd64= elibc_glibc kernel_linux userland_GNU >> =C2=A0* FEATURES:=C2=A0=C2=A0 network-sandbox preserve-libs sandbox use= rpriv >> 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 >> >> =C2=A0* Final size of build directory:=C2=A0 4 KiB >> =C2=A0* Final size of installed tree:=C2=A0 20 KiB >> >> =C2=A0* checking 1 files for package collisions >> >>> Merging acct-group/lp-0-r1 to / >> error writing group entry: Invalid argument >> =C2=A0* Adding group 'lp' to your system ... >> error writing group entry: Invalid argument >> =C2=A0*=C2=A0 - Groupid: 7 >> groupadd: group 'lp' already exists > This seems to be the basic cause. Perhaps.=C2=A0 But there are two "invalid argument" error messages before = the "already exists" msg. > However, I have no idea what that emerge should do if the group it > wants to install does already exist.=C2=A0 I can re-emerge this package > with no problems. That's interesting!=C2=A0 Maybe re-emerge would behave differently from a de-install/emerge? In any case though, crashing if the group already exists would be a bug the developers should be interested in. > Is this a new install or reinstall?=C2=A0 All the logic is in the eclass > which does have the comment "Creates the group if it does not exist." I was looking for that ... I didn't find groupadd in /var/db/pkg/acct-group/lp-0.=C2=A0 Where should I look? > > What happens if you just run "emerge -1 acct-group/lp"? Same thing > Have you done a successful "emerge -auDvN @system" ? Yes > There may well be something else required still missing, but not an > explicit dependency because it is part of @system. > > One thing I just re-discovered is --keep-going, which works, thank goodness, so I'll should have a working system (sometime tomorrow!), albeit, without cups.