Bug 466494 - yumdownloader reports false "already exists" errors
Summary: yumdownloader reports false "already exists" errors
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: yum-utils
Version: 5.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: James Antill
QA Contact: James Antill
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-10 15:08 UTC by Petr Šplíchal
Modified: 2016-06-01 01:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 534048 (view as bug list)
Environment:
Last Closed: 2013-03-12 20:23:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Petr Šplíchal 2008-10-10 15:08:43 UTC
Description of problem:
When downloading package(s) with yumdownloader there are several "already exists" errors reported but the package is not present. Nevertheless the package is downloaded ok.

Version-Release number of selected component (if applicable):
yum-utils-1.1.16-8.el5

Steps to Reproduce:
# yumdownloader perl
  
Actual results:
Loaded plugins: rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
perl-5.8.8-18.el5.ppc.rpm           |  12 MB     00:00     
./perl-5.8.8-18.el5.ppc.rpm already exists and appears to be complete
./perl-5.8.8-18.el5.ppc.rpm already exists and appears to be complete
./perl-5.8.8-18.el5.ppc.rpm already exists and appears to be complete

Expected results:
perl-5.8.8-18.el5.ppc.rpm           |  12 MB     00:00     

Additional info:
Works fine, when a single repository is enabled:
# yumdownloader perl --disablerepo=\* --enablerepo=rhts-custom6
Loaded plugins: rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
perl-5.8.8-18.el5.ppc.rpm           |  12 MB     00:00

Comment 1 James Antill 2008-10-10 15:29:38 UTC
 What does "yum --showduplicates list perl" say (I'm assuming you have the 3.2.19 yum)?

 What the above output is saying is that it's found 4 different packages for perl, and so it downloads the first one ... which works. And then it tries to download the next 3 ... but they are identicaly named, so it's refusing to do so.

Comment 2 Petr Šplíchal 2008-10-10 16:19:57 UTC
I says just one line

# yum --showduplicates list perl
Installed Packages
perl.ppc                   4:5.8.8-18.el5                   installed

Comment 3 James Antill 2013-03-12 20:23:21 UTC
 A lot of fixes went in upstream to stop duplicate downloads (in both yum and yumdownloader). It should be fixed in RHEL-6, if not in RHEL-5 since this BZ.


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