Bug 1000788 - [abrt] yum-3.4.3-106.fc19: yumcommands.py:3666:doCommand:TypeError: 'NoneType' object is not iterable
[abrt] yum-3.4.3-106.fc19: yumcommands.py:3666:doCommand:TypeError: 'NoneType...
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: packaging-team-maint
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-08-25 04:58 EDT by Tim Jones
Modified: 2015-02-17 11:54 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-02-17 11:54:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
File: backtrace (1.78 KB, text/plain)
2013-08-25 04:58 EDT, Tim Jones
no flags Details
File: environ (2.54 KB, text/plain)
2013-08-25 04:58 EDT, Tim Jones
no flags Details

  None (edit)
Description Tim Jones 2013-08-25 04:58:02 EDT
Description of problem:
I was trying to downgrade or remove all packages from a repo which has had its repo file removed from the system, with:
yum repository-packages atrpms remove-or-distribution-synchronization

Version-Release number of selected component:

Additional info:
reporter:       libreport-2.1.6
cmdline:        /usr/bin/python /bin/yum repository-packages atrpms remove-or-distribution-synchronization
executable:     /bin/yum
kernel:         3.10.7-200.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
yumcommands.py:3666:doCommand:TypeError: 'NoneType' object is not iterable

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 532, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 3666, in doCommand
    for toinst in apkgs:
TypeError: 'NoneType' object is not iterable

Local variables in innermost frame:
remap: {'erase-or-distro-sync': 'remove-or-sync', 'erase-or-sync': 'remove-or-sync', 'upgrade-to': 'update-to', 'erase': 'remove', 'erase-or-distribution-synchronization': 'remove-or-sync', 'remove-or-distro-sync': 'remove-or-sync', 'remove-or-distribution-synchronization': 'remove-or-sync', 'erase-or-reinstall': 'remove-or-reinstall', 'upgrade': 'update'}
cmd: 'remove-or-sync'
apkgs: None
txmbrs: [<TransactionMember : libbluray1.x86_64 0:0.3.0-5.fc19 - e (0x25b8368)>]
_add_repopkg2txmbrs: <function _add_repopkg2txmbrs at 0x2731938>
self: <yumcommands.RepoPkgsCommand instance at 0x25367e8>
args: ['*']
extcmds: ['atrpms', 'remove-or-distribution-synchronization']
num: 0
txmbr: <TransactionMember : libbluray1.x86_64 0:0.3.0-5.fc19 - e (0x25b8368)>
pkgs: [<YumAvailablePackageSqlite : libbluray1-0.3.0-5.fc19.x86_64 (0x46a2350)>, <YumAvailablePackageSqlite : libbluray1-0.2.3-3.fc19.x86_64 (0x46a2310)>]
base: <cli.YumBaseCli object at 0x2528e50>
arg: '*'
noargs: True
repoid: 'atrpms'
basecmd: 'repository-packages'
pkg: <YumAvailablePackageSqlite : libbluray1-0.3.0-5.fc19.x86_64 (0x46a2350)>
Comment 1 Tim Jones 2013-08-25 04:58:07 EDT
Created attachment 790048 [details]
File: backtrace
Comment 2 Tim Jones 2013-08-25 04:58:10 EDT
Created attachment 790049 [details]
File: environ
Comment 3 Fedora End Of Life 2015-01-09 14:35:14 EST
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

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 19 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 4 Fedora End Of Life 2015-02-17 11:54:36 EST
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 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

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.