| Summary: | [RFE] Add repository name to yum-cron error message | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Ashlee Burch <aburch> | |
| Component: | yum | Assignee: | Michal Domonkos <mdomonko> | |
| Status: | CLOSED ERRATA | QA Contact: | Jan Blazek <jblazek> | |
| Severity: | low | Docs Contact: | Lenka Kimlickova <lkimlick> | |
| Priority: | high | |||
| Version: | 7.2 | CC: | james.antill, mdomonko, riehecky, salmy, vmukhame | |
| Target Milestone: | rc | Keywords: | FutureFeature, Patch | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | yum-3.4.3-151.el7 | Doc Type: | Release Note | |
| Doc Text: |
If this bug requires documentation, please select an appropriate Doc Type value.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1420802 (view as bug list) | Environment: | ||
| Last Closed: | 2017-08-01 09:07:52 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: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1393866, 1420802 | |||
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2295 |
/usr/lib/python2.7/site-packages/yum/yumRepo.py def _groupCheckDataMDNewer(self): """ We check the timestamps, if any of the timestamps for the "new" data is older than what we have ... we revert. """ if 'old_repo_XML' not in self._oldRepoMDData: return True old_repo_XML = self._oldRepoMDData['old_repo_XML'] if (self.timestamp_check and old_repo_XML.timestamp > self.repoXML.timestamp): logger.warning("Not using downloaded repomd.xml because it is " "older than what we have:\n" " Current : %s\n Downloaded: %s" % (time.ctime(old_repo_XML.timestamp), time.ctime(self.repoXML.timestamp))) return False return True