Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1128337 Details for
Bug 1156551
[rfe] use dnf instead of yum
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix for dnf options --best and/or --allowerasing
salt-2015.5.9-dnffix.diff (text/plain), 670 bytes, created by
Rolf Fokkens
on 2016-02-18 21:35:45 UTC
(
hide
)
Description:
Fix for dnf options --best and/or --allowerasing
Filename:
MIME Type:
Creator:
Rolf Fokkens
Created:
2016-02-18 21:35:45 UTC
Size:
670 bytes
patch
obsolete
>--- salt-2015.5.9/salt/modules/yumpkg.py.orig 2016-02-18 22:04:06.098860870 +0100 >+++ salt-2015.5.9/salt/modules/yumpkg.py 2016-02-18 22:08:29.701002887 +0100 >@@ -1307,8 +1307,14 @@ > > yum_cmd = _yum() > if targets: >- cmd = '{yum} -y {repo} {exclude} {branch} {gpgcheck} install {pkg}'.format( >+ if yum_cmd == 'dnf': >+ dnf_opts = '--best --allowerasing' >+ else: >+ dnf_opts = '' >+ >+ cmd = '{yum} -y {opts} {repo} {exclude} {branch} {gpgcheck} install {pkg}'.format( > yum=yum_cmd, >+ opts=dnf_opts, > repo=repo_arg, > exclude=exclude_arg, > branch=branch_arg,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1156551
:
1038046
|
1091673
| 1128337