<?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>10854</bug_id>
          
          <creation_ts>2016-12-23 18:01:57 +0000</creation_ts>
          <short_desc>Missing package in Quick Start Guide for debian</short_desc>
          <delta_ts>2017-04-12 19:06:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Quick Start</product>
          <component>quick-start</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>29 March 2017: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="brian avery">brian.avery</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>ross.burton</cc>
    
    <cc>srifenbark</cc>
          
          <qa_contact name="oscar lopez arandas">oscarx.lopez.arandas</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>69372</commentid>
    <comment_count>0</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2016-12-23 18:01:57 +0000</bug_when>
    <thetext>on debian:8
The Quick start apt-get line fails to install python3. so bitbake fails.
The Quick start apt-get line fails to install cpio so the esdk installer fails.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69377</commentid>
    <comment_count>1</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2016-12-24 00:48:16 +0000</bug_when>
    <thetext>the bitbake sanity checker requires cpio as well, so it&apos;s not just the esdk installer who needs it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69415</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-12-30 18:55:38 +0000</bug_when>
    <thetext>Brian, 

See http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#ubuntu-packages and let me know what we are missing regarding packages that the host must have.  Note that the section for Ubuntu/Debian (as well as all the distros) is arranged by categories for various packages.  Look them them over and let me know if we are needing something else in &quot;essential&quot;, etc.

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69575</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2017-01-06 15:16:22 +0000</bug_when>
    <thetext>Still need some clarification on this issue per distro.

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69634</commentid>
    <comment_count>4</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-01-09 20:08:29 +0000</bug_when>
    <thetext>Missing:
essential:
cpio python python3

Typically the user will have python and python3 from somewhere else. When I started with a minimum system, however, I needed to add them explicitly. Since we still require both python2  and Python3, I think it also makes sense to include them both explicitly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69905</commentid>
    <comment_count>5</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2017-01-18 21:45:32 +0000</bug_when>
    <thetext>Hi Brian, 

See http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#ubuntu-packages for the updated essentials list for Debian and Ubuntu.  Note the change is also in the YP Quick Start.

Let me know if this good and I will mark the bug RESOLVED.

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70783</commentid>
    <comment_count>6</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-02-17 00:26:53 +0000</bug_when>
    <thetext>apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
     build-essential chrpath socat cpio python python3 pip3 pexpect

needs to be 
apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
     build-essential chrpath socat cpio python python3 python3-pip python3-pexpect

---
basically pip3 should be python3-pip and pexpect should be python3-pexpect</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70838</commentid>
    <comment_count>7</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2017-02-20 16:36:53 +0000</bug_when>
    <thetext>Hi Brian, 

I updated the Ubuntu/Debian Essentials grouping... see http://www.yoctoproject.org/docs/2.3/yocto-project-qs/yocto-project-qs.html#packages in the QS and http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#ubuntu-packages in the ref-manual. 

I noticed that for the Fedora, OpenSUSE, and CentOS distributions, the same &quot;pip3&quot; and &quot;pexpect&quot; packages exist.  This bug was talking about Ubuntu/Debian.  Does this change apply to the other three distributions as well?

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70991</commentid>
    <comment_count>8</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-02-28 18:44:03 +0000</bug_when>
    <thetext>Yes, good catch! Sorry, for the delay, ELC intruded :/.
Fedora and OpenSuse should be
python3-pip python3-pexpect</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70992</commentid>
    <comment_count>9</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2017-02-28 19:02:52 +0000</bug_when>
    <thetext>Hi Bryon, 

See http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#required-packages-for-the-host-development-system for the ref-manual and see http://www.yoctoproject.org/docs/2.3/yocto-project-qs/yocto-project-qs.html#packages for the QS changes.  All distributions are accounted for.

If you are happy, you can let me know and I will reset the bug to RESOLVED and put the doc flag to &quot;done.&quot;

thanks,
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70994</commentid>
    <comment_count>10</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2017-02-28 19:05:57 +0000</bug_when>
    <thetext>Actually Brian - I noticed you excluded CentOS.  Was that on oversight?  I changed them all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70999</commentid>
    <comment_count>11</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-02-28 21:40:56 +0000</bug_when>
    <thetext>checking on centos. pls ping me 2moro.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71070</commentid>
    <comment_count>12</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-03-03 20:48:52 +0000</bug_when>
    <thetext>For Centos, it turns out to be more complex. You need to:
sudo yum install -y epel-release
sudo yum makecache
sudo yum install gawk make wget tar bzip2 gzip python unzip perl patch \
     diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath socat \
     perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue python34-pip  xz \
     which

