Bug 8346 - Check for package list update before downloading (old issue #117)
Summary: Check for package list update before downloading (old issue #117)
Status: ACCEPTED
Alias: None
Product: opkg
Classification: Yocto Project Subprojects
Component: opkg (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided enhancement
Target Milestone: next-minor
Assignee: Alex Stewart
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-09-20 22:58 UTC by Alejandro del Castillo
Modified: 2021-07-08 15:32 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro del Castillo 2015-09-20 22:58:43 UTC
Calling `opkg update` several times will download package lists each time.
When there is a need to check for updates continuously it could lead to download big amount of redundant data.
It would be great if `opkg update` could check if package list had been changed on the server by downloading only HTTP HEAD before actual downloading.

Originally reported by KirGeNe, Dec 30, 2013
-----------------------------------------------------------------------------

#1 paul.betafive (Jan 1, 2014)
This would definitely be beneficial, it's less important than fixing some of the current bugs though.
Comment 1 Alex Stewart 2021-07-08 15:32:35 UTC
The implementation of this enhancement should include a way for a system admin to disable the optimization (force re-downloading the index). This could maybe be a per-source tag?