Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionGrant Williamson
2010-08-20 11:28:46 UTC
Description of problem:
I created an rpm of a KVM image.
This rpm can be installed locally on machine, however
yum is unable to download and install this large rpm.
yum reports the size of the rpm to be -1286380771, even though the metadata would report the correct size.
Version-Release number of selected component (if applicable):
yum-3.2.27-13.el6.noarch
rpm-4.8.0-12.el6.x86_64
How reproducible:
create large rpm i.e. 2.9GB, add to a ftp/file/http yum repo, generate headers
try and install it fails ..
yum install ibm-winxp-kvm-3.01
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ibm-winxp-kvm-3.01.noarch 0:1-1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
Package Arch Version Repository Size
Installing:
ibm-winxp-kvm-3.01 noarch 1-1 kvm -1286380771.0
Transaction Summary
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: -1286380771
Installed size: -1250594428
Is this ok [y/N]:
Downloading Packages:
ftp://blah/ibm-winxp-kvm-3.01-1-1.noarch.rpm: [Errno 14] Downloaded more than max size for ftp://blah/ibm-winxp-kvm-3.01-1-1.noarch.rpm: 16384 > -1286380771
Trying other mirror.
Error Downloading Packages:
ibm-winxp-kvm-3.01-1-1.noarch: failure: ibm-winxp-kvm-3.01-1-1.noarch.rpm from kvm: [Errno 256] No more mirrors to try.
Actual results:
File is less that cpio 4gb limit, file will install locally.
Yum download/install fails.
Expected results:
Should download and install.
If I unpack the primary.xml.gz from the repodata I generated.
The size would appear to be correct
<size package="3008586525" installed="3044372868" archive="3044374108"/>
rpm header
Name : ibm-winxp-kvm-3.01 Relocations: (not relocatable)
Version : 1 Vendor: (none)
Release : 1 Build Date: Fri 20 Aug 2010 12:42:15 AM EDT
Install Date: (not installed) Build Host: superrh
Group : Applications/Emulators Source RPM: ibm-winxp-kvm-3.01-1-1.nosrc.rpm
Size : 3044372868 License:
Additional info:
Is there any limit set here?
I can get the rpm to download with a little hack, with an errors since the
checksum fails since "file size" does not match. But the md5sum is good.
i.e.
gunzip primary.xml.gz
Change the size package/installed/archive to blank
<size package="" installed="" archive=""/>
find the size/sha256 sum of the file and modify the results in repomd.xml
ls -l primary.xml ; sha256sum primary.xml ; gzip primary.xml ; ls -l
primary.xml.gz ; sha256sum primary.xml.gz
yumdownloader ibm-winxp-kvm-3.01
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
ibm-winxp-kvm-3.01-1-1.noarch.rpm
| 2.8
GB 01:16
ftp://blah/ibm-winxp-kvm-3.01-1-1.noarch.rpm: [Errno -1] Package does not match
intended download. Suggestion: run yum clean metadata
Trying other mirror.
Could not download/verify pkg ibm-winxp-kvm-3.01-1-1.noarch: failure:
ibm-winxp-kvm-3.01-1-1.noarch.rpm from kvm: [Errno 256] No more mirrors to try.
Something does not seem to parse the size correctly.