<div dir="ltr">Hello Olivier, good morning<div><br></div><div>I can see you have repo locally, the structure is not a big trouble, because you still having the metadata in repodata dir.</div><div><br></div><div>I did one test in my lab</div><div><br></div><div>###</div><div><div>[root@deskx packs]# find .</div><div>.</div><div>./b</div><div>./b/backupninja-1.0.1-5.el7.noarch.rpm</div><div>./a</div><div>./a/AntTweakBar-devel-1.16-2.el7.x86_64.rpm</div><div>./c</div><div>./c/Coin2-2.5.0-18.el7.x86_64.rpm</div><div><br></div><div>[root@deskx packs]# createrepo .</div><div>Spawning worker 0 with 3 pkgs</div><div>Workers Finished</div><div>Gathering worker results</div><div><br></div><div>Saving Primary metadata</div><div>Saving file lists metadata</div><div>Saving other metadata</div><div>Generating sqlite DBs</div><div>Sqlite DBs complete</div><div><br></div><div><div><div>[root@deskx packs]# cat /etc/yum.repos.d/local.repo</div><div>[local]</div><div>name=local</div><div>baseurl=file:///root/packs</div><div>gpgcheck=0</div><div>[root@deskx packs]#</div></div></div><div><br></div><div><br></div><div>[root@deskx packs]# yum repolist</div><div>Loaded plugins: fastestmirror, refresh-packagekit, rhnplugin, security</div><div>This system is receiving updates from RHN Classic or Red Hat Satellite.</div><div>Loading mirror speeds from cached hostfile</div><div>local                                                    | 2.9 kB     00:00 ...</div><div>...</div><div>local                                local                                     3<br></div><div>repolist: 17,549</div><div>[root@deskx packs]#</div><div>###<br></div></div><div><br></div><div>So if you can see 3 packages here, your repo is really totally operational (structure, metadata, etc), the next step is configure in SW to do a sync, there will be necessary just pay attention in the channel that you are creating a relationship with the repo (arch mistakes is very common), btw, my advice is, first point your machine to your local repo and check if you will see all packages by "yum grouplist" command for example, if yes, you can check your configuration in SW (repos, channels).</div><div><br></div><div>Let me know if works for you.</div><div><br></div><div>Take care</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div>______________<br>Atenciosamente<br>Waldirio<br>msn: <a href="mailto:waldirio@gmail.com" target="_blank">waldirio@gmail.com</a><br>Skype: waldirio<br>Site: <a href="http://www.waldirio.com.br" target="_blank">www.waldirio.com.br</a><br>Blog: <a href="http://blog.waldirio.com.br" target="_blank">blog.waldirio.com.br</a></div>
<div>LinkedIn: <a href="http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646" target="_blank">http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646</a><br>PGP: <a href="http://www.waldirio.com.br/public.html" target="_blank">www.waldirio.com.br/public.html</a></div></div></div>
<br><div class="gmail_quote">On Fri, Feb 5, 2016 at 6:08 AM, Olivier FONT <span dir="ltr"><<a href="mailto:contact@olivierfont.fr" target="_blank">contact@olivierfont.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,<br><br>I am facing an issue trying to sync an EPEL local repository in spacewalk.<br><br>Since CentOS 7, EPEL repository is splitted in subdirectories named by the first letter of the RPM package name.<br>I can create a local repository but I can't sync it with spacewalk.<br><br>Here the returned error:<br><br><pre>Sync started: Thu Feb  4 16:39:58 2016
['/usr/bin/spacewalk-repo-sync', '--channel', 'epel-centos-7-x64', '--type', 'yum']
Repo URL: file:///var/www/html/pub/epel7/
Packages in repo:                 1
Packages already synced:          0
Packages to sync:                 1
1/1 : unzoo-4.4-16.el7-0.x86_64
Downloaded package unzoo-4.4-16.el7.x86_64, from epel-centos-7-x64, but it was invalid.
Linking packages to channel.
Repo file:///var/www/html/pub/epel7/ has 0 errata.
Sync completed.
Total time: 0:00:00</pre>The package is not listed on spacewalk GUI and is not available for spacewalk clients.<br><br>It works fine for CentOS 6 EPEL.<br><br></div><div>Thanks for your help.<span class="HOEnZb"><font color="#888888"><br><br><div>Olivier<br><div><br></div></div>
</font></span></div></div>
<br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>