---
python34-expect which is used by some of the tests is not available so some of the tests may not run on centos.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71454</commentid>
    <comment_count>13</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2017-03-20 16:51:59 +0000</bug_when>
    <thetext>Hi Brian, 

Couple questions before I fix the &quot;Essential&quot; section for the CentOS distribution.

 1. In Comment 12, is &quot;python34-pip&quot; correct? Or, was that fat-fingered and
    supposed to be &quot;python3-pip&quot;?

 2. Also, in Comment 12, what does the &quot;-y&quot; mean in 

      sudo yum install -y epel-release

    I assume that &quot;epel-release&quot; is another &quot;Essential&quot; package.  If so, why is 
    it installed separately from the rest of the laundry list shown?

 3. For &quot;sudo yum makecache&quot;, this is a separate make operation that must be 
    done only once &quot;epel-release&quot; is installed on the host?

See http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#centos-packages for the section in question that I will update once I get some clarification on these issues. 

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71482</commentid>
    <comment_count>14</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-03-20 18:58:10 +0000</bug_when>
    <thetext>* python34-pip is correct, though with my typeing its good to check. my spelling too, apparently :)
* epel-release is : Extra Packages for Enterprise Linux (EPEL) is a collection of packages from Fedora built on RHEL/CentOS for easy installation of packages not included in enterprise linux by default. I installed it separately because there are other places they could pull this from if they are advanced centos users. Also, I think it provides metadata about additional packages.
* makecache - I think this consumes the additonal metadata from epel-release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71483</commentid>
    <comment_count>15</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-03-20 19:01:12 +0000</bug_when>
    <thetext>Brian: the only user of pip3 was the build applicance generation, which now builds its own.  Is this the only user that you know of?  If so we can remove that from the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71486</commentid>
    <comment_count>16</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-03-20 20:17:26 +0000</bug_when>
    <thetext>toaster needs pip3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71644</commentid>
    <comment_count>17</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-03-23 15:21:20 +0000</bug_when>
    <thetext>answered, afaik.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71757</commentid>
    <comment_count>18</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2017-03-27 17:47:42 +0000</bug_when>
    <thetext>Brian, 

See http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#centos-packages for the list of essential packages for CentOS.  Right now I still have &quot;python3-pip python3-pexpect&quot; both in there.  Do these go away with the introduction of the new stuff?

Also, see http://www.yoctoproject.org/docs/2.3/yocto-project-qs/yocto-project-qs.html#packages in the QS.

Let me know the final deal with this regarding &quot;python3-pip and python3-pexpect&quot; and I think we can wrap it up.

thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71785</commentid>
    <comment_count>19</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-03-27 22:21:55 +0000</bug_when>
    <thetext>For centos:
python3-pip python3-expect

should be 
python34-pip 

-- centos does not seem to have a python expect module.

Also, 
all of the python3-pexpect has become a python3-expect. 
The correct term is

&quot;python3-pexpect&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71809</commentid>
    <comment_count>20</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2017-03-28 14:00:06 +0000</bug_when>
    <thetext>Hi Brian, 

See http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#centos-packages in the ref-manual for the change and http://www.yoctoproject.org/docs/2.3/yocto-project-qs/yocto-project-qs.html#packages in the QS.

I searched for &quot;python3-pexpect&quot; and found no occurrences in the YP doc set.  So we are good there. 

Let me know if all is well and I will RESOLVE the bug. 

Thanks,
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71817</commentid>
    <comment_count>21</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-03-28 16:39:24 +0000</bug_when>
    <thetext>looks good to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72404</commentid>
    <comment_count>22</comment_count>
    <who name="oscar lopez arandas">oscarx.lopez.arandas</who>
    <bug_when>2017-04-12 19:06:47 +0000</bug_when>
    <thetext>
 On Ubuntu and Debian:

    STEPS:
 $ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
   build-essential chrpath socat cpio python python3 python3-pip python3-expect \
     xz which libsdl1.2-dev xterm

    EXPECTED OUTCOME:
install python3 and cpio so the esdk intaller successfully

    ACTUAL OUTCOME:
install python3 and cpio so the esdk intaller successfully
    
NOTES:

oscar@oscar-ThinkPad-T540p:~/10854/build$  sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
&gt; build-essential chrpath socat cpio python python3 python3-pip python3-expect \
&gt; xz which libsdl1.2-dev xterm
Reading package lists... Done
Building dependency tree       
Reading state information... Done</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>