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

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


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

Alexander Traud updated ASTERISK-27598:
---------------------------------------

    Comment: was deleted

(was: Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].)

> [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
>              Labels: patch
>         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