Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1696433 - repodata.xml shows installed size 'None'
Summary: repodata.xml shows installed size 'None'
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: createrepo
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-04 20:15 UTC by David Galloway
Modified: 2019-04-04 20:15 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description David Galloway 2019-04-04 20:15:43 UTC
Description of problem:
I discovered this problem while trying to install a package larger than 2GB.

yum fails with: [Errno 14] curl#63 - "Callback aborted"

Upon inspecting the package info, I found the size shows '-2085714488.0' via yum.  repodata.xml shows 2209252808 however.  The installed size according to yum is 0 and 'None' in repodata.xml

If I download the RPM manually and `yum localinstall` it, it installs fine and the installed size is 8.6 GB.

Version-Release number of selected component (if applicable):
createrepo 0.10.3-1

Install attempted on CentOS 7.6

How reproducible:
100%

Steps to Reproduce:
1. cat <<EOF >>/etc/yum.repos.d/ceph.repo
[ceph]
baseurl=https://2.chacra.ceph.com/r/ceph/master/2ba794d7362d69dfa6043068977eac045420641e/centos/7/flavors/notcmalloc/x86_64
enabled=1
failovermethod=priority
gpgcheck=0
name=Ceph
EOF

2. yum clean all
3. yum install ceph-debuginfo

Actual results:
Downloading packages:
ceph-debuginfo-15.0.0-10.g2ba7 FAILED                                          
https://2.chacra.ceph.com/r/ceph/master/2ba794d7362d69dfa6043068977eac045420641e/centos/7/flavors/notcmalloc/x86_64/ceph-debuginfo-15.0.0-10.g2ba794d.el7.x86_64.rpm: [Errno 14] curl#63 - "Callback aborted"                                 ]  0.0 B/s |    0 B  --:--:-- ETA 
Trying other mirror.


Error downloading packages:
  2:ceph-debuginfo-15.0.0-10.g2ba794d.el7.x86_64: [Errno 256] No more mirrors to try.


Expected results:
Package installs

Additional info:
The repo listed in the reproducer will only last for 2 weeks.  I can probably find another example where this occurs in the future if needed though.

I found https://bugzilla.redhat.com/show_bug.cgi?id=612409 but I'm guessing the issue is with createrepo since the installed size is 0.  If it's actually yum, please accept my apologies and re-assign the bug.


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