<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 8, 2015 at 2:54 PM, Richard Shaw <span dir="ltr">&lt;<a href="mailto:hobbes1069@gmail.com" target="_blank">hobbes1069@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">On Tue, Dec 8, 2015 at 3:26 AM, arnaud gaboury <span dir="ltr">&lt;<a href="mailto:arnaud.gaboury@gmail.com" target="_blank">arnaud.gaboury@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I have some rpm packages I have built myself. I need to create a local<br>
repo in order to reference these packages and solve dependency issues.<br>
<br>
What I did:<br>
- put all my .rpm in one folder<br>
- # createrepo /my/path/to/rpm<br>
<br>
The last command create and populate a subdir repodata<br>
<br>
then:<br>
# dnf config-manager --add-repo file:///my/path/to/rpm<br>
<br>
It added a file in /etc/yum.repo.d:<br>
----------------------------------------<br>
name=created by dnf config-manager from file:///storage/development/rpm/<br>
baseurl=file:///storage/development/rpm/<br>
enabled=1<br>
---------------------------------------<br>
<br>
% dnf repolist<br>
Failed to synchronize cache for repo &#39;storage_development_rpm_&#39; from<br>
&#39;file:///storage/development/rpm/&#39;: Yum repo downloading error:<br>
Downloading error(s):<br>
repodata/05309df762126d0acf74bbdb339aca4cccb304abb6305383785dcf3ff207d68e-filelists.xml.gz<br>
- Cannot download, all mirrors were already tried without success,<br>
disabling.<br>
Last metadata expiration check performed 16:11:26 ago on Mon Dec  7<br>
18:13:09 2015.<br>
repo id                                     repo name<br>
                  status<br>
*fedora                                     Fedora 23 - x86_64<br>
                  46,074<br>
home_jeroenooms_opencpu-1.5                 OpenCPU 1.5 (Fedora_22)<br>
                      14<br>
trillian                                    Trillian<br>
                       2<br>
*updates                                    Fedora 23 - x86_64 -<br>
Updates                  6,69<br>
<br>
There is no surprise as it is a local sqlite DB (as far as I understood).<br>
<br>
How shall I solve this issue without setting a http/ftp service ?</blockquote><div><br></div></div></div><div>It can handle local repo&#39;s fine so that&#39;s not your problem. I basically do the same thing but I put mine in /var/local/packages/$releasever</div><div><br></div><div>I would check permissions instead although I&#39;ve never used the dnf addrepo command, I wrote my own .repo file.</div></div></div></div></blockquote><div><br></div><div>Even after 10 years of Linux, permissions are still part of my isues (with typo). My rpm packages were owned by me. changed onwer to root:root, rerun create repo, and then:</div><div><br></div><div>-------------------------------------------------</div><div>$ dnf repolist     </div><div>Last metadata expiration check performed 0:00:00 ago on Tue Dec  8 15:04:56 2015.</div><div>repo id                                     repo name                                    status</div><div>*fedora                                     Fedora 23 - x86_64                           46,074</div><div>home_jeroenooms_opencpu-1.5                 OpenCPU 1.5 (Fedora_22)                          14</div><div>storage_development_rpm_                    TTH                                              10           &lt;---------------- THIS ONE</div><div>trillian                                    Trillian                                          2</div><div>*updates                                    Fedora 23 - x86_64 - Updates                 11,826</div><div>----------------------------------------------------------------</div><div><br></div><div>Thank you much.</div><div><br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>Thanks,</div><div>Richard</div></div></div></div>
<br>--<br>
users mailing list<br>
<a href="mailto:users@lists.fedoraproject.org">users@lists.fedoraproject.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/users</a><br>
Fedora Code of Conduct: <a href="http://fedoraproject.org/code-of-conduct" rel="noreferrer" target="_blank">http://fedoraproject.org/code-of-conduct</a><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Mailing_list_guidelines" rel="noreferrer" target="_blank">http://fedoraproject.org/wiki/Mailing_list_guidelines</a><br>
Have a question? Ask away: <a href="http://ask.fedoraproject.org" rel="noreferrer" target="_blank">http://ask.fedoraproject.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span style="color:rgb(39,78,19)"><br><a href="https://plus.google.com/_/notifications/emlink?emr=05814804238976922326&amp;emid=CKiv-v6PvboCFcfoQgod6msAAA&amp;path=%2F116159236040461325607%2Fop%2Fu&amp;dt=1383086841306&amp;ub=50" style="font-weight:bold" target="_blank">google.com/+arnaudgabourygabx</a><br></span><br></div></div>
</div></div>