Bug 10243

Summary: Opkg outputs misleading information when using --download-only option
Product: [Yocto Project Subprojects] opkg Reporter: Alejandro del Castillo <alejandro.delcastillo>
Component: opkgAssignee: Alejandro del Castillo <alejandro.delcastillo>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Undecided CC: jaap.dejong
Version: 0.3.3   
Target Milestone: 0.3.5   
Hardware: Other   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on: 10182    
Bug Blocks:    

Description Alejandro del Castillo 2016-09-08 16:47:33 UTC
Opkg shouldn't output install/remove/upgrade information during --download-only operations.

+++ This bug was initially created as a clone of Bug #10182 +++

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 2017-02-07 16:23:09 UTC
Fixed on be690423a3504f0758c52285e17b96a954569abe