Bug 10182

Summary: [internalsolv] Orphaned packages are removed when using --download-only option
Product: [Yocto Project Subprojects] opkg Reporter: jaap.dejong
Component: opkgAssignee: Alejandro del Castillo <alejandro.delcastillo>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Undecided    
Version: 0.3.3   
Target Milestone: 0.3.4   
Hardware: Other   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 10243    

Description jaap.dejong 2016-08-24 06:48:26 UTC
The --download-only option should only download the packages needed for an update. It should not anything else, certainly not removing orphaned packages.

root:~# opkg upgrade --download-only
	Downloading http://repo.xyzzy.net/armv5te/wget_1.18-r1.6_armv5te.ipk.
	Downloading http://repo.xyzzy.net/armv5te/libssl1.0.0_1.0.2h-r0.6_armv5te.ipk.
	Downloading http://repo.xyzzy.net/armv5te/cron_3.0pl1-r11.6_armv5te.ipk.
	Downloading http://repo.xyzzy.net/armv5te/dnsmasq_2.71-r4.6_armv5te.ipk.
	Downloading http://repo.xyzzy.net/armv5te/libcrypto1.0.0_1.0.2h-r0.6_armv5te.ipk.
	Downloading http://repo.xyzzy.net/armv5te/netbase_4.21-r4917.6_armv5te.ipk.
	orphanedPackage was autoinstalled and is now orphaned, will remove
	Removing package orphanedPackage...
	 
root:~# opkg list-installed orphanedPackage
root:~#
Comment 1 Alejandro del Castillo 2016-09-08 16:45:00 UTC
fixed on b2ef0800b5940d572063e5c8a1630525b54b7e35