RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1140864 - reposync -u option ignores already downloaded packages
Summary: reposync -u option ignores already downloaded packages
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: yum-utils
Version: 7.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Valentina Mukhamedzhanova
QA Contact: Karel Srot
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-11 21:28 UTC by Larry
Modified: 2015-03-05 09:03 UTC (History)
2 users (show)

Fixed In Version: yum-utils-1.1.31-27.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-05 09:03:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Script (162 bytes, text/plain)
2014-09-11 21:28 UTC, Larry
no flags Details
RHEL 7.0 reposync reults (5.01 KB, text/plain)
2014-09-11 21:30 UTC, Larry
no flags Details
RHEL 6.5 reposync results (4.61 KB, text/plain)
2014-09-11 21:33 UTC, Larry
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0401 0 normal SHIPPED_LIVE yum-utils bug fix and enhancement update 2015-03-05 14:00:14 UTC

Description Larry 2014-09-11 21:28:20 UTC
Created attachment 936675 [details]
Script

Description of problem:
When running reposync and using the -u option to report on items needing downloading, the report always shows that ALL items need to be downloaded even if they already reside in the local repository.


Version-Release number of selected component (if applicable):
RHEL 7.0


How reproducible:
Always


Steps to Reproduce:
1.Run reposync
2.Use option -u
3.

See test script in attachment reposyncCheck.sh
See output results from RHEL 7.0 in attachment reposyncCheckNew
See output results from RHEL 6.5 in attachment reposyncCheckOld

Actual results:
All items residing in the remote repository are reported as needed to be downloaded to the local repository.  This even if the items already exist in the local repository


Expected results:  Only items residing in the remote repository that are not in the local repository should be reported.


Additional info:

Comment 1 Larry 2014-09-11 21:30:45 UTC
Created attachment 936676 [details]
RHEL 7.0 reposync reults

This is the results received running the version of reposync included in RHEL 7.0.  All packages in the Red Hat repository are shown as needing to be downloaded.  Actually, only 2 of these packages are not currently in the local repo.

Comment 2 Larry 2014-09-11 21:33:41 UTC
Created attachment 936677 [details]
RHEL 6.5 reposync results

This is the results received running the version of reposync included in RHEL 6.5 under RHEL 7.0.  Only the 2 packages needing downloading are shown. Others are shown as being skipped.

Comment 4 Valentina Mukhamedzhanova 2014-09-17 08:39:45 UTC
Thank you for the report, here is the upstream fix - http://yum.baseurl.org/gitweb?p=yum-utils.git;a=commitdiff;h=a701efaea04a55530715b6f100fbd7806e52e858

Comment 10 errata-xmlrpc 2015-03-05 09:03:37 UTC
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://rhn.redhat.com/errata/RHBA-2015-0401.html


Note You need to log in before you can comment on or make changes to this bug.