Bug 8346

Summary: Check for package list update before downloading (old issue #117)
Product: [Yocto Project Subprojects] opkg Reporter: Alejandro del Castillo <alejandro.delcastillo>
Component: opkgAssignee: Alex Stewart <alex.stewart>
Status: ACCEPTED --- QA Contact:
Severity: enhancement    
Priority: Undecided    
Version: unspecified   
Target Milestone: next-minor   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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?