[asterisk-bugs] [JIRA] (ASTERISK-27598) [patch] install_prereq: Support package manager DNF.

Alexander Traud (JIRA) noreply at issues.asterisk.org
Fri Jan 19 04:35:49 CST 2018


Alexander Traud created ASTERISK-27598:
------------------------------------------

             Summary: [patch] install_prereq: Support package manager DNF.
                 Key: ASTERISK-27598
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27598
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Contrib/General
    Affects Versions: 15.2.0, 13.19.0
         Environment: Fedora 27
            Reporter: Alexander Traud
         Attachments: prerequisites_red_hat_skip.patch

{code}No package libsqlite3x-devel available.
No package gmime22-devel available.{code}With Fedora 22, Red Hat replaced the package manager Yum with [DNF|https://en.wikipedia.org/wiki/DNF_(software)] in Fedora 22. The command-line tool {{yum}} remained as wrapper, which calls DNF. In the latest Fedora, the option _strict_ is enabled on default: {{yum install --setopt=strict=1}}.

Consequently, when one package is unavailable (because the name changed, the version changed, or it was simply dropped), the whole install operation fails. Therefore, the script {{./contrib/scripts/install_prereq}} does not work on Fedora anymore.

In CentOS 6 and CentOS 7, the option _strict_ is disabled on default. Furthermore, both platforms do not use DNF but come with Yum on default. Therefore, this issue affects just Fedora, currently.

Solution: {{yum install --skip-broken}} sets the option _strict_ to zero, solves this issue, and is available in CentOS as well.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list