Bug 858175 - calltrace during yum groupremove
calltrace during yum groupremove
Product: Fedora
Classification: Fedora
Component: yum-langpacks (Show other bugs)
All Linux
high Severity high
: ---
: ---
Assigned To: Bill Nottingham
Fedora Extras Quality Assurance
Depends On:
Blocks: F18Blocker/F18FinalBlocker
  Show dependency treegraph
Reported: 2012-09-18 05:13 EDT by CAI Qian
Modified: 2014-03-16 23:32 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-10-23 10:28:20 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

  None (edit)
Description CAI Qian 2012-09-18 05:13:27 EDT
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 05:18:42 EDT
missing comma in remove_matches_from_ts() in patch?
Comment 2 CAI Qian 2012-09-18 22:17:13 EDT
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 08:52:33 EDT
Fixed differently in git, building now.
Comment 5 Fedora Update System 2012-09-25 09:08:12 EDT
yum-langpacks-0.3.0-3.fc17 has been submitted as an update for Fedora 17.
Comment 6 Fedora Update System 2012-09-25 09:08:58 EDT
yum-langpacks-0.3.0-3.fc18 has been submitted as an update for Fedora 18.
Comment 7 Fedora Update System 2012-09-25 11:57:33 EDT
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 10:28:20 EDT
Tested, seems fixed. Closing.

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