Bug 1412640
| Summary: | Should installer run 'yum clean' during upgrade? | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Lukáš Hellebrandt <lhellebr> |
| Component: | Upgrades | Assignee: | Tomáš Kašpárek <tkasparek> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lukáš Hellebrandt <lhellebr> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 580 | CC: | tlestach |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-06-21 12:18:08 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: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1393921 | ||
There's a typo in the error message: s/metadat/metadata/ Verified with rhn-upgrade-5.8.0.12-1, Satellite 570 on EmbPostgreSQL RHEL6 s390x -> 5.8. Upgrade now works without error even on freshly installed Satellite. Also when manually making yum to download repodata for the old repo before upgrade, everything works. |
Description of problem: When upgrading Satellite (for some reason, I have only been able to reproduce this on s390x), the upgrade fails with: ---> Package spacewalk-setup-jabberd.noarch 0:2.3.2-1.el6sat will be an update Error: failed to retrieve repodata/51e2297081b5e027babe8de3c551df5be7702aa37383900507491de558220dfe-filelist s.xml.gz from rhel-s390x-server-6 error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" I then need to 'yum clean all', run upgrade again and everything works. Should we run yum clean during upgrade? I think it is caused by different path to packages ($YUM0/Satellite vs $YUM0). How reproducible: Sometimes Steps to Reproduce: 1. ./install.pl --upgrade 2. cat /var/log/rhn/rhn_installation.log Actual results: Error shown above Expected results: Successfull upgrade