Skip to content
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

Cannot install in Fedora 34 #18

Closed
jyxjjj opened this issue Oct 5, 2021 · 1 comment
Closed

Cannot install in Fedora 34 #18

jyxjjj opened this issue Oct 5, 2021 · 1 comment

Comments

@jyxjjj
Copy link

jyxjjj commented Oct 5, 2021

I saw the setup file and it seems to use EL8 like CentOS 8 when using Fedora any version.
Error infos:

  - nothing provides /usr/libexec/platform-python needed by cockpit-file-sharing-1.0.0-1.el8.noarch
  - nothing provides /usr/libexec/platform-python needed by cockpit-file-sharing-2.1.0-1.el8.noarch
  - nothing provides /usr/libexec/platform-python needed by cockpit-file-sharing-2.2.0-1.el8.noarch
  - nothing provides /usr/libexec/platform-python needed by cockpit-file-sharing-2.2.1-1.el8.noarch
  - nothing provides /usr/libexec/platform-python needed by cockpit-file-sharing-2.3.0-1.el8.noarch
  - nothing provides /usr/libexec/platform-python needed by cockpit-file-sharing-2.3.1-1.el8.noarch
  - nothing provides /usr/libexec/platform-python needed by cockpit-file-sharing-2.4.0-3.el8.noarch
  - nothing provides /usr/libexec/platform-python needed by cockpit-file-sharing-2.4.1-1.el8.noarch
  - nothing provides /usr/libexec/platform-python needed by cockpit-file-sharing-2.4.1-2.el8.noarch

dnf search nfs-kernel-server
nothing found.

dnf install python3
package python3-3.9.7-1.fc34.x86_64 has already installed.

rpm -qa|grep nfs
sssd-nfs-idmap-2.5.2-2.fc34.x86_64
libnfsidmap-2.5.4-2.rc3.fc34.x86_64
nfs-utils-2.5.4-2.rc3.fc34.x86_64
libnfs-4.0.0-4.fc34.x86_64
qemu-block-nfs-5.2.0-8.fc34.x86_64

@bkelly16
Copy link
Member

bkelly16 commented Oct 5, 2021

@jyxjjj Looks like the issue is caused because the package was built on an el8 system. Any package built on an el8 (at least rocky, cant speak for true RHEL8 currently) system with "python3" specified will also have "platform-python" quietly added as a dep too. Where fedora does not have a package "platform-python" the packaged rpm fails to install. With that said the module will still function in fedora as all its needs is a functions python3 install, and the workaround is to install from source.

git clone https://github.com/45Drives/cockpit-file-sharing.git
cd cockpit-file-sharing/
make install

A proper fix would be to build these modules on a fedora system, however that would require changes to auto build system and official fedora support is not highest priority at the moment.

@bkelly16 bkelly16 closed this as completed Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants