Bug 1048584
| Summary: | yum update-minimal --security doesn't work | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jorge Fábregas <jorge.fabregas> | |
| Component: | yum | Assignee: | Valentina Mukhamedzhanova <vmukhame> | |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | low | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 20 | CC: | admiller, edanilch, ffesti, firas.alkafri, jherrman, jsiddle, jzeleny, kel_byers, packaging-team-maint, vmukhame | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | yum-3.4.3-137.fc19 | Doc Type: | Bug Fix | |
| Doc Text: |
Previously, using the "yum update-minimal --security" command caused yum to terminate unexpectedly. This update fixes the bug, and the command now works as expected.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1192239 (view as bug list) | Environment: | ||
| Last Closed: | 2014-02-28 18:30:19 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1192239, 1245134, 1246026 | |||
The same thing happens with 'yum update-minimal --bugfix'.
# rpm -qa | grep -i yum
yum-metadata-parser-1.1.4-9.fc20.x86_64
yum-3.4.3-132.fc20.noarch
yum-utils-1.1.31-20.fc20.noarch
# yum update-minimal --bugfix
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 355, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 174, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 570, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 4153, in doCommand
_upi.update_minimal(base, extcmds)
File "/usr/lib/python2.7/site-packages/yum/updateinfo.py", line 516, in update_minimal
not _ysp_should_filter_pkg(base, name, notice, used_map)):
File "/usr/lib/python2.7/site-packages/yum/updateinfo.py", line 67, in _ysp_should_filter_pkg
rcmd = _match_sec_cmd(opts.sec_cmds, pkgname, notice)
AttributeError: 'YumBaseCli' object has no attribute 'sec_cmds'
yum-3.4.3-137.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/FEDORA-2014-2482/yum-3.4.3-137.fc20 yum-3.4.3-137.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/FEDORA-2014-2541/yum-3.4.3-137.fc19 Package yum-3.4.3-137.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing yum-3.4.3-137.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-2541/yum-3.4.3-137.fc19 then log in and leave karma (feedback). yum-3.4.3-137.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 1070879 has been marked as a duplicate of this bug. *** yum-3.4.3-137.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: running "yum update-minimal --security" doesn't work. See the below "Actual Results" section for error messages. Thi is, of course, running as root. Version-Release number of selected component (if applicable): # rpm -qa | grep -i yum PackageKit-yum-plugin-0.8.15-1.fc20.x86_64 yum-3.4.3-128.fc20.noarch yum-langpacks-0.4.3-1.fc20.noarch PackageKit-yum-0.8.15-1.fc20.x86_64 yum-metadata-parser-1.1.4-9.fc20.x86_64 yum-utils-1.1.31-19.fc20.noarch How reproducible: always Steps to Reproduce: 1. yum update-minimal --security 2. 3. Actual results: Traceback (most recent call last): File "/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 355, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 174, in main result, resultmsgs = base.doCommands() File "/usr/share/yum-cli/cli.py", line 570, in doCommands return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds) File "/usr/share/yum-cli/yumcommands.py", line 4153, in doCommand _upi.update_minimal(base, extcmds) File "/usr/lib/python2.7/site-packages/yum/updateinfo.py", line 516, in update_minimal not _ysp_should_filter_pkg(base, name, notice, used_map)): File "/usr/lib/python2.7/site-packages/yum/updateinfo.py", line 67, in _ysp_should_filter_pkg rcmd = _match_sec_cmd(opts.sec_cmds, pkgname, notice) Expected results: A list of packages containing security fixes. Additional info: # yum update --security ... works perfectly fine.