Bug 440159
Summary: | [PATCH] provide better feedback when a package is replaced due to obsoletes. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Todd Zullinger <tmz> |
Component: | yum | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | ffesti, james.antill, katzj, mefoster, 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: | 2008-04-14 20:21:03 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
Todd Zullinger
2008-04-01 22:52:09 UTC
Created attachment 299987 [details]
Patch to provide better feedback when a package is replaced due to obsoletes.
Created attachment 299989 [details]
yum -d10 localinstall mod_jk*.rpm (without httpd installed)
Created attachment 299990 [details]
yum -d10 localinstall mod_jk*.rpm (with httpd installed)
I just had some confusing issues, also I think driven by behind-the-scenes processing of Obsoletes. I decided I wanted to install java-1.6.0-openjdk* from Rawhide on my Fedora 8 machine (which already has java-1.7.0-icedtea*). Note that java-1.6.0-openjdk Obsoletes java-1.7.0-icedtea < 0:1.7.0.0-0.999. On the first attempt, it presented me with the list of packages to be installed, asked if I wanted to do this, and then failed on rpm_check_debug because "Package pl-jpl needs java-icedtea, this is not available." This is the only time icedtea was mentioned in the whole transaction. I removed pl-jpl and tried again. This time, the transaction went through, and -- in addition to installing openjdk*, it also deleted icedtea*. But the transaction summary doesn't reflect this. I'll attach the console output from both of these transations shortly. Created attachment 302322 [details]
Installing openjdk with failure at end
Note that the only mention of icedtea is in the error at the end.
Created attachment 302323 [details]
Installing openjdk successfully (and incidentally removing icedtea)
Especially notice the transaction summary at the end that doesn't mention the
erased packages.
Todd, merged this patch upstream. thanks. Mary, Your problem is actually separate and filed under rpm. |