1 |
On 12/30/20 11:17 PM, n952162 wrote: |
2 |
> When I try to restore my pkgs, after the --depclean, the emerge fails. |
3 |
> It seems like there's an error in the pre-inst script of acct-group/lp? |
4 |
> That's need by cups: |
5 |
> |
6 |
> |
7 |
> 1270~/adm/gentoo/emerged>sudo cat |
8 |
> /var/tmp/portage/acct-group/lp-0-r1/temp/build.log |
9 |
> * Package: acct-group/lp-0-r1 |
10 |
> * Repository: gentoo |
11 |
> * Maintainer: systemd@g.o printing@g.o |
12 |
> * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU |
13 |
> * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox |
14 |
> >>> Unpacking source... |
15 |
> >>> Source unpacked in /var/tmp/portage/acct-group/lp-0-r1/work |
16 |
> >>> Preparing source in /var/tmp/portage/acct-group/lp-0-r1/work ... |
17 |
> >>> Source prepared. |
18 |
> >>> Configuring source in /var/tmp/portage/acct-group/lp-0-r1/work ... |
19 |
> >>> Source configured. |
20 |
> >>> Compiling source in /var/tmp/portage/acct-group/lp-0-r1/work ... |
21 |
> >>> Source compiled. |
22 |
> >>> Test phase [not enabled]: acct-group/lp-0-r1 |
23 |
> |
24 |
> >>> Install acct-group/lp-0-r1 into |
25 |
> /var/tmp/portage/acct-group/lp-0-r1/image |
26 |
> >>> Completed installing acct-group/lp-0-r1 into |
27 |
> /var/tmp/portage/acct-group/lp-0-r1/image |
28 |
> |
29 |
> * Final size of build directory: 4 KiB |
30 |
> * Final size of installed tree: 20 KiB |
31 |
> |
32 |
> * checking 1 files for package collisions |
33 |
> >>> Merging acct-group/lp-0-r1 to / |
34 |
> error writing group entry: Invalid argument |
35 |
> * Adding group 'lp' to your system ... |
36 |
> error writing group entry: Invalid argument |
37 |
> * - Groupid: 7 |
38 |
> groupadd: group 'lp' already exists |
39 |
> * ERROR: acct-group/lp-0-r1::gentoo failed (preinst phase): |
40 |
> * (no error message) |
41 |
> * |
42 |
> * Call stack: |
43 |
> * ebuild.sh, line 125: Called pkg_preinst |
44 |
> * environment, line 1194: Called acct-group_pkg_preinst |
45 |
> * environment, line 360: Called enewgroup 'lp' '7' |
46 |
> * environment, line 735: Called die |
47 |
> * The specific snippet of code: |
48 |
> * groupadd -r ${opts} "${egroup}" || die |
49 |
> * |
50 |
> * If you need support, post the output of `emerge --info |
51 |
> '=acct-group/lp-0-r1::gentoo'`, |
52 |
> * the complete build log and the output of `emerge -pqv |
53 |
> '=acct-group/lp-0-r1::gentoo'`. |
54 |
> * The complete build log is located at |
55 |
> '/var/tmp/portage/acct-group/lp-0-r1/temp/build.log'. |
56 |
> * The ebuild environment file is located at |
57 |
> '/var/tmp/portage/acct-group/lp-0-r1/temp/environment'. |
58 |
> * Working directory: '/var/tmp/portage/acct-group/lp-0-r1/homedir' |
59 |
> * S: '/var/tmp/portage/acct-group/lp-0-r1/work' |
60 |
> !!! FAILED preinst: 1 |
61 |
> |
62 |
> |
63 |
> |
64 |
|
65 |
Confirmed: I found a mistake on my system: |
66 |
|
67 |
lp:x:7:lp:me |
68 |
|
69 |
The last colon should be a comma. |