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

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Mon Apr 1 13:21:58 CDT 2019


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Harwell updated ASTERISK-27598:
-------------------------------------

    Target Release Version/s: 16.3.0

> [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: 13.19.0, 15.2.0
>         Environment: Fedora 27
>            Reporter: Alexander Traud
>            Assignee: Alexander Traud
>              Labels: patch
>      Target Release: 13.20.0, 15.3.0, 16.0.0, 16.3.0
>
>         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