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

Add support for Rocky linux distribution #253

Closed
wants to merge 2 commits into from
Closed

Add support for Rocky linux distribution #253

wants to merge 2 commits into from

Conversation

mlemiam
Copy link

@mlemiam mlemiam commented Jul 16, 2021

No description provided.

@angristan
Copy link
Owner

Doesn't work for me:

[root@scw-elastic-brahmagupta ~]# dnf install -y wireguard-dkms
Copr repo for wireguard owned by jdoss                                                                     13 kB/s | 3.3 kB     00:00
Error:
 Problem: conflicting requests
  - nothing provides dkms needed by wireguard-dkms-1:1.0.20210606-2.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

@mlemiam
Copy link
Author

mlemiam commented Jul 17, 2021

Doesn't work for me:

[root@scw-elastic-brahmagupta ~]# dnf install -y wireguard-dkms
Copr repo for wireguard owned by jdoss                                                                     13 kB/s | 3.3 kB     00:00
Error:
 Problem: conflicting requests
  - nothing provides dkms needed by wireguard-dkms-1:1.0.20210606-2.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

you need dkms to install wireguard if you have a lxc vps this is not possible you need a kvm vps

@angristan
Copy link
Owner

This was a KVM VM :)

@angristan angristan added the help wanted Extra attention is needed label Sep 1, 2021
@mattvx
Copy link

mattvx commented Nov 12, 2021

I've managed to run installation script on a rocky linux AWS EC2 istance with no problem at all.
it works like a charm.

Rocky is bug to bug compatible with CentOS 8 so the script does the OS check without issues, as in rocky's /etc/ dir you have the "centos-release" file.

the only error that did absolutely not affect installation or performance was an error raised by line 147 on the installation script.
Rocky version i tested was 8.4, and the error states:

"[[: 8.4: syntax error: invalid arithmetic operator (error token is ".4""

@angristan
Copy link
Owner

That would be this line:

elif [[ ${OS} == 'rocky' ]]; then

@angristan
Copy link
Owner

This PR still doesn't work for me:

+ dnf install -y wireguard-dkms
Copr repo for wireguard owned by jdoss                                                            12 kB/s | 3.3 kB     00:00
Error:
 Problem: conflicting requests
  - nothing provides dkms needed by wireguard-dkms-1:1.0.20210606-2.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@scw-confident-shtern ~]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="8.4 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel fedora"
VERSION_ID="8.4"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.4 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8.4:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"

@mattvx
Copy link

mattvx commented Nov 12, 2021

This PR still doesn't work for me:

+ dnf install -y wireguard-dkms
Copr repo for wireguard owned by jdoss                                                            12 kB/s | 3.3 kB     00:00
Error:
 Problem: conflicting requests
  - nothing provides dkms needed by wireguard-dkms-1:1.0.20210606-2.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@scw-confident-shtern ~]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="8.4 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel fedora"
VERSION_ID="8.4"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.4 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8.4:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"

@angristan Sorry! with the first comment i meant with your script: "angristan/wireguard-install", not this PR one.

Being Rocky 1:1 with CentOS, there is no need to add "rocky linux support" as is already supported by original release.
I'm new here... apologize me! @

@angristan
Copy link
Owner

Oh, ok, I see. thanks

@angristan angristan closed this in 5b483ec Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants