-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation order issue #12822
Comments
Yeah it's like I said. I did a
and
again -> Same error as before. Then I did the following
with separated calls and it worked. Unbelievable. AM I THE FIRST PERSON INSTALLING ZFS OR WHAT! |
PS: I am wondering why kernel-devel is not a dependency of the ZFS package. You can install ZFS without kernel-devel what will fail for sure. |
kernel-devel is required by zfs-dkms:
To be safe, install kernel-devel first (as you already mentioned). |
Unfortunately @Moerten85 did not publish the lines preceeding the error message but looking at https://github.com/openzfs/zfs/blob/master/rpm/generic/zfs-dkms.spec.in it seems to me that the specfile is missing the Requires(post) dependency declarations for all the tools that are needed in %post and probably also dependencies for %preun delcared with Requires(preun) (probably here only gawk and dkms). |
@behlendorf as I mentioned in my previous comment, this does not look like a documentation issue but incorrect dependency declarations in the spec file dnf/yum is capable of ensuring that packages are installed in the correct order when it gets the correct information. |
To ensure that the necessary packages are available during the %post and %preun scriptlets, require them properly. Fixes openzfs#12822 Signed-off-by: Till Maas <[email protected]>
@behlendorf please see #12832 |
To ensure that the necessary packages are available during the %post and %preun scriptlets, require them properly. Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Till Maas <[email protected]> Closes #12822 Closes #12832
To ensure that the necessary packages are available during the %post and %preun scriptlets, require them properly. Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Till Maas <[email protected]> Closes openzfs#12822 Closes openzfs#12832
Closes #238 Also see openzfs/zfs#12822 Signed-off-by: Maurice Zhou <[email protected]>
To ensure that the necessary packages are available during the %post and %preun scriptlets, require them properly. Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Till Maas <[email protected]> Closes openzfs#12822 Closes openzfs#12832
To ensure that the necessary packages are available during the %post and %preun scriptlets, require them properly. Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Till Maas <[email protected]> Closes openzfs#12822 Closes openzfs#12832
I broke three fresh Fedora 34/35 installations after having installed ZFS as mentioned in your documentation here:
https://openzfs.github.io/openzfs-docs/Getting%20Started/Fedora/index.html
The command...
...causes to the following error:
But as you can see this will fail because the kernel-devel becomes installed after ZFS. Thus the ZFS installation fails. And WHY THE HELL is this important information that the installation failed NOT MARKED RED so everyone can see this within this 100drets of terminal lines. I installed Fedora now for the third time not having seen this message before and wondering about the following error when executing modprobe:
I wasted a hole day on getting ZFS working again now and moved back to Fedora 34 finally because it is not working with Fedora 35 anymore. So PLEASE update the documentation or even better the install routine if possible. I am getting to old for this linux frickelzeug.
The text was updated successfully, but these errors were encountered: