Bug 10182 - [internalsolv] Orphaned packages are removed when using --download-only option
Summary: [internalsolv] Orphaned packages are removed 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 arm
: Undecided major
Target Milestone: 0.3.4
Assignee: Alejandro del Castillo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 10243
  Show dependency tree
 
Reported: 2016-08-24 06:48 UTC by jaap.dejong
Modified: 2016-09-08 16:47 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 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