<?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>1158</bug_id>
          
          <creation_ts>2011-06-10 15:05:52 +0000</creation_ts>
          <short_desc>shadow RPM reports failed dependencies for utilities it ships with</short_desc>
          <delta_ts>2011-09-21 15:18:07 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Scott Garman">scott.a.garman</reporter>
          <assigned_to name="Edwin Zhai">edwin.zhai</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>shane.wang</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>14258</commentid>
    <comment_count>0</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2011-06-10 15:05:52 +0000</bug_when>
    <thetext>When copying the shadow RPM to a sato image and trying to install it fails:

root@qemux86:~# rpm -ivh shadow-4.1.4.3-r2.qemux86.rpm 
error: Failed dependencies:
	/sbin/vipw is needed by shadow-4.1.4.3-r2.qemux86
	/usr/bin/newgrp is needed by shadow-4.1.4.3-r2.qemux86

However vipw and newgrp are both shipped in the shadow RPM. 

A temporary workaround is to use --nodeps when installing with rpm.

Note: when update-alternatives is run, it&apos;s output appears to show an extra &apos;/&apos; for each binary it links:

update-alternatives: Linking //usr/bin/newgrp to newgrp.shadow

Mentioning this as a possible hint to the source of the problem (not sure).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15928</commentid>
    <comment_count>1</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2011-08-31 18:18:21 +0000</bug_when>
    <thetext>There are some links become invalid after rename, so that failed dependencies     detected when install rpm package.

E.g. /usr/bin/vigr -&gt; /usr/bin/vipw, after renaming vipw to vipw.shadow, vigr become invalid link. When install rpm, missing of vipw is detected and reported as an error.

Got fixed in poky master @ 7a27253f56f4dd14a4fff56d46083009ae9cb421</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16362</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-09-21 15:18:07 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=7a27253f56f4dd14a4fff56d46083009ae9cb421</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>