Bug 858175 - calltrace during yum groupremove
Summary: calltrace during yum groupremove
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-langpacks
Version: 18
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F18Blocker, F18FinalBlocker
TreeView+ depends on / blocked
Reported: 2012-09-18 09:13 UTC by Qian Cai
Modified: 2014-03-17 03:32 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-10-23 14:28:20 UTC

Attachments (Terms of Use)
experimental patch (519 bytes, patch)
2012-09-18 09:13 UTC, Qian Cai
no flags Details | Diff

Description Qian Cai 2012-09-18 09:13:27 UTC
Created attachment 613919 [details]
experimental patch

Description of problem:
# yum groupremove traditional-chinese-support
Loaded plugins: langpacks, presto, refresh-packagekit
No Environment named traditional-chinese-support exists
Resolving Dependencies
--> Running transaction check
---> Package cjkuni-ukai-fonts.noarch 0:0.2.20080216.1-49.fc18 will be erased
---> Package cjkuni-uming-fonts.noarch 0:0.2.20080216.1-50.fc18 will be erased
---> Package ibus-chewing.x86_64 0:1.4.2-1.fc18 will be erased
--> Finished Dependency Resolution
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 319, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 185, in main
    (result, resultmsgs) = base.buildTransaction() 
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1142, in buildTransaction
    self.plugins.run('postresolve', rescode=rescode, restring=restring)
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 187, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/langpacks.py", line 315, in postresolve_hook
    remove_matches_from_ts(conduit, group.langonly)
TypeError: remove_matches_from_ts() takes exactly 3 arguments (2 given)

Version-Release number of selected component (if applicable):

How reproducible:

Additional info:
Patch is provided.

Comment 1 Parag Nemade 2012-09-18 09:18:42 UTC
missing comma in remove_matches_from_ts() in patch?

Comment 2 Qian Cai 2012-09-19 02:17:13 UTC
Apparently, yes.(In reply to comment #1)
> missing comma in remove_matches_from_ts() in patch?
Apparently, yes. Nice spot.

Comment 3 Bill Nottingham 2012-09-25 12:52:33 UTC
Fixed differently in git, building now.

Comment 5 Fedora Update System 2012-09-25 13:08:12 UTC
yum-langpacks-0.3.0-3.fc17 has been submitted as an update for Fedora 17.

Comment 6 Fedora Update System 2012-09-25 13:08:58 UTC
yum-langpacks-0.3.0-3.fc18 has been submitted as an update for Fedora 18.

Comment 7 Fedora Update System 2012-09-25 15:57:33 UTC
Package yum-langpacks-0.3.0-3.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yum-langpacks-0.3.0-3.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 8 Kamil Páral 2012-10-23 14:28:20 UTC
Tested, seems fixed. Closing.

Note You need to log in before you can comment on or make changes to this bug.