Bug 955236 - [abrt] yum-3.4.3-83.fc20: cli.py:1945:removeGroups:AttributeError: 'InstalledGroup' object has no attribute 'groupid'
Summary: [abrt] yum-3.4.3-83.fc20: cli.py:1945:removeGroups:AttributeError: 'Installed...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:16a768bdf5cf956cce9e9026d76...
: 928859 955722 968840 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-22 15:18 UTC by chopin xiao
Modified: 2015-06-30 01:22 UTC (History)
14 users (show)

Fixed In Version: yum-3.4.3-93.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-30 01:22:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.11 KB, text/plain)
2013-04-22 15:18 UTC, chopin xiao
no flags Details
File: core_backtrace (505 bytes, text/plain)
2013-04-22 15:18 UTC, chopin xiao
no flags Details
File: environ (1.94 KB, text/plain)
2013-04-22 15:18 UTC, chopin xiao
no flags Details

Description chopin xiao 2013-04-22 15:18:46 UTC
Description of problem:
yum verifying end

Version-Release number of selected component:
yum-3.4.3-83.fc20

Additional info:
cmdline:        /usr/bin/python /bin/yum group remove mate-desktop
executable:     /bin/yum
kernel:         3.9.0-0.rc7.git1.1.fc20.x86_64
runlevel:       N 5
uid:            0
ureports_counter: 3

Truncated backtrace:
cli.py:1945:removeGroups:AttributeError: 'InstalledGroup' object has no attribute 'groupid'

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 316, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 126, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 520, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 1033, in doCommand
    return base.removeGroups(extcmds)
  File "/usr/share/yum-cli/cli.py", line 1945, in removeGroups
    txmbrs = self.groupRemove(group.groupid)
AttributeError: 'InstalledGroup' object has no attribute 'groupid'

Local variables in innermost frame:
grouplist: ['mate-desktop']
pkgs_used: []
group: <yum.igroups.InstalledGroup object at 0x3107b10>
self: <cli.YumBaseCli object at 0x2f3d350>
group_string: 'mate-desktop'
pkg_grp: True
grp_grp: True
groups: [<yum.igroups.InstalledGroup object at 0x3107b10>]

Comment 1 chopin xiao 2013-04-22 15:18:49 UTC
Created attachment 738566 [details]
File: backtrace

Comment 2 chopin xiao 2013-04-22 15:18:51 UTC
Created attachment 738567 [details]
File: core_backtrace

Comment 3 chopin xiao 2013-04-22 15:18:54 UTC
Created attachment 738568 [details]
File: environ

Comment 4 Jan Zeleny 2013-05-08 13:59:46 UTC
*** Bug 955722 has been marked as a duplicate of this bug. ***

Comment 5 James Antill 2013-05-08 14:44:03 UTC
 Fix pushed upstream. Will do an F19/rawhide release later today.

Comment 6 Piruthiviraj Natarajan 2013-06-02 17:21:22 UTC
The trouble still exists.

[root@localhost ~]# yum remove @mate-desktop
Loaded plugins: fastestmirror
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 316, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 126, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 522, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 864, in doCommand
    ret = base.erasePkgs(extcmds, pos=pos, basecmd=basecmd)
  File "/usr/share/yum-cli/cli.py", line 1138, in erasePkgs
    rms = self.remove(pattern=arg)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 5162, in remove
    return self._at_groupremove(kwargs['pattern'])
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4379, in _at_groupremove
    txmbrs = self.groupRemove(group_string)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3566, in groupRemove
    igroup_data = self._groupInstalledData(thisgroup)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3351, in _groupInstalledData
    for pkg_name in set(group.packages + list(pkg_names)):
AttributeError: 'InstalledGroup' object has no attribute 'packages'
[root@localhost ~]#

