wireguard-install icon indicating copy to clipboard operation
wireguard-install copied to clipboard

Add support for Rocky linux distribution

Open mlemiam opened this issue 4 years ago • 8 comments

mlemiam avatar Jul 16 '21 16:07 mlemiam

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)

angristan avatar Jul 16 '21 20:07 angristan

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

mlemiam avatar Jul 17 '21 03:07 mlemiam

This was a KVM VM :)

angristan avatar Sep 01 '21 20:09 angristan

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""

mattvx avatar Nov 12 '21 16:11 mattvx

That would be this line:

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

angristan avatar Nov 12 '21 16:11 angristan

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 avatar Nov 12 '21 16:11 angristan

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! @

mattvx avatar Nov 12 '21 17:11 mattvx

Oh, ok, I see. thanks

angristan avatar Nov 15 '21 20:11 angristan