NethServer-vpn Error (Conflict: nethserver-base-2.7.2-1.ns6.noarch & nethserver-base-2.7.2-1.1.g9d84983.ns6.noarch)

If we enable Nethserver-Testing and want to install Nethserver-vpn will give the following error:

Available: nethserver-base-2.7.2-1.ns6.noarch (nethserver-updates)
               Not found
Available: nethserver-base-2.7.2-1.1.g9d84983.ns6.noarch (nethserver-testing)
               Not found
  • First let’s remove nethserver-vpn if we had already installed

    Accessed from ssh

    yum remove nethserver-vpn

  • We disable nethserver-testing repositories

    [nethserver-testing]
    name=NethServer $distroversion testing
    mirrorlist=http://mirrorlist.nethserver.org/$distroversion/nethserver?release=$releasever&repo=testing&arch=$basearch
    #baseurl=http://mirror.nethserver.org/nethserver/$distroversion/testing/$basearch/
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-6
    enabled=0
    enablegroups=1

  • Save the changes

    Accessed from ssh

    yum update

  • We left ssh

  • Now from the software center. select VPN and this will install the following packages:

    nethserver-openvpn
    nethserver-ipsec
    nethserver-vpn

there is a conflict between: nethserver-base-2.7.2-1.ns6.noarch & nethserver-base-2.7.2-1.1.g9d84983.ns6.noarch

Regards

Thanks, but it was made by one command
Yum install --disablerepo=nethserver-testing nethserver-openvpn

After I write U about this BUG

1 Like

Thanks @Nas