1 |
On Wed, Oct 7, 2020 at 9:28 AM John Covici <covici@××××××××××.com> wrote: |
2 |
> |
3 |
> Hi. I am having problems installing zfs-kmod on my new kernel |
4 |
> 5.4.69. Originally I got this: |
5 |
> |
6 |
> !!! Multiple package instances within a single package slot have been |
7 |
> pulled |
8 |
> !!! into the dependency graph, resulting in a slot conflict: |
9 |
> |
10 |
> sys-fs/zfs-kmod:0 |
11 |
> |
12 |
> (sys-fs/zfs-kmod-2.0.0_rc3:0/0::gentoo, ebuild scheduled for merge) |
13 |
> USE="rootfs -custom-cflags -debug" ABI_X86="(64)" pulled in by |
14 |
> (no parents that aren't satisfied by other packages in this |
15 |
> slot) |
16 |
> |
17 |
> (sys-fs/zfs-kmod-2.0.0_rc1:0/0::gentoo, installed) USE="rootfs |
18 |
> -custom-cflags -debug" ABI_X86="(64)" pulled in by |
19 |
> ~sys-fs/zfs-kmod-2.0.0_rc1 required by |
20 |
> (sys-fs/zfs-2.0.0_rc1-r1:0/0::gentoo, installed) USE="nls pam rootfs |
21 |
> (split-usr) -custom-cflags -debug (-kernel-builtin) -libressl |
22 |
> -minimal -python (-static-libs) -test-suite" ABI_X86="(64)" |
23 |
> PYTHON_TARGETS="python3_7 -python3_6 -python3_8" |
24 |
> ^ ^^^^^^^^^ |
25 |
> |
26 |
|
27 |
This is because you're attempting to upgrade zfs-kmod and not zfs. |
28 |
You didn't paste your command line but chances are you didn't have |
29 |
both packages on it. |
30 |
|
31 |
> Then I masked off the -rc3 version thinking that would help and I got |
32 |
> this: |
33 |
> |
34 |
> |
35 |
> |
36 |
> !!! Multiple package instances within a single package slot have been |
37 |
> pulled |
38 |
> !!! into the dependency graph, resulting in a slot conflict: |
39 |
> |
40 |
> sys-fs/zfs-kmod:0 |
41 |
> |
42 |
> (sys-fs/zfs-kmod-0.8.5:0/0::gentoo, ebuild scheduled for merge) |
43 |
> USE="rootfs -custom-cflags -debug" ABI_X86="(64)" pulled in by |
44 |
> (no parents that aren't satisfied by other packages in this |
45 |
> slot) |
46 |
> |
47 |
> (sys-fs/zfs-kmod-2.0.0_rc1:0/0::gentoo, installed) USE="rootfs |
48 |
> -custom-cflags -debug" ABI_X86="(64)" pulled in by |
49 |
> ~sys-fs/zfs-kmod-2.0.0_rc1 required by |
50 |
> (sys-fs/zfs-2.0.0_rc1-r1:0/0::gentoo, installed) USE="nls pam rootfs |
51 |
> (split-usr) -custom-cflags -debug (-kernel-builtin) -libressl |
52 |
> -minimal -python (-static-libs) -test-suite" ABI_X86="(64)" |
53 |
> PYTHON_TARGETS="python3_7 -python3_6 -python3_8" |
54 |
> ^ ^^^^^^^^^ |
55 |
> |
56 |
|
57 |
That is because masking rc3 forces it to downgrade to an older version |
58 |
of zfs (which may or may not be compatible with what you have on-disk |
59 |
so you might be in for a surprise when you reboot). But, since you're |
60 |
only updating one package but not the other you still get the same |
61 |
error. |
62 |
|
63 |
What version of zfs do you WANT to use? Are you already running on |
64 |
the v2 release candidate? (Probably not what most people should be |
65 |
doing...) If so you need to figure out if your pools are even |
66 |
compatible with v0.8.5 (I'm not sure offhand if new features were |
67 |
added, and if they were it would probably depend on whether you |
68 |
upgraded your pools). |
69 |
|
70 |
If you are on the v2rc and want to stick with it, then undo whatever |
71 |
masking you did and just update both packages together: |
72 |
emerge -1au zfs-kmod zfs |
73 |
|
74 |
Really though that should already happen if you did an emerge -u |
75 |
@world assuming both are in your world. |
76 |
|
77 |
If you want to run v0.8.5 then I would mask both zfs-kmod and zfs |
78 |
>=0.9 and then run the same command. |
79 |
|
80 |
If you're on 0.8.4 though you might seriously consider just accepting |
81 |
only stable keywords on zfs though - it is a filesystem and maybe not |
82 |
something you want to be cutting edge. |
83 |
|
84 |
And you definitely don't want to go uninstalling zfs-kmod as now the |
85 |
module will be gone and once again you'll get a surprise when you |
86 |
reboot. |
87 |
|
88 |
In the future though I'd probably avoid installing release candidates |
89 |
if you are running one. That is, unless it is your goal to beta-test |
90 |
filesystems. |
91 |
|
92 |
-- |
93 |
Rich |