Bug 499387
Summary: | Not using presto (or wrong download size) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Monreal <michael.monreal> | ||||||
Component: | PackageKit | Assignee: | Richard Hughes <richard> | ||||||
Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 11 | CC: | jonathan, lmacken, rhughes, richard, smparrish, t.chrzczonowicz | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2010-03-22 16:01:09 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Michael Monreal
2009-05-06 13:47:23 UTC
Created attachment 342646 [details]
Screenshot PK
Created attachment 342647 [details]
Screenshot yum
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Any updates/comments Richard? -- Steven M. Parrish - KDE Triage Master - PackageKit Triager Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers Without reading the presto source code in any great detail, I would say it's because the yum-presto code is a plugin, and hence when we ask yum the size of the update, it gives us the data without looking at the plugin data. We would have to get a presto developer to help us fix this one properly. Richard, what do you want to do with this one. Keep it open as a RFE or close as WONTFIX? -- Steven M. Parrish - KDE Triage Master - PackageKit Triager Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers *** Bug 522912 has been marked as a duplicate of this bug. *** I am happy to help with this on the yum-presto side of things, but I'm not sure how to give you what you need. (In reply to comment #8) > I am happy to help with this on the yum-presto side of things, but I'm not sure > how to give you what you need. From a given pkg, I need to know how to find the total download size of the package. At the moment I'm just using pkg.size, but for presto packages this is obviously the size of the whole rpm, not the size of the delta-rpm that needs to be downloaded. Ideas welcome. Thanks. Ok, a couple of things I've noticed as I've looked a bit more closely at this. Yum-presto does most of its work in the predownload_hook, including downloading the presto metadata, so it can't tell you anything before that (and it doesn't change yum's summary). So I'm not sure why PK and yum have different totals, but I don't think it has anything to do with presto. It may be that yum checks for already downloaded packages and removes them from the total. I'm not sure if PackageKit does that. |