Skip to main content

PowerDNS - YUM EPEL Repo

Comments

3 comments

  • cPanelMichael
    Hello, Internal case CPANEL-9280 is open to address an issue where if the EPEL YUM repository is installed, updates through YUM will replace cPanel's pdns RPM with the pdns RPM available from EPEL repository. I'll update this thread with more information on the status of this case as it becomes available. In the meantime, the workaround is to exclude the pdns RPM from the EPEL YUM repo via the following steps: 1. Open /etc/yum.repos.d/epel.repo with your preferred text editor. 2. Add "exclude=pdns*" as a new line at the end of the [epel] section. Here's an example of how the file will look on CentOS 7:
    [epel] name=Extra Packages for Enterprise Linux 7 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 exclude=pdns* [epel-debuginfo] name=Extra Packages for Enterprise Linux 7 - $basearch - Debug #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch failovermethod=priority enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 gpgcheck=1 [epel-source] name=Extra Packages for Enterprise Linux 7 - $basearch - Source #baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch failovermethod=priority enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 gpgcheck=1
    3. Run the following command to replace
    /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    4. Run "yum update" and confirm the pdns RPM is no longer replaced:
    # rpm -qa|grep pdns pdns-3.4.10-1.cp1160.x86_64
    Let us know if you have any questions. Thank you.
    0
  • Nirjonadda
    @cPanelMichael, Does this issue fixed for 60.0.22 RELEASE?
    0
  • cPanelMichael
    Hello, The resolution for this issue is included with cPanel version 60.0.22: Case CPANEL-9756: Use the renamed 'cpanel-pdns' RPM to avoid conflicts This case ensures the PowerDNS RPM uses the "cpanel-pdns" name to avoid conflicts with the "pdns" package provided by the EPEL YUM repository. cPanel version 60.0.22 is available in the "Current" build tier. Thank you.
    0

Please sign in to leave a comment.