Bug 1250888

Summary: PackageKit should not download packages in the background with network is limited (bandwidth reduced, or mobile data plan expensive)
Product: [Fedora] Fedora Reporter: Fabrice Bellet <fabrice>
Component: PackageKitAssignee: Richard Hughes <rhughes>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jonathan, klember, rdieter, rhughes, smparrish, yann
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 17:23:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fabrice Bellet 2015-08-06 08:45:25 UTC
I noticed that PackageKit downloads not only repos metadata, but also full rpm packages in the background, and saves them in /var/cache/PackageKit/metadata/<repo>/packages

I didn't find an option to disable this behavior, that may be undesirable in some cases :

  - when access to the network is expensive (eg prepaid access) and/or limited to a fixed amount of data, over mobile broadband for example. In such case, the user may want to choose for which usage he prefers to spend his network access.

  - when available bandwidth is slow already, the user may prefer to keep the full bandwidth available for interactive usage, instead of for background network activity, that silently reduces even more his available bandwidth.

Ideally, if everything could work automatically, the ModemManager/NetworkManager should provide a hint to other apps, if one of the connections that contribute to the default route, should be considered as "rare", and used with economy in mind. And PackageKit could use this hint to download updates more-or-less aggressively.

Comment 1 Fedora End Of Life 2016-07-19 17:23:10 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.