<?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>5208</bug_id>
          
          <creation_ts>2013-09-17 06:41:43 +0000</creation_ts>
          <short_desc>Failed to remove packages via  PACKAGE_EXCLUDE</short_desc>
          <delta_ts>2013-09-17 16:21:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.5</version>
          <rep_platform>x86</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>1.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Wenzong.Fan">wenzong.fan</reporter>
          <assigned_to name="Mark Hatle">mark.hatle</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>36763</commentid>
    <comment_count>0</comment_count>
    <who name="Wenzong.Fan">wenzong.fan</who>
    <bug_when>2013-09-17 06:41:43 +0000</bug_when>
    <thetext>This is a common issue that not only for specfic packages, remove python-smartpm for example:

1) echo echo PACKAGE_EXCLUDE = &quot;python-smartpm&quot;  &gt;&gt; local.conf
2) bitbake core-image-sato

Errors:
| Note: adding Smart RPM DB channel
|
| Note: to be installed:  packagegroup-core-ssh-dropbear@all packagegroup-core-x11-sato-games@qemux86 packagegroup-core-x11-base@all smartpm@i586 psplash@i586 packagegroup-core-boot@qemux86 packagegroup-base-extended@qemux86 rpm@i586 packagegroup-core-x11-sato@qemux86 locale-base-en-us@i586 locale-base-en-gb@i586
| Loading cache...
| Updating cache...               ######################################## [100%]
|
| Computing transaction...error: Can&apos;t install smartpm-1.4.1-r9@i586: unable to install provider for python-smartpm:
| error:     python-smartpm-1.4.1-r9@i586 is to be excluded
|
| Saving cache...
|
| WARNING: exit code 1 from a shell command.

Removing perl, libpam ... would have the same issue.

We should work out a mechanism to remove all the rpms that generated by an excluded package, not only the main rpms for it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36792</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-09-17 13:55:24 +0000</bug_when>
    <thetext>PACKAGE_EXCLUDE is a list of packages, not recipes, and each package corresponds to a single rpm. It sounds like you want it to be a recipe exclusion but I don&apos;t think that is really practical with the way this feature has been implemented.

FWIW, an aside perhaps, but I&apos;ve always thought the split between &quot;python-smartpm&quot; and &quot;smartpm&quot; isn&apos;t particularly useful, so I wouldn&apos;t necessarily point to this as a good example.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36806</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-09-17 16:21:18 +0000</bug_when>
    <thetext>After some discussion with RP/Saul I&apos;m marking this as invalid based on the above.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>