Description of problem: [zippi@garm ~]$ yum update Geladene Plugins: fastestmirror, langpacks, show-leaves […] --> Transaktionsprüfung wird ausgeführt ---> Paket jdns.x86_64 0:2.0.0-7.fc20 markiert, um installiert zu werden 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 367, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 229, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1201, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 915, in resolveDeps for po, dep in self._checkFileRequires(): File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 1206, in _checkFileRequires self.installedFileProviders = self.rpmdb.fileRequiresData() File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 970, in fileRequiresData for name, flag, evr in pkg.requires: File "/usr/lib/python2.7/site-packages/yum/packages.py", line 678, in <lambda> requires = property(fget=lambda self: self.returnPrco('requires')) File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1411, in returnPrco self._populatePrco() File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1489, in _populatePrco (name, flag, vers) = self._filter_deps(name, hdr[oldtagf], hdr[oldtagv], andmask, resmask) File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1422, in _filter_deps for (n, f, v) in zip(name, flag, vers): TypeError: zip argument #2 must support iteration [zippi@garm ~]$ Version-Release number of selected component: yum-3.4.3-148.fc20 Additional info: reporter: libreport-2.2.2 cmdline: /usr/bin/python /bin/yum update executable: /bin/yum kernel: 3.14.4-200.fc20.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: packages.py:1422:_filter_deps:TypeError: zip argument #2 must support iteration 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 367, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 229, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1201, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 937, in resolveDeps if self._checkObsoletes(): File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 1361, in _checkObsoletes obsoletes = po.returnPrco('obsoletes') File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1411, in returnPrco self._populatePrco() File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1489, in _populatePrco (name, flag, vers) = self._filter_deps(name, hdr[oldtagf], hdr[oldtagv], andmask, resmask) File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1422, in _filter_deps for (n, f, v) in zip(name, flag, vers): TypeError: zip argument #2 must support iteration Local variables in innermost frame: vers: '' name: 'bluej-extensions' newname: [] self: <RPMInstalledPackage : bluej-3.1.0-2.2.noarch (0x508abd0)> newvers: [] andmask: 134217728 flag: 524288L newflag: [] resmask: 0
Created attachment 908064 [details] File: backtrace
Created attachment 908065 [details] File: environ
[zippi@garm ~]$ sudo rpmdb --rebuilddb [zippi@garm ~]$ yum clean all Geladene Plugins: fastestmirror, langpacks, show-leaves […] Leads to the same error.
Sorry... When I try the yum update after this is done.
Same problem here: ---> Package yum-utils.noarch 0:1.1.31-20.fc20 will be updated ---> Package yum-utils.noarch 0:1.1.31-23.fc20 will be an update 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 367, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 229, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1201, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 915, in resolveDeps for po, dep in self._checkFileRequires(): File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 1206, in _checkFileRequires self.installedFileProviders = self.rpmdb.fileRequiresData() File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 970, in fileRequiresData for name, flag, evr in pkg.requires: File "/usr/lib/python2.7/site-packages/yum/packages.py", line 678, in <lambda> requires = property(fget=lambda self: self.returnPrco('requires')) File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1411, in returnPrco self._populatePrco() File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1489, in _populatePrco (name, flag, vers) = self._filter_deps(name, hdr[oldtagf], hdr[oldtagv], andmask, resmask) File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1422, in _filter_deps for (n, f, v) in zip(name, flag, vers): TypeError: zip argument #2 must support iteration Rebuild the rpmdb does not solve the issue.
> self: <RPMInstalledPackage : bluej-3.1.0-2.2.noarch (0x508abd0)> Where does this package come from?
http://lists.opensuse.org/opensuse-buildservice/2014-05/msg00007.html Could this be relevant? (incompatible repositories enabled)
As work-a-round I installed yum-3.4.3-137.fc20.noarch.rpm via rpm and then the update was successfull. Update yum to yum-3.4.3-148.fc20.noarch and the error occures again.
Thank you for the report, we'll look into it.
Here are some more informations to this issue. The error-message also occures when a yum install/remove/reinstall is done. On my system are these repositories enabled: adobe-linux-x86_64 Adobe Systems Incorporated fedora/20/x86_64 Fedora 20 - x86_64 google-chrome google-chrome rpmfusion-free/20/x86_64 RPM Fusion for Fedora 20 - Free rpmfusion-free-updates/20/x86_64 RPM Fusion for Fedora 20 - Free - Updates rpmfusion-nonfree/20/x86_64 RPM Fusion for Fedora 20 - Nonfree rpmfusion-nonfree-updates/20/x86_64 RPM Fusion for Fedora 20 - Nonfree - Updates updates/20/x86_64 Fedora 20 - x86_64 - Updates Actual I get this error when I try to update these packages: Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * fedora: ftp.astral.ro * rpmfusion-free: mirror.telepoint.bg * rpmfusion-free-updates: mirror.telepoint.bg * rpmfusion-nonfree: mirror.telepoint.bg * rpmfusion-nonfree-updates: mirror.telepoint.bg * updates: ftp.astral.ro Resolving Dependencies --> Running transaction check ---> Package chkrootkit.x86_64 0:0.49-8.fc20 will be updated ---> Package chkrootkit.x86_64 0:0.49-9.fc20 will be an update ---> Package firefox.x86_64 0:29.0.1-1.fc20 will be updated ---> Package firefox.x86_64 0:30.0-4.fc20 will be an update ---> Package nspr.x86_64 0:4.10.5-1.fc20 will be updated ---> Package nspr.x86_64 0:4.10.6-1.fc20 will be an update ---> Package satyr.x86_64 0:0.13-1.fc20 will be updated ---> Package satyr.x86_64 0:0.14-1.fc20 will be an update ---> Package sendmail.x86_64 0:8.14.8-1.fc20 will be updated ---> Package sendmail.x86_64 0:8.14.8-2.fc20 will be an update ---> Package spice-server.x86_64 0:0.12.4-3.fc20 will be updated ---> Package spice-server.x86_64 0:0.12.5-2.fc20 will be an update ---> Package xulrunner.x86_64 0:29.0-1.fc20 will be updated ---> Package xulrunner.x86_64 0:30.0-1.fc20 will be an update 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 367, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 229, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1201, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 937, in resolveDeps if self._checkObsoletes(): File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 1361, in _checkObsoletes obsoletes = po.returnPrco('obsoletes') File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1411, in returnPrco self._populatePrco() File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1489, in _populatePrco (name, flag, vers) = self._filter_deps(name, hdr[oldtagf], hdr[oldtagv], andmask, resmask) File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1422, in _filter_deps for (n, f, v) in zip(name, flag, vers): TypeError: zip argument #2 must support iteration
Got it - it was an old MicrosoftFonts-cj-package. Removed the package an yum works normal.
(In reply to Michael Schwendt from comment #6) > > self: <RPMInstalledPackage : bluej-3.1.0-2.2.noarch (0x508abd0)> > > Where does this package come from? From a source named "Education": [zippi@garm yum.repos.d]$ cat Education.repo [Education] name=Applications for education users (openSUSE_Tumbleweed) type=rpm-md baseurl=http://download.opensuse.org/repositories/Education/openSUSE_Tumbleweed/ gpgcheck=1 gpgkey=http://download.opensuse.org/repositories/Education/openSUSE_Tumbleweed/repodata/repomd.xml.key enabled=0 I will try to remove this package.
That was the right package to remove. Thanks alot for your help. yum seems to work again properly.
Not so fast, please. There's still a new bug in Yum, see comment 8 that tells the previous Yum does not fail like that. At http://forums.fedoraforum.org/showpost.php?p=1701966&postcount=3 there is a user that does not use opensuse repos.
Confirmed: removing bluej (installed during some study of java) solves the problem Thanks a lot
Another user experienced a similar problem: I did a 'yum update'. reporter: libreport-2.2.2 cmdline: /usr/bin/python /usr/bin/yum update executable: /usr/bin/yum kernel: 3.14.4-200.fc20.x86_64 package: yum-3.4.3-148.fc20 reason: packages.py:1422:_filter_deps:TypeError: zip argument #2 must support iteration runlevel: N 5 type: Python uid: 0
Another user experienced a similar problem: running "yum update" as root on Fedora 20 Below is the screen output: Loaded plugins: langpacks, refresh-packagekit Resolving Dependencies --> Running transaction check ---> Package NetworkManager.x86_64 1:0.9.9.0-38.git20131003.fc20 will be updated ---> Package NetworkManager.x86_64 1:0.9.9.0-39.git20131003.fc20 will be an update ---> Package NetworkManager-glib.x86_64 1:0.9.9.0-38.git20131003.fc20 will be updated ---> Package NetworkManager-glib.x86_64 1:0.9.9.0-39.git20131003.fc20 will be an update ---> Package cups-filters.x86_64 0:1.0.53-2.fc20 will be updated ---> Package cups-filters.x86_64 0:1.0.53-5.fc20 will be an update ---> Package cups-filters-libs.x86_64 0:1.0.53-2.fc20 will be updated ---> Package cups-filters-libs.x86_64 0:1.0.53-5.fc20 will be an update ---> Package ghostscript.x86_64 0:9.10-5.fc20 will be updated ---> Package ghostscript.x86_64 0:9.14-3.fc20 will be an update ---> Package gnome-abrt.x86_64 0:0.3.6-1.fc20 will be updated ---> Package gnome-abrt.x86_64 0:0.3.7-1.fc20 will be an update ---> Package kernel.x86_64 0:3.14.7-200.fc20 will be installed ---> Package kernel-devel.x86_64 0:3.14.7-200.fc20 will be installed ---> Package kernel-headers.x86_64 0:3.14.6-200.fc20 will be updated ---> Package kernel-headers.x86_64 0:3.14.7-200.fc20 will be an update ---> Package kernel-modules-extra.x86_64 0:3.14.7-200.fc20 will be installed ---> Package kmod-nvidia.x86_64 1:331.79-1.fc20.2 will be updated ---> Package kmod-nvidia.x86_64 1:331.79-1.fc20.3 will be an update --> Processing Dependency: kmod-nvidia-3.14.7-200.fc20.x86_64 >= 1:331.79-1.fc20.3 for package: 1:kmod-nvidia-331.79-1.fc20.3.x86_64 ---> Package kwebkitpart.x86_64 0:1.3.2-4.fc20 will be updated ---> Package kwebkitpart.x86_64 0:1.3.4-1.fc20 will be an update ---> Package libgudev1.x86_64 0:208-16.fc20 will be updated ---> Package libgudev1.x86_64 0:208-17.fc20 will be an update ---> Package perf.x86_64 0:3.14.6-200.fc20 will be updated ---> Package perf.x86_64 0:3.14.7-200.fc20 will be an update ---> Package python-nss.x86_64 0:0.14.0-2.fc20 will be updated ---> Package python-nss.x86_64 0:0.15.0-1.fc20 will be an update ---> Package qt.x86_64 1:4.8.6-5.fc20 will be updated ---> Package qt.x86_64 1:4.8.6-9.fc20 will be an update ---> Package qt-mysql.x86_64 1:4.8.6-5.fc20 will be updated ---> Package qt-mysql.x86_64 1:4.8.6-9.fc20 will be an update ---> Package qt-qdbusviewer.x86_64 1:4.8.6-5.fc20 will be updated ---> Package qt-qdbusviewer.x86_64 1:4.8.6-9.fc20 will be an update ---> Package qt-x11.x86_64 1:4.8.6-5.fc20 will be updated ---> Package qt-x11.x86_64 1:4.8.6-9.fc20 will be an update ---> Package subversion.x86_64 0:1.8.8-1.fc20 will be updated ---> Package subversion.x86_64 0:1.8.9-1.fc20 will be an update ---> Package subversion-libs.x86_64 0:1.8.8-1.fc20 will be updated ---> Package subversion-libs.x86_64 0:1.8.9-1.fc20 will be an update ---> Package systemd.x86_64 0:208-16.fc20 will be updated ---> Package systemd.x86_64 0:208-17.fc20 will be an update ---> Package systemd-libs.i686 0:208-16.fc20 will be updated ---> Package systemd-libs.x86_64 0:208-16.fc20 will be updated ---> Package systemd-libs.i686 0:208-17.fc20 will be an update ---> Package systemd-libs.x86_64 0:208-17.fc20 will be an update ---> Package systemd-python.x86_64 0:208-16.fc20 will be updated ---> Package systemd-python.x86_64 0:208-17.fc20 will be an update ---> Package systemd-python3.x86_64 0:208-16.fc20 will be updated ---> Package systemd-python3.x86_64 0:208-17.fc20 will be an update ---> Package xorg-x11-drv-nvidia.x86_64 1:331.79-1.fc20 will be updated ---> Package xorg-x11-drv-nvidia.x86_64 1:331.79-2.fc20 will be an update ---> Package xorg-x11-drv-nvidia-libs.x86_64 1:331.79-1.fc20 will be updated ---> Package xorg-x11-drv-nvidia-libs.x86_64 1:331.79-2.fc20 will be an update --> Running transaction check ---> Package kmod-nvidia-3.14.7-200.fc20.x86_64.x86_64 1:331.79-1.fc20.3 will be installed 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 367, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 229, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1201, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 937, in resolveDeps if self._checkObsoletes(): File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 1361, in _checkObsoletes obsoletes = po.returnPrco('obsoletes') File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1411, in returnPrco self._populatePrco() File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1489, in _populatePrco (name, flag, vers) = self._filter_deps(name, hdr[oldtagf], hdr[oldtagv], andmask, resmask) File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1422, in _filter_deps for (n, f, v) in zip(name, flag, vers): TypeError: zip argument #2 must support iteration reporter: libreport-2.2.2 cmdline: /usr/bin/python /bin/yum update executable: /bin/yum kernel: 3.14.6-200.fc20.x86_64 package: yum-3.4.3-148.fc20 reason: packages.py:1422:_filter_deps:TypeError: zip argument #2 must support iteration runlevel: N 5 type: Python uid: 0
I had to "rpm --force -i yum-3.4.3-137.fc20.noarch" as in comment 8 above to get around this. I have Fedora-20 system which was from FC19 via fedup which was from FC18... and I don't seem to have any of those alleged packages either. But forcing install an old version of yum on top of the newer one over writes the newer version. Bad stuff.
Not that it has anything to do with this bug, but you dont need to --force such an operation, just use 'rpm -U --oldpackage ...' for a "clean" downgrade.
yum-3.4.3-152.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/yum-3.4.3-152.fc20
It would be nice with -U but I got this: error: Failed dependencies: yum >= 3.4.3-148 is needed by (installed) yum-utils-1.1.31-23.fc20.noarch Since the updated yum is coming, I'll wait for that now. (In reply to Panu Matilainen from comment #19) > Not that it has anything to do with this bug, but you dont need to --force > such an operation, just use 'rpm -U --oldpackage ...' for a "clean" > downgrade.
Package yum-3.4.3-152.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing yum-3.4.3-152.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-7485/yum-3.4.3-152.fc20 then log in and leave karma (feedback).
*** Bug 1111300 has been marked as a duplicate of this bug. ***
Thanks for the fix. Now since my current yum is broken, I couldn't install the new yum using (the broken) yum. I had to download 3.4.3-152 from the link and #su -c 'rpm -U yum-3.4.3-152.fc20.noarch.rpm' After that, yum is working again! Thanks! (In reply to Fedora Update System from comment #22) > Package yum-3.4.3-152.fc20: > * should fix your issue, > * was pushed to the Fedora 20 testing repository, > * should be available at your local mirror within two days. > Update it with: > # su -c 'yum update --enablerepo=updates-testing yum-3.4.3-152.fc20' > as soon as you are able to. > Please go to the following url: > https://admin.fedoraproject.org/updates/FEDORA-2014-7485/yum-3.4.3-152.fc20 > then log in and leave karma (feedback).
https://admin.fedoraproject.org/updates/FEDORA-2014-7485/yum-3.4.3-152.fc20 fixed it for me.
Another user experienced a similar problem: why yum update not working? reporter: libreport-2.2.2 cmdline: /usr/bin/python /usr/bin/package-cleanup -y --oldkernels --count=1 dso_list: yum-3.4.3-148.fc20.noarch executable: /usr/bin/package-cleanup kernel: 3.14.6-200.fc20.x86_64 package: yum-utils-1.1.31-23.fc20 reason: packages.py:1422:_filter_deps:TypeError: zip argument #2 must support iteration runlevel: N 5 type: Python uid: 0
yum-3.4.3-152.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
yum-3.4.3-152.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/yum-3.4.3-152.fc19
*** Bug 1109479 has been marked as a duplicate of this bug. ***