Abdul,

You will need sudo, i.e. sudo nano sources.conf or sudo vi sources.conf

I tend to use BBEdit or TextWrangler, which will ask for credentials before you 
save.

On Apr 8, 2016, at 8:20 AM, Abdulrahman Alshammari <[email protected]> wrote:

> Hey Sterling,
> 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.
> 
> -Abdul
>> On Apr 8, 2016, at 12:55 AM, Sterling Smith <[email protected]> wrote:
>> 
>> Abdul,
>> 
>> Please show the mailing list the exact commands you have already tried.
>> 
>> -Sterling
>> 
>> On Apr 7, 2016, at 7:15PM, Abdulrahman Alshammari <[email protected]> 
>> wrote:
>> 
>>> Hey,
>>> 
>>> 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?
>>> 
>>> Abdul
>>> _______________________________________________
>>> macports-dev mailing list
>>> [email protected]
>>> https://lists.macosforge.org/mailman/listinfo/macports-dev
>> 
> 
> _______________________________________________
> macports-dev mailing list
> [email protected]
> https://lists.macosforge.org/mailman/listinfo/macports-dev

Marius
--
Marius Schamschula




_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to