Bug 307541
Summary: | install failure -> ts_done name in te is fedora-release-notes should be faad2 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nicolas Mailhot <nicolas.mailhot> | ||||
Component: | yum | Assignee: | Seth Vidal <skvidal> | ||||
Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | rawhide | CC: | chuck.lasher, h1k6zn2m, h.reindl, james.antill, kparal, pmatilai, tim.lauridsen | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-12-07 03:13:01 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Nicolas Mailhot
2007-09-26 18:03:44 UTC
(19:53:57) nim-nim: skvidal: # rpm -q rpm (19:53:57) nim-nim: rpm-4.4.2.2-0.5.rc2 (19:54:14) skvidal: hmm - shouldn't be happening there that I know of (19:54:20) skvidal: was that the version it was on before? (19:54:49) nim-nim: rpm was not updated during this yum update 19:55 (19:55:23) nim-nim: what's interesting is one package install failed (19:55:34) nim-nim: Updating : fedora-release-notes ####################### [36/86] (19:55:34) nim-nim: error: unpacking of archive failed on file /usr/share/doc/HTML/release-notes/de/css: cpio: rename (19:55:34) nim-nim: Error unpacking rpm package fedora-release-notes - 7.92-1.noarch (19:55:50) nim-nim: and the first ts_done message is (19:56:01) nim-nim: Cleanup : faad2 ####################### [65/86] (19:56:01) nim-nim: ts_done name in te is fedora-release-notes should be faad2 (19:56:51) nim-nim: so maybe the release-notes failure triggered an rpm/yum bug (19:57:28) skvidal: nim-nim: ah, you may be right b/c the rest of that te didn't run (19:57:38) skvidal: nim-nim: please file that wit hthe examples so I know to account for it I think that this is a side-effect of bug 306781. Something was supposed to be installed, and failed, and a list of packages to cleanup diverges by at least one from reality. As a result from that moment on to the very end one gets for every package: "ts_done name in te is <something> should be <something_else>". Not really helpful and in this particular case failed 'fedora-release-notes' should be just dropped from a cleanup list. Right, this is different from the other case where package was not updated but there were no callbacks issued if it contained no files, throwing yums bookkeeping out of order. fedora-release-notes didn't get updated so there's nothing to clean up - no callbacks. The unpack/cpio errors you could catch and account for in yum bookkeeping but I think the same will happen if package scriptlet fails, and there's no error callback on that case (at the moment and wont happen in time for F8)... Just a caffeine deprived morning idea, but yum might be better off using a hash instead of an ordered list for the ts_done bookkeeping and look at the undone bits after the transaction has completed. For added bonus, it could give a nice summary of the failures. Panu, that sounds like a pretty good idea - I'll work on that. On the plus side -we've found all sorts of interesting things as a result of this :) Panu, uninst_start doesn't get passed a header. it, like uninst_stop gets passed only a simple package name. So any dict I used would be a dodgy match, at best. Right, didn't remember there were some extra complications present in the python bindings wrt this. The header is available on C-level callbacks but not in python for whatever historical issues (see this old post by JBJ on the subject: https://lists.dulug.duke.edu/pipermail/rpm-python-list/2003-October/000012.html) It would be possible to present more information to python than just the name but it'd be an incompatible change that can't be done in rpm 4.4.x, barring a special flag to set for "enhanced callbacks" and default for legacy behavior or something like that. Looking at history data, there used to be some hacks to get the header through an extra gettsHeader() call but that's been removed without comments. What's there now is: /* Synthesize a python object for callback (if necessary). */ if (pkgObj == NULL) { if (h) { const char * n = NULL; (void) headerNVR(h, &n, NULL, NULL); pkgObj = Py_BuildValue("s", n); } else { pkgObj = Py_None; Py_INCREF(pkgObj); } } else Py_INCREF(pkgObj); On the surface it'd look like one could just create the python header object there for passing along to the callback instead of just a string containing the name. Maybe there's a deeper reason for not doing so, maybe it's just a bad idea that never got fixed to avoid incompatibilities - I dunno... The message at least is quieted now, so dropping off the target list. I'm going to close this bug cantfix b/c, well, I can't. *** Bug 433373 has been marked as a duplicate of this bug. *** I have just seen this problem in yum.log in F13 Beta RC4. Still CANTFIX? I doubt you've seen this exact error. I suspect you've seen a package with an aborted pre script that kept it from being removed/cleaned up. Can you post the output here? Created attachment 404719 [details]
yum log with failures
Exactly as you say, failed pre-scriptlet caused many many error messages in yum.log. Just wondering if it is possible to get rid of this message flood now.
here this happened on one of two cloed machines and the difference was that on the failing one for whatever reason systemd.automount for /boot did not work and /boot was not mounted this affected only the grub2-package but why in the world results this in a lot of message from unaffacted packages? Nov 28 14:47:14 Updated: bash-4.2.39-2.fc17.x86_64 Nov 28 14:47:14 Updated: openssh-5.9p1-28.fc17.x86_64 Nov 28 14:47:15 1:grub2-tools-2.0-0.39.fc17.x86_64: 100 Nov 28 14:47:15 Updated: 1:perl-Pod-Escapes-1.04-218.fc17.noarch Nov 28 14:47:16 Updated: 4:perl-libs-5.14.3-218.fc17.x86_64 Nov 28 14:47:16 Updated: 4:perl-macros-5.14.3-218.fc17.x86_64 Nov 28 14:47:16 Updated: 1:perl-Module-Pluggable-3.90-218.fc17.noarch Nov 28 14:47:16 Updated: perl-PathTools-3.33-218.fc17.x86_64 Nov 28 14:47:17 Updated: 1:perl-Pod-Simple-3.16-218.fc17.noarch Nov 28 14:47:19 Updated: 4:perl-5.14.3-218.fc17.x86_64 Nov 28 14:47:19 Updated: 1:perl-ExtUtils-ParseXS-2.2210-218.fc17.noarch Nov 28 14:47:20 Updated: 4:perl-devel-5.14.3-218.fc17.x86_64 Nov 28 14:47:20 Updated: perl-ExtUtils-Install-1.56-218.fc17.noarch Nov 28 14:47:21 Updated: 1:perl-Digest-SHA-5.61-218.fc17.x86_64 Nov 28 14:47:21 Updated: perl-HTTP-Tiny-0.012-218.fc17.noarch Nov 28 14:47:22 Updated: fftw-libs-quad-3.3.3-1.fc17.x86_64 Nov 28 14:47:22 Updated: fftw-libs-double-3.3.3-1.fc17.x86_64 Nov 28 14:47:23 Updated: libreport-filesystem-2.0.19-2.fc17.x86_64 Nov 28 14:47:24 Updated: libreport-2.0.19-2.fc17.x86_64 Nov 28 14:47:25 Updated: libreport-python-2.0.19-2.fc17.x86_64 Nov 28 14:47:27 Updated: hplip-common-3.12.11-1.fc17.x86_64 Nov 28 14:47:27 Updated: hplip-libs-3.12.11-1.fc17.x86_64 Nov 28 14:47:29 Updated: 1:hpijs-3.12.11-1.fc17.x86_64 Nov 28 14:47:30 Updated: fftw-libs-single-3.3.3-1.fc17.x86_64 Nov 28 14:47:30 Updated: fftw-libs-long-3.3.3-1.fc17.x86_64 Nov 28 14:47:31 Updated: fftw-libs-3.3.3-1.fc17.x86_64 Nov 28 14:47:31 Updated: hplip-3.12.11-1.fc17.x86_64 Nov 28 14:47:32 Updated: perl-CPAN-1.9600.01-218.fc17.noarch Nov 28 14:47:32 Updated: 1:perl-parent-0.225-218.fc17.noarch Nov 28 14:47:32 Updated: 3:perl-version-0.88-218.fc17.noarch Nov 28 14:47:33 Updated: perl-Test-Harness-3.23-218.fc17.noarch Nov 28 14:47:33 Updated: perl-CGI-3.52-218.fc17.noarch Nov 28 14:47:33 Updated: perl-Digest-MD5-2.51-218.fc17.x86_64 Nov 28 14:47:34 Updated: perl-Test-Simple-0.98-218.fc17.noarch Nov 28 14:47:34 1:grub2-2.0-0.39.fc17.x86_64: 100 Nov 28 14:47:34 Updated: openssh-askpass-5.9p1-28.fc17.x86_64 Nov 28 14:47:35 Updated: openssh-clients-5.9p1-28.fc17.x86_64 Nov 28 14:47:35 Updated: openssh-server-5.9p1-28.fc17.x86_64 Nov 28 14:47:38 perl-HTTP-Tiny-0.012-217.fc17.noarch: ts_done name in te is grub2 should be perl-HTTP-Tiny-0.012-217.fc17.noarch Nov 28 14:47:38 perl-Test-Simple-0.98-217.fc17.noarch: ts_done name in te is perl-HTTP-Tiny should be perl-Test-Simple-0.98-217.fc17.noarch Nov 28 14:47:38 3:perl-version-0.88-217.fc17.noarch: ts_done name in te is perl-Test-Simple should be 3:perl-version-0.88-217.fc17.noarch Nov 28 14:47:39 1:perl-parent-0.225-217.fc17.noarch: ts_done name in te is perl-version should be 1:perl-parent-0.225-217.fc17.noarch Nov 28 14:47:39 hplip-3.12.10-4.a.fc17.x86_64: ts_done name in te is perl-parent should be hplip-3.12.10-4.a.fc17.x86_64 Nov 28 14:47:39 1:hpijs-3.12.10-4.a.fc17.x86_64: ts_done name in te is hplip should be 1:hpijs-3.12.10-4.a.fc17.x86_64 Nov 28 14:47:39 openssh-server-5.9p1-27.fc17.x86_64: ts_done name in te is hpijs should be openssh-server-5.9p1-27.fc17.x86_64 Nov 28 14:47:40 openssh-clients-5.9p1-27.fc17.x86_64: ts_done name in te is openssh-server should be openssh-clients-5.9p1-27.fc17.x86_64 Nov 28 14:47:41 hplip-libs-3.12.10-4.a.fc17.x86_64: ts_done name in te is openssh-clients should be hplip-libs-3.12.10-4.a.fc17.x86_64 Nov 28 14:47:41 1:perl-Digest-SHA-5.61-217.fc17.x86_64: ts_done name in te is hplip-libs should be 1:perl-Digest-SHA-5.61-217.fc17.x86_64 Nov 28 14:47:42 libreport-2.0.19-1.fc17.x86_64: ts_done name in te is grub2-tools should be libreport-2.0.19-1.fc17.x86_64 Nov 28 14:47:42 libreport-python-2.0.19-1.fc17.x86_64: ts_done name in te is perl-Digest-SHA should be libreport-python-2.0.19-1.fc17.x86_64 Nov 28 14:47:42 perl-Digest-MD5-2.51-217.fc17.x86_64: ts_done name in te is libreport should be perl-Digest-MD5-2.51-217.fc17.x86_64 Nov 28 14:47:42 1:perl-Module-Pluggable-3.90-217.fc17.noarch: ts_done name in te is libreport-python should be 1:perl-Module-Pluggable-3.90-217.fc17.noarch Nov 28 14:47:43 perl-PathTools-3.33-217.fc17.x86_64: ts_done name in te is perl-Digest-MD5 should be perl-PathTools-3.33-217.fc17.x86_64 Nov 28 14:47:43 1:perl-Pod-Escapes-1.04-217.fc17.noarch: ts_done name in te is perl-Module-Pluggable should be 1:perl-Pod-Escapes-1.04-217.fc17.noarch Nov 28 14:47:43 1:perl-Pod-Simple-3.16-217.fc17.noarch: ts_done name in te is perl-PathTools should be 1:perl-Pod-Simple-3.16-217.fc17.noarch Nov 28 14:47:44 4:perl-libs-5.14.3-217.fc17.x86_64: ts_done name in te is perl-Pod-Escapes should be 4:perl-libs-5.14.3-217.fc17.x86_64 Nov 28 14:47:44 4:perl-macros-5.14.3-217.fc17.x86_64: ts_done name in te is perl-Pod-Simple should be 4:perl-macros-5.14.3-217.fc17.x86_64 Nov 28 14:47:44 4:perl-5.14.3-217.fc17.x86_64: ts_done name in te is perl-libs should be 4:perl-5.14.3-217.fc17.x86_64 Nov 28 14:47:44 openssh-askpass-5.9p1-27.fc17.x86_64: ts_done name in te is perl-macros should be openssh-askpass-5.9p1-27.fc17.x86_64 Nov 28 14:47:45 libreport-filesystem-2.0.19-1.fc17.x86_64: ts_done name in te is perl should be libreport-filesystem-2.0.19-1.fc17.x86_64 Nov 28 14:47:45 hplip-common-3.12.10-4.a.fc17.x86_64: ts_done name in te is openssh-askpass should be hplip-common-3.12.10-4.a.fc17.x86_64 Nov 28 14:47:45 openssh-5.9p1-27.fc17.x86_64: ts_done name in te is libreport-filesystem should be openssh-5.9p1-27.fc17.x86_64 Nov 28 14:47:45 bash-4.2.39-1.fc17.x86_64: ts_done name in te is hplip-common should be bash-4.2.39-1.fc17.x86_64 Nov 28 14:47:46 fftw-libs-single-3.3.1-3.fc17.x86_64: ts_done name in te is openssh should be fftw-libs-single-3.3.1-3.fc17.x86_64 Nov 28 14:47:46 fftw-libs-double-3.3.1-3.fc17.x86_64: ts_done name in te is bash should be fftw-libs-double-3.3.1-3.fc17.x86_64 Nov 28 14:47:46 fftw-libs-long-3.3.1-3.fc17.x86_64: ts_done name in te is fftw-libs-single should be fftw-libs-long-3.3.1-3.fc17.x86_64 Nov 28 14:47:47 fftw-libs-quad-3.3.1-3.fc17.x86_64: ts_done name in te is fftw-libs-double should be fftw-libs-quad-3.3.1-3.fc17.x86_64 *** Bug 1081767 has been marked as a duplicate of this bug. *** |