Summary: | ASTERISK-27598: [patch] install_prereq: Support package manager DNF. | ||||||
Reporter: | Alexander Traud (traud) | Labels: | patch | ||||
Date Opened: | 2018-01-19 04:34:19.000-0600 | Date Closed: | 2018-01-24 07:45:52.000-0600 | ||||
Priority: | Major | Regression? | |||||
Status: | Closed/Complete | Components: | Contrib/General | ||||
Versions: | 13.19.0 15.2.0 | Frequency of Occurrence | |||||
Related Issues: |
| ||||||
Environment: | Fedora 27 | Attachments: | ( 0) prerequisites_red_hat_skip.patch | ||||
Description: | {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. | ||||||
Comments: | By: Friendly Automation (friendly-automation) 2018-01-24 07:45:53.412-0600 Change 8012 merged by Jenkins2: install_prereq: Support package manager DNF and yum option strict=1. [https://gerrit.asterisk.org/8012|https://gerrit.asterisk.org/8012] By: Friendly Automation (friendly-automation) 2018-01-24 07:50:15.069-0600 Change 8011 merged by Jenkins2: install_prereq: Support package manager DNF and yum option strict=1. [https://gerrit.asterisk.org/8011|https://gerrit.asterisk.org/8011] By: Friendly Automation (friendly-automation) 2018-01-24 07:53:04.651-0600 Change 8013 merged by Jenkins2: install_prereq: Support package manager DNF and yum option strict=1. [https://gerrit.asterisk.org/8013|https://gerrit.asterisk.org/8013] |