<?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>9404</bug_id>
          
          <creation_ts>2016-04-06 19:34:51 +0000</creation_ts>
          <short_desc>Smart will remove RECOMMENDS during a remove command</short_desc>
          <delta_ts>2017-03-16 06:24:48 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>Package Management Issues</product>
          <component>package-management-issues</component>
          <version>1.5.5</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jate Sujjavanich">jatedev</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>60856</commentid>
    <comment_count>0</comment_count>
    <who name="Jate Sujjavanich">jatedev</who>
    <bug_when>2016-04-06 19:34:51 +0000</bug_when>
    <thetext>Preconditions/Environment
-------------------------
On an derived from poky dora-1.5, firewall kernel modules were moved from module space to kernel space. The image used RPM packages.

Triggering Action/Cause
-----------------------
smart remove kernel-module-nf-* 

Expectation
-----------
The smart package manager should remove only kernel-module-nf*

Actual Result
-------------
The smart package manager removes ufw which RECOMMENDS a number of kernel firewall modules

Reproducibility
---------------
Always</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60913</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-04-07 14:53:30 +0000</bug_when>
    <thetext>Can you confirm if this is present on master. If its only present in dora, we&apos;re unlikely to go back and fix it at this point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60950</commentid>
    <comment_count>2</comment_count>
    <who name="Jate Sujjavanich">jatedev</who>
    <bug_when>2016-04-07 23:59:22 +0000</bug_when>
    <thetext>Preconditions/Environment
-------------------------
Tried the master branch of poky. Machine is qemuarm. Started with core-image-base, and added iptables which pulled in several kernel modules via RRECOMMENDS.

Triggering Action/Cause
-----------------------
root@qemuarm:~# smart remove kernel-module-x-tables

Expectation
-----------
The smart package manager should not remove iptables. The package iptables RECOMMENDS the kernel modules.

Actual Result
-------------
Loading cache...
Updating cache...               ######################################## [100%]

Computing transaction...

Removing packages (4):
  iptables-1.6.0-r0@armv5e                                                      
  kernel-module-ip-tables-4.4.3+git0+770996a263_8809b2c36a-r0@qemuarm           
  kernel-module-iptable-filter-4.4.3+git0+770996a263_8809b2c36a-r0@qemuarm      
  kernel-module-x-tables-4.4.3+git0+770996a263_8809b2c36a-r0@qemuarm            

897.9kB will be freed.

Confirm changes? (Y/n):

There are RDEPENDS between kernel-module-ip-tables and the other two kernel modules listed.

Reproducibility
---------------
Always</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61357</commentid>
    <comment_count>3</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2016-04-18 20:42:30 +0000</bug_when>
    <thetext>It appears the NEEDINFO has been supplied.  If not, please comment on what is still needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71338</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2017-03-16 06:24:48 +0000</bug_when>
    <thetext>Smart is gone, now it is DNF.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>