Bug 10243 - Opkg outputs misleading information when using --download-only option
Summary: Opkg outputs misleading information when using --download-only option
Status: RESOLVED FIXED
Alias: None
Product: opkg
Classification: Yocto Project Subprojects
Component: opkg (show other bugs)
Version: 0.3.3
Hardware: Other Multiple
: Undecided minor
Target Milestone: 0.3.5
Assignee: Alejandro del Castillo
QA Contact:
URL:
Whiteboard:
Depends on: 10182
Blocks:
  Show dependency tree
 
Reported: 2016-09-08 16:47 UTC by Alejandro del Castillo
Modified: 2017-02-07 16:23 UTC (History)
1 user (show)

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 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