Bug 1045806 - yum update --downloadonly doesn't resume download, and leave tmp files.
Summary: yum update --downloadonly doesn't resume download, and leave tmp files.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-22 05:20 UTC by kealthou
Modified: 2014-02-06 03:53 UTC (History)
5 users (show)

Fixed In Version: yum-3.4.3-132.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-23 11:09:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description kealthou 2013-12-22 05:20:40 UTC
Description of problem:
yum update --downloadonly doesn't resume download, and leave tmp files under /var/cache/yum/*. (Tmp files of updates from updates repository lie in /var/cache/yum/x86_64/19/updates/packages/). Yum without --downloadonly can resume download, and doesn't leave tmp files after completing download.

Below is my current contents in /var/cache/yum/x86_64/19/updates/packages. Updates of those packages have been done already. But the tmp files still are there.

cpp-4.8.2-7.fc19.x86_64.rpm.31833.tmp
cryptsetup-1.6.3-1.fc19.x86_64.rpm.31833.tmp
cryptsetup-1.6.3-1.fc19.x86_64.rpm.32496.tmp
gcc-4.8.2-1.fc19_4.8.2-7.fc19.x86_64.drpm.32496.tmp
gcc-4.8.2-7.fc19.x86_64.rpm.31833.tmp
gcc-c++-4.8.2-7.fc19.x86_64.rpm.31833.tmp
glibc-2.17-19.fc19_2.17-20.fc19.i686.drpm.32496.tmp
glibc-2.17-19.fc19_2.17-20.fc19.x86_64.drpm
glibc-2.17-20.fc19.i686.rpm.31833.tmp
glibc-devel-2.17-19.fc19_2.17-20.fc19.x86_64.drpm.32496.tmp
glibc-devel-2.17-20.fc19.x86_64.rpm.31833.tmp
glibc-devel-2.17-20.fc19.x86_64.rpm.32496.tmp
glibc-headers-2.17-19.fc19_2.17-20.fc19.x86_64.drpm
glibc-headers-2.17-19.fc19_2.17-20.fc19.x86_64.drpm.32496.tmp
glibc-headers-2.17-20.fc19.x86_64.rpm.31833.tmp
icedtea-web-1.4.1-0.fc19_1.4.1-1.fc19.x86_64.drpm
icedtea-web-1.4.1-0.fc19_1.4.1-1.fc19.x86_64.drpm.32496.tmp
icedtea-web-1.4.1-1.fc19.x86_64.rpm.31833.tmp
kernel-3.11.10-200.fc19_3.12.5-200.fc19.x86_64.drpm.31833.tmp
kernel-3.12.5-200.fc19.x86_64.rpm.31833.tmp
kernel-devel-3.11.10-200.fc19_3.12.5-200.fc19.x86_64.drpm.31833.tmp
kernel-headers-3.11.10-200.fc19_3.12.5-200.fc19.x86_64.drpm.31833.tmp
kernel-headers-3.12.5-200.fc19.x86_64.rpm.31833.tmp
libgcc-4.8.2-1.fc19_4.8.2-7.fc19.i686.drpm.31833.tmp
libgcc-4.8.2-1.fc19_4.8.2-7.fc19.x86_64.drpm.31833.tmp
libgfortran-4.8.2-1.fc19_4.8.2-7.fc19.x86_64.drpm.31833.tmp
libgomp-4.8.2-1.fc19_4.8.2-7.fc19.x86_64.drpm.31833.tmp
libobjc-4.8.2-1.fc19_4.8.2-7.fc19.x86_64.drpm.31833.tmp
libquadmath-4.8.2-1.fc19_4.8.2-7.fc19.x86_64.drpm.31833.tmp
libstdc++-4.8.2-1.fc19_4.8.2-7.fc19.i686.drpm.31833.tmp
libstdc++-4.8.2-1.fc19_4.8.2-7.fc19.x86_64.drpm.31833.tmp
libstdc++-devel-4.8.2-1.fc19_4.8.2-7.fc19.x86_64.drpm.31833.tmp
smokegen-4.11.3-1.fc19_4.11.4-1.fc19.x86_64.drpm.31833.tmp
smokeqt-4.11.3-1.fc19_4.11.4-1.fc19.x86_64.drpm.31833.tmp
sudo-1.8.6p7-1.fc19_1.8.6p7-2.fc19.x86_64.drpm.31833.tmp
xorg-x11-drv-qxl-0.1.1-0.11.20130514git77a1594.fc19_0.1.1-3.fc19.x86_64.drpm.31833.tmp


Version-Release number of selected component (if applicable):
yum-3.4.3-122.fc19.noarch

How reproducible:
always

Steps to Reproduce:
1. sudo yum update --downloadonly
1. wait for yum to download a few updates.
3. press Ctrl-C to cancel download during package downloading
4. sudo yum update --downloadonly again.

Actual results:
Yum ignores downloaded bits and tries to download all updates again. 

Expected results:
Yum reuses downloaded bits, and doesn't leave tmp files after download.

Comment 1 Fedora Update System 2014-01-22 10:54:49 UTC
yum-3.4.3-132.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/yum-3.4.3-132.fc20

Comment 2 Fedora Update System 2014-01-22 11:09:01 UTC
yum-3.4.3-132.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/yum-3.4.3-132.fc19

Comment 3 Fedora Update System 2014-01-23 11:09:52 UTC
yum-3.4.3-132.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2014-02-06 03:53:04 UTC
yum-3.4.3-132.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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