| Summary: | "nothing to do" when yum localinstall tomcat6-6.0.24-94.el6_7.x86_64.rpm from tomcat6-6.0.24-72.el6_5.noarch.rpm | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | j.ionoff |
| Component: | tomcat6 | Assignee: | Coty Sutherland <csutherl> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tomcat-qe |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.5 | CC: | csutherl, j.ionoff |
| Target Milestone: | rc | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-07 12:59:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
j.ionoff
2016-04-04 20:08:10 UTC
Can you please open a case with Red Hat support and provide a sosreport from the affected machine for our review? I have tried to reproduce the issue on a newly created RHEL 6.5 machine to no avail. Here are my steps: 1. Create new minimal machine # cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.5 (Santiago) 2. Install tomcat6 and yum-utils for yumdownloader # yum install tomcat6-6.0.24-72.el6_5.noarch yum-utils 3. Download the updated RPMs # yumdownloader tomcat6 tomcat6-el-2.1-api tomcat6-jsp-2.1-api tomcat6-lib tomcat6-servlet-2.5-api 4. Try to update # yum localinstall tomcat6-* Loaded plugins: product-id, security, subscription-manager This system is receiving updates from Red Hat Subscription Management. Setting up Local Package Process Examining tomcat6-6.0.24-94.el6_7.x86_64.rpm: tomcat6-6.0.24-94.el6_7.x86_64 Marking tomcat6-6.0.24-94.el6_7.x86_64.rpm as an update to tomcat6-6.0.24-72.el6_5.noarch </snip> Upgrade 5 Package(s) Total size: 3.6 M Is this ok [y/N]: N Exiting on user Command I've tried a couple of other things (adding similarly named packages to try and trip yum update) but nothing seems to reproduce what you're seeing. I'm going to close this for now, but pending the results of the support case, we can reopen it and continue looking into the issue. Have you tried to delete your yum repository configuration and caches like the bug 872611 ? Extract from comments on bug 872611 concerning virt-manager package: > Geyang Kong 2012-11-05 03:20:39 EST I've retried following steps and reproduced this bug now: 1. Install rhel6.2 with virtualization tools 2. Make sure it has virt-manager-0.8.6-4.el6.noarch 3. Make a rhel6.4 repo(since virt-manager-0.9.0-15 depends on some other packages so this step is necessary). 4. Download virt-manager-0.9.0-15.el6.x86_64.rpm 5. yum update virt-manager 6. rpm -e virt-manager 7. Delete the yum repo created in step 3.(This step is necessary, or yum update will work well) 8. Download virt-manager-0.8.6-4.el6.noarch.rpm and install it. 9. yum update virt-manager-0.9.0-15.el6.x86_64.rpm > Have you tried to delete your yum repository configuration and caches like the bug 872611 ?
I had not...using --disablerepo shows the issue:
+++
# yum --disablerepo="*" localinstall tomcat6-*
Loaded plugins: product-id, security, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
Setting up Local Package Process
Examining tomcat6-6.0.24-94.el6_7.x86_64.rpm: tomcat6-6.0.24-94.el6_7.x86_64
Marking tomcat6-6.0.24-94.el6_7.x86_64.rpm as an update to tomcat6-6.0.24-78.el6_5.noarch
<snip>
Nothing to do
+++
The rpm install method seems to work fine, or even putting the RPMs into a local repository works. IMO yum shouldn't check any caches when using localinstall, but that's another issue.
Additionally, it's worth noting that the rhel-6.8 tomcat6 RPMs will be reverting back to noarch, so this issue won't exist in builds after 95.
I'll set this back to new for now and test a build containing the obsoletes tag to see if that resolves the problem, but I really think the solution here is using the 6.8 RPMs, once they've released, so it may be closed again later.
The RHEL 6.8 erratum for tomcat6 released last month; can you please try the install the RPMs from https://access.redhat.com/errata/RHBA-2016:0870 locally and see if that resolves the issue? I just tested this with the rhel-6.8 RPMs and it works as expected. Please upgrade to consume to fix. ok, it works with new noarch packages. |