This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes

Bug 276151

Summary: yum downloads metadata unnecessarily
Product: [Fedora] Fedora Reporter: Craig Schlenter <craig>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: james.antill, mtasaka, ondrejj, pmatilai, tla
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 3.2.5-1.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-09-17 23:20:53 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 235703    

Description Craig Schlenter 2007-09-04 09:46:33 EDT
Yum is downloading metadata when it shouldn't have to - surely it can't
need metadata when I am asking it to clean everything? Yum version is 3.2.4
btw.

root@linux~]# yum clean all
Loading "changelog" plugin
development               100% |=========================| 2.1 kB    00:08     
primary.sqlite.bz2        100% |=========================| 5.1 MB    05:12     
Cleaning up Everything

Thanks!
Comment 1 Seth Vidal 2007-09-04 15:50:32 EDT
Thanks - found the bug - fixed in upstream will be out in 3.2.5 and later.
patch which fixes it is here:
http://devel.linux.duke.edu/gitweb/?p=yum.git;a=commitdiff;h=623233e928ae79040a4c75f6eb7548ce7cd56cbb
Comment 2 Seth Vidal 2007-09-08 09:53:45 EDT
*** Bug 283561 has been marked as a duplicate of this bug. ***
Comment 3 Seth Vidal 2007-09-10 09:03:49 EDT
*** Bug 284381 has been marked as a duplicate of this bug. ***
Comment 4 Jan ONDREJ 2007-09-10 09:19:50 EDT
My bug writes also something about a filtering these unnecessary downloads for
yum update or yum install:

May be yum can detect this after downloading 2-3 files and re-download
repomd.xml from same server as primary.sqlite file.
Is it possible to implement something like this?
Comment 5 Seth Vidal 2007-09-10 09:49:00 EDT
install/update downloads of metadata is another thing that is hard to address
right now.

If you're talking about a stale repomd.xml file then some of that is supposed to
be handled by mirrormanager.
Comment 6 Fedora Update System 2007-09-12 12:41:16 EDT
yum-3.2.5-1.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
Comment 7 Fedora Update System 2007-09-17 23:20:46 EDT
yum-3.2.5-1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.