Bug 1226757
| Summary: | Trying to install already-installed package group with non-ascii locale leads to uninformative DNF trace. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail Krutov <nekoxmachina> |
| Component: | dnf | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | jsilhan, mluscon, packaging-team-maint, pnemade, rholy, tim.lauridsen, vmukhame |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-06-01 03:24:59 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: | |||
Running install as follows* also gives same problem. sudo dnf install @gnome-software-development Also, with a bit more of the research, this seems to be a translation issue in case of group is already installed. ➜ ~ env LC_ALL=en_US.UTF-8 sudo dnf group install gnome-software-development [sudo] password for neko: Last metadata expiration check performed 2:30:18 ago on Mon Jun 1 02:19:52 2015. Group 'GNOME Software Development' is already installed, skipping. Dependencies resolved. Is this ok [y/N]: y Complete! More research indicates that this is fixed in git version of dnf. Hope that would get to 22. :) Thanks, can be closed. This is also a duplicate of a lot of other reports. The one mentioned in the commit message is not the first one but since it is already mentioned there, let's mark this as a duplicate of that bug. *** This bug has been marked as a duplicate of bug 1223932 *** |
Description of problem: I've tried to run following command: sudo dnf groupinstall gnome-software-development And got following output: Last metadata expiration check performed 2:16:51 ago on Mon Jun 1 02:19:52 2015. Traceback (most recent call last): File "/bin/dnf", line 36, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 185, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 84, in main return _main(base, args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 134, in _main cli.run() File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1077, in run return self.command.run(self.base.extcmds) File "/usr/lib/python2.7/site-packages/dnf/cli/commands/group.py", line 385, in run return self.base.env_group_install(patterns, types) File "/usr/lib/python2.7/site-packages/dnf/base.py", line 1253, in env_group_install res.groups, types) File "/usr/lib/python2.7/site-packages/dnf/comps.py", line 88, in install_or_skip logger.warning("%s, %s", str(e)[:-1], _("skipping.")) UnicodeEncodeError: 'ascii' codec can't encode character u'\xfd' in position 10: ordinal not in range(128) This problem exists only with gnome-software-development group. Version-Release number of selected component (if applicable): ➜ dnf --version 1.0.0 Nainstalováno: dnf-0:1.0.0-1.fc22.noarch na 2015-05-13 13:04 Sestaveno : Fedora Project na 2015-05-02 13:00 Nainstalováno: rpm-0:4.12.0.1-9.fc22.x86_64 na 2015-05-13 13:01 Sestaveno : Fedora Project na 2015-04-15 09:21 Fedora 22. How reproducible: Steps to Reproduce: 1. run command sudo dnf groupinstall gnome-software-development 2. 3. Actual results: see higher part of bug-report. Expected results: dnf installs requested groups or reports it unavailability. Additional info: