<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Abdul,<div><br></div><div>You will need sudo, i.e. sudo nano sources.conf or sudo vi sources.conf</div><div><br></div><div>I tend to use BBEdit or TextWrangler, which will ask for credentials before you save.</div><div><br><div><div>On Apr 8, 2016, at 8:20 AM, Abdulrahman Alshammari &lt;<a href="mailto:a.turqi@hotmail.com">a.turqi@hotmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hey Sterling,<br>I was just unable to edit the sources.conf and add my local repository. Whenever I try, they asked me to duplicate the file because the file is locked.<br><br>-Abdul<br><blockquote type="cite">On Apr 8, 2016, at 12:55 AM, Sterling Smith &lt;<a href="mailto:smithsp@fusion.gat.com">smithsp@fusion.gat.com</a>&gt; wrote:<br><br>Abdul,<br><br>Please show the mailing list the exact commands you have already tried.<br><br>-Sterling<br><br>On Apr 7, 2016, at 7:15PM, Abdulrahman Alshammari &lt;<a href="mailto:a.turqi@hotmail.com">a.turqi@hotmail.com</a>&gt; wrote:<br><br><blockquote type="cite">Hey,<br><br>Setting to make a local portfile is explained very well in the documentation. However, when I want to update the portfile to insert the local repository, it is not allowed because the file is locked. Is there something that I have to do to go over this issue?<br><br>Abdul<br>_______________________________________________<br>macports-dev mailing list<br><a href="mailto:macports-dev@lists.macosforge.org">macports-dev@lists.macosforge.org</a><br>https://lists.macosforge.org/mailman/listinfo/macports-dev<br></blockquote><br></blockquote><br>_______________________________________________<br>macports-dev mailing list<br><a href="mailto:macports-dev@lists.macosforge.org">macports-dev@lists.macosforge.org</a><br>https://lists.macosforge.org/mailman/listinfo/macports-dev<br></blockquote></div><br><div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Marius</div><div>--</div><div>Marius Schamschula</div><div><br></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">

</div>
<br></div></body></html>