<?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>11699</bug_id>
          
          <creation_ts>2017-06-21 19:04:21 +0000</creation_ts>
          <short_desc>[megamanual] dnf using rpm: 5.18.4.3.1. Using RPM section changes required</short_desc>
          <delta_ts>2017-07-04 18:14:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Development Manual</product>
          <component>development</component>
          <version>2.4</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>22 June 2017: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Lopez Barriba">davidx.lopez.barriba</reporter>
          <assigned_to name="Kristi">kristi</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>kristi</cc>
          
          
          <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>74439</commentid>
    <comment_count>0</comment_count>
    <who name="David Lopez Barriba">davidx.lopez.barriba</who>
    <bug_when>2017-06-21 19:04:21 +0000</bug_when>
    <thetext>When I try to do the Setup for dnf application following the steps that are in the mega-manual http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html ( 5.18.4.3.1. Using RPM ) the configuration doesn&apos;t work, needs changes on the following step:

     [oe-packages]
     baseurl=&quot;http://my.server/rpm/i586 http://my.server/rpm/qemux86 http://my.server/rpm/all&quot; 

Sending an error: Repository oe-packages has no mirror or baseurl set.

But removing &quot;&quot; from the line it works ok:
 [oe-packages]
 baseurl=http://my.server/rpm/i586 http://my.server/rpm/qemux86 http://my.server/rpm/all 




Steps to reproduce:

1. Perform the initial setup for dnf on the target machine
2. Start the server on Host

$ cd ~/poky/build/tmp/deploy/rpm
   $ python -m SimpleHTTPServer

3.Create the repositories with createrepo &lt;directory&gt;
 (e.g. $ createrepo /home/user/poky/build/tmp/deploy/rpm/qemux86-64)

4.Create /etc/yum.repos.d/oe-packages.repo file on target machine with the following content:

    [oe-packages]
     baseurl=&quot;http://my.server/rpm/i586 http://my.server/rpm/qemux86 http://my.server/rpm/all&quot;
                        
From the target machine, fetch the repository:

     # dnf makecache
 
Actual Outcome:
Repository oe-packages has no mirror or baseurl set.

Expected Outcome:
Packages are updated</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74440</commentid>
    <comment_count>1</comment_count>
    <who name="Kristi">kristi</who>
    <bug_when>2017-06-21 21:12:27 +0000</bug_when>
    <thetext>David - Thanks for the change. I&apos;ve updated the section, see http://www.yoctoproject.org/docs/2.4/dev-manual/dev-manual.html#runtime-package-management-target-rpm 

Check it over, if it&apos;s good I&apos;ll mark the bug as RESOLVED. 

Kristi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74441</commentid>
    <comment_count>2</comment_count>
    <who name="Kristi">kristi</who>
    <bug_when>2017-06-21 21:13:09 +0000</bug_when>
    <thetext>Changed owner</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74498</commentid>
    <comment_count>3</comment_count>
    <who name="David Lopez Barriba">davidx.lopez.barriba</who>
    <bug_when>2017-06-22 16:48:16 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; David - Thanks for the change. I&apos;ve updated the section, see
&gt; http://www.yoctoproject.org/docs/2.4/dev-manual/dev-manual.html#runtime-
&gt; package-management-target-rpm 
&gt; 
&gt; Check it over, if it&apos;s good I&apos;ll mark the bug as RESOLVED. 
&gt; 
&gt; Kristi

Yes, it&apos;s good.

Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74504</commentid>
    <comment_count>4</comment_count>
    <who name="Kristi">kristi</who>
    <bug_when>2017-06-22 20:18:06 +0000</bug_when>
    <thetext>Thanks - Setting status to RESOLVED and putting the doc flag to &quot;done&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74745</commentid>
    <comment_count>5</comment_count>
    <who name="David Lopez Barriba">davidx.lopez.barriba</who>
    <bug_when>2017-07-04 18:14:16 +0000</bug_when>
    <thetext>Verified</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>