[Bug 297361] New: yum doesn't work with Factory
https://bugzilla.novell.com/show_bug.cgi?id=297361 Summary: yum doesn't work with Factory Product: openSUSE 10.3 Version: Alpha 6 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: poeml@novell.com QAContact: qa@suse.de Found By: --- root@cherry ~ # yum update Setting up Update Process opensuse 100% |=========================| 951 B 00:00 opensuse-nonoss 100% |=========================| 951 B 00:00 Resolving Dependencies --> Running transaction check ---> Package permissions.ppc 0:2007.6.12-9 set to be updated ---> Package yast2-packager.ppc 0:2.15.52-3 set to be updated ---> Package xlockmore.ppc 0:5.23-56 set to be updated ---> Package html2ps.ppc 0:1.0b5-69 set to be updated ---> Package perl-X500-DN.ppc 0:0.29-5 set to be updated ---> Package lukemftp.ppc 0:1.5-650 set to be updated ---> Package neon.ppc 0:0.26.4-5 set to be updated ---> Package netpbm.ppc 0:10.26.22-65 set to be updated ---> Package gpa.ppc 0:0.7.6-17 set to be updated ---> Package mrtg.ppc 0:2.15.2-23 set to be updated ---> Package libbz2-1.ppc 0:1.0.4-32 set to be updated ---> Package imlib.ppc 0:1.9.14-289 set to be updated ---> Package cairo.ppc 0:1.4.10-9 set to be updated ---> Package PolicyKit.ppc 0:0.2_git20060822-82 set to be updated Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 135, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 549, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 794, in resolveDeps deps = self._mytsCheck() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 775, in _mytsCheck ret.extend(self._checkRemove(txmbr)) File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 1029, in _checkRemove for pkgtup in self.rpmdb.whatRequires(provname, None, None): File "/usr/lib/python2.5/site-packages/yum/rpmsack.py", line 422, in whatRequires pkgs = self.searchRequires(name) File "/usr/lib/python2.5/site-packages/yum/rpmsack.py", line 148, in searchRequires return self.searchPrco(name, 'requires') File "/usr/lib/python2.5/site-packages/yum/rpmsack.py", line 127, in searchPrco if not result.has_key(po.pkgid): TypeError: list objects are unhashable -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297361#c1 --- Comment #1 from Peter Poeml <poeml@novell.com> 2007-08-04 02:47:48 MST --- It works with yum --exclude fillup --exclude insserv --exclude dvb update So one of those packages seems to have something which breaks it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297361 Peter Poeml <poeml@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |cthiel@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297361#c2 --- Comment #2 from Peter Poeml <poeml@novell.com> 2007-08-06 03:03:08 MST --- I'm seeing another problem which shows up during the update. Interestingly, in the middle of _downloading_ the packages: [...] (492/857): mutt-1.5.16-10 100% |=========================| 1.4 MB 00:05 (493/857): irda-0.9.18-76 100% |=========================| 66 kB 00:00 (494/857): perl-PlRPC-0.2 100% |=========================| 34 kB 00:00 (495/857): hermes-1.3.2-5 100% |=========================| 54 kB 00:00 (496/857): xdg-utils-1.0. 100% |=========================| 50 kB 00:00 (497/857): ddrescue-1.13_ 100% |=========================| 37 kB 00:00 (498/857): liblcms-1.16-2 100% |=========================| 164 kB 00:00 (499/857): opensp-1.5.2-1 100% |=========================| 882 kB 00:03 (500/857): MozillaThunder 100% |=========================| 8.4 MB 00:35 (501/857): yum-utils-1.1. 100% |=========================| 41 kB 00:00 (502/857): update-alterna 100% |=========================| 13 kB 00:00 python: ./rpmio_internal.h:525: c2f: Assertion `fd && fd->magic == 0x04463138' failed. [2] - 5304 abort (core dumped) yum --exclude fillup --exclude insserv --exclude dvb update yum --exclude fillup --exclude insserv --exclude dvb update 646.05s user 60.06s system 2% cpu 8:18:13.28 total zsh: exit 134 This sounds like a bug in rpm (or hardware failure, but the notebook has been running solidly so far). I haven't found matching debuginfo to analyse the core, unfortunately. I would open a separate bug report about it - however I can't reproduce it. So I'll wait until it reappears. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297361#c3 --- Comment #3 from Peter Poeml <poeml@novell.com> 2007-08-06 03:05:33 MST --- Trying to install individual of the problematic packages, I get two different errors, which indicate that there might be two different problems: root@cherry /etc/yum.repos.d # yum update dvb Setting up Update Process opensuse 100% |=========================| 951 B 00:00 opensuse-debug 100% |=========================| 951 B 00:00 primary.xml.gz 100% |=========================| 1.1 MB 00:07 opensuse-d: ################################################## 6670/6670 opensuse-nonoss 100% |=========================| 951 B 00:00 primary.xml.gz 100% |=========================| 94 kB 00:00 opensuse-n: ################################################## 212/212 Resolving Dependencies --> Running transaction check filelists.xml.gz 100% |=========================| 14 MB 01:36 /usr/lib/python2.5/site-packages/yum/depsolve.py:1019: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal if newpoprovs.has_key(prov): Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 135, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 549, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 794, in resolveDeps deps = self._mytsCheck() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 775, in _mytsCheck ret.extend(self._checkRemove(txmbr)) File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 1029, in _checkRemove for pkgtup in self.rpmdb.whatRequires(provname, None, None): File "/usr/lib/python2.5/site-packages/yum/rpmsack.py", line 422, in whatRequires pkgs = self.searchRequires(name) File "/usr/lib/python2.5/site-packages/yum/rpmsack.py", line 148, in searchRequires return self.searchPrco(name, 'requires') File "/usr/lib/python2.5/site-packages/yum/rpmsack.py", line 122, in searchPrco mi = ts.dbMatch(tag, name.encode('us-ascii')) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 28: ordinal not in range(128) [2] 32307 exit 1 yum update dvb yum update dvb 234.81s user 22.61s system 38% cpu 11:13.93 total root@cherry /etc/yum.repos.d # yum update insserv Setting up Update Process opensuse 100% |=========================| 951 B 00:00 opensuse-debug 100% |=========================| 951 B 00:00 opensuse-nonoss 100% |=========================| 951 B 00:00 Resolving Dependencies --> Running transaction check ---> Package insserv.ppc 0:1.09.0-35 set to be updated Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 135, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 549, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 794, in resolveDeps deps = self._mytsCheck() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 775, in _mytsCheck ret.extend(self._checkRemove(txmbr)) File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 1029, in _checkRemove for pkgtup in self.rpmdb.whatRequires(provname, None, None): File "/usr/lib/python2.5/site-packages/yum/rpmsack.py", line 422, in whatRequires pkgs = self.searchRequires(name) File "/usr/lib/python2.5/site-packages/yum/rpmsack.py", line 148, in searchRequires return self.searchPrco(name, 'requires') File "/usr/lib/python2.5/site-packages/yum/rpmsack.py", line 127, in searchPrco if not result.has_key(po.pkgid): TypeError: list objects are unhashable [2] 32376 exit 1 yum update insserv yum update insserv 48.05s user 7.16s system 28% cpu 3:16.60 total root@cherry /etc/yum.repos.d # -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297361#c4 Christoph Thiel <cthiel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |poeml@novell.com --- Comment #4 from Christoph Thiel <cthiel@novell.com> 2007-08-07 01:30:29 MST --- I'v just updated yum in STABLE -- Peter, could you please try to reproduce with the latests version? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297361#c6 Peter Poeml <poeml@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|poeml@novell.com | --- Comment #6 from Peter Poeml <poeml@novell.com> 2007-08-07 05:24:18 MST --- Both errors are still there. The TypeError with insserv, and the UnicodeDecodeError with the dvb package. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297361#c7 --- Comment #7 from Christoph Thiel <cthiel@novell.com> 2007-08-07 07:35:21 MST --- (In reply to comment #2 from Peter Poeml)
I'm seeing another problem which shows up during the update. Interestingly, in the middle of _downloading_ the packages:
[...] (492/857): mutt-1.5.16-10 100% |=========================| 1.4 MB 00:05 (493/857): irda-0.9.18-76 100% |=========================| 66 kB 00:00 (494/857): perl-PlRPC-0.2 100% |=========================| 34 kB 00:00 (495/857): hermes-1.3.2-5 100% |=========================| 54 kB 00:00 (496/857): xdg-utils-1.0. 100% |=========================| 50 kB 00:00 (497/857): ddrescue-1.13_ 100% |=========================| 37 kB 00:00 (498/857): liblcms-1.16-2 100% |=========================| 164 kB 00:00 (499/857): opensp-1.5.2-1 100% |=========================| 882 kB 00:03 (500/857): MozillaThunder 100% |=========================| 8.4 MB 00:35 (501/857): yum-utils-1.1. 100% |=========================| 41 kB 00:00 (502/857): update-alterna 100% |=========================| 13 kB 00:00 python: ./rpmio_internal.h:525: c2f: Assertion `fd && fd->magic == 0x04463138' failed. [2] - 5304 abort (core dumped) yum --exclude fillup --exclude insserv --exclude dvb update yum --exclude fillup --exclude insserv --exclude dvb update 646.05s user 60.06s system 2% cpu 8:18:13.28 total zsh: exit 134
This sounds like a bug in rpm (or hardware failure, but the notebook has been running solidly so far). I haven't found matching debuginfo to analyse the core, unfortunately. I would open a separate bug report about it - however I can't reproduce it. So I'll wait until it reappears.
Please open a bug on that one in any case. MLS might be able to help. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297361#c8 Peter Poeml <poeml@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #8 from Peter Poeml <poeml@novell.com> 2007-08-07 10:00:56 MST --- There is a problematic package in the rpm database. It is the pmud package (old -- with distribution tag 8.2.99), a package which doesn't exist any longer in the distribution. yum seems to iterate over all packages and check their requires/provides. When it comes to pmud, it crashes because pkgid is not a string but an empty list. (debug output) [...] prcotup: ('fillup', None, (None, None, None)) hdr: <rpm.hdr object at 0x337e98f0> po: cyrus-sasl-saslauthd - 2.1.22-69.ppc prcotup: ('fillup', None, (None, None, None)) hdr: <rpm.hdr object at 0x337e9b00> po: openssh - 4.6p1-36.ppc prcotup: ('fillup', None, (None, None, None)) hdr: <rpm.hdr object at 0x337e9b30> po: pmud - 0.10.1-58.ppc prcotup: ('fillup', None, (None, None, None)) [crash] After removing the pmud package everything suddenly works. Thus, the problem occurs only with rpm databases which contain such a problematic package (whatever the problem with the package was). Likely the same as the issue reported here: https://lists.dulug.duke.edu/pipermail/yum/2007-July/009963.html Closing as worksforme... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com