<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10182</bug_id>
          
          <creation_ts>2016-08-24 06:48:26 +0000</creation_ts>
          <short_desc>[internalsolv] Orphaned packages are removed when using --download-only option</short_desc>
          <delta_ts>2016-09-08 16:47:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>opkg</product>
          <component>opkg</component>
          <version>0.3.3</version>
          <rep_platform>Other</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>0.3.4</target_milestone>
          
          <blocked>10243</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter>jaap.dejong</reporter>
          <assigned_to name="Alejandro del Castillo">alejandro.delcastillo</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65474</commentid>
    <comment_count>0</comment_count>
    <who name="">jaap.dejong</who>
    <bug_when>2016-08-24 06:48:26 +0000</bug_when>
    <thetext>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:~#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65931</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2016-09-08 16:45:00 +0000</bug_when>
    <thetext>fixed on b2ef0800b5940d572063e5c8a1630525b54b7e35</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>