Comment 7 Piruthiviraj Natarajan 2013-06-02 17:23:27 UTC
[root@localhost ~]# yum info yum
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * fedora: mirror.dhakacom.com
 * rpmfusion-free: ftp.nluug.nl
 * rpmfusion-free-updates: ftp-stud.hs-esslingen.de
 * rpmfusion-free-updates-testing: ftp.nluug.nl
 * rpmfusion-nonfree: ftp.nluug.nl
 * rpmfusion-nonfree-updates: ftp-stud.hs-esslingen.de
 * rpmfusion-nonfree-updates-testing: ftp.nluug.nl
 * updates: mirror.cse.iitk.ac.in
Installed Packages
Name        : yum
Arch        : noarch
Version     : 3.4.3
Release     : 91.fc19
Size        : 5.3 M
Repo        : installed
From repo   : updates-testing
Summary     : RPM package installer/updater/manager
URL         : http://yum.baseurl.org/
License     : GPLv2+
Description : Yum is a utility that can check for and automatically download and
            : install updated RPM packages. Dependencies are obtained and
            : downloaded automatically, prompting the user for permission as
            : necessary.

[root@localhost ~]#

Comment 8 Fedora Blocker Bugs Application 2013-06-03 01:09:43 UTC
Proposed as a Blocker for 19-final by Fedora user hadrons123 using the blocker tracking app because:

 Yum being the vital component of the Fedora  package installar, groupremove option not working as intended is a regression.

Comment 9 Jan Zeleny 2013-06-03 07:12:47 UTC
*** Bug 968840 has been marked as a duplicate of this bug. ***

Comment 10 Jan Zeleny 2013-06-03 07:20:01 UTC
*** Bug 928859 has been marked as a duplicate of this bug. ***

Comment 11 James Antill 2013-06-03 15:54:24 UTC
 Note that the bug from comment #6 is different from the original bug, but that should also be fixed in yum-3.4.3-93.fc19.

Comment 12 Piruthiviraj Natarajan 2013-06-03 16:03:39 UTC
yum-3.4.3-93.fc19 fixes it. Thanks guys!

Comment 13 Adam Williamson 2013-06-03 18:35:44 UTC
Discussed at 2013-06-03 blocker review meeting: http://meetbot.fedoraproject.org/fedora-blocker-review/2013-06-03/f19final-blocker-review-2.2013-06-03-16.00.log.txt . On the face of it this doesn't look like a blocker - it doesn't look like it has any negative consequences for the consistency of the rpm/yum databases or anything, so it shouldn't affect more important commands like 'yum install' or 'yum update'. However, we agreed to just check with reporters and James - is the above assessment correct? If this is just a failure that happens when you try a 'yum groupremove' but it doesn't have any other consequences, this will be rejected as a blocker.

(Of course, if an update is submitted and goes stable before the next blocker review meeting on Wednesday, that'd make the issue moot).

Comment 14 Adam Williamson 2013-06-05 17:39:16 UTC
Discussed at 2013-06-05 blocker review meeting: http://meetbot.fedoraproject.org/fedora-blocker-review/2013-06-05/f19final-blocker-review-3.2013-06-05-16.05.log.txt . AS per c#13, still waiting for developer input here, but if we don't have a specific indication that this bug is worse than it looks by the next review meeting (Monday), we'll probably reject this.

Comment 15 Adam Williamson 2013-06-10 19:00:13 UTC
Discussed at 2013-06-10 blocker review meeting: http://meetbot.fedoraproject.org/fedora-blocker-review/2013-06-10/f19final-blocker-review-4.2013-06-10-16.01.log.txt . It seems pretty clear at this point that this bug has no Terrible Consequences we weren't aware of, so per the notes in c#13 and c#14, it's rejected as a blocker.

Yum folks, is -93 (or later) going to be submitted as an update soon? You have 6 days or so to get it stable before freeze, if you want to fix this for Final.

Comment 16 Fedora End Of Life 2013-09-16 16:57:28 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20

Comment 17 Fedora End Of Life 2015-05-29 09:00:41 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 18 Fedora End Of Life 2015-06-30 01:22:21 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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