path to sources.conf?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

path to sources.conf?

Bill Christensen

Hi all,

When I run selfupdate I'm getting:

Warning: MacPorts is configured to use an unsigned source for the ports tree. Please edit sources.conf and change 'rsync://rsync.macports.org/release/ports/' to 'rsync://rsync.macports.org/release/tarballs/ports.tar'.

What's the path to sources.conf?

Thanks.


-- 
Bill Christensen
http://SustainableSources.com
http://LinkedIn.com/in/billc108
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: path to sources.conf?

Aljaž Srebrnič-2
On 28 feb 2017, at 16:30, Bill Christensen <[hidden email]> wrote:

What's the path to sources.conf?

Hello Bill!
`sources.conf` should be in `/opt/local/etc/macports`.

Cheers,
g5pw

--
Aljaž Srebrnič a.k.a g5pw
My public key:  https://g5pw.me/key
Key fingerprint = 2109 8131 60CA 01AF 75EC  01BF E140 E1EE A54E E677

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: path to sources.conf?

Kurt Pfeifle via macports-users
In reply to this post by Bill Christensen
I found it in:

/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/doc/sources.conf


Try "sudo find / -name sources.conf"

Ryan




On 2/28/17 10:30, Bill Christensen wrote:

Hi all,

When I run selfupdate I'm getting:

Warning: MacPorts is configured to use an unsigned source for the ports tree. Please edit sources.conf and change 'rsync://rsync.macports.org/release/ports/' to 'rsync://rsync.macports.org/release/tarballs/ports.tar'.

What's the path to sources.conf?

Thanks.


-- 
Bill Christensen
http://SustainableSources.com
http://LinkedIn.com/in/billc108

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: path to sources.conf?

Brandon Allbery
As the path components indicate, that one is documentation. /opt/local/etc/macports/sources.conf is correct. 

On Tue, Feb 28, 2017 at 1:10 PM, Ryan Williamson via macports-users <[hidden email]> wrote:
I found it in:

/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/doc/sources.conf


Try "sudo find / -name sources.conf"

Ryan





On 2/28/17 10:30, Bill Christensen wrote:

Hi all,

When I run selfupdate I'm getting:

Warning: MacPorts is configured to use an unsigned source for the ports tree. Please edit sources.conf and change 'rsync://rsync.macports.org/release/ports/' to 'rsync://rsync.macports.org/release/tarballs/ports.tar'.

What's the path to sources.conf?

Thanks.


-- 
Bill Christensen
http://SustainableSources.com
http://LinkedIn.com/in/billc108




--
brandon s allbery kf8nh                               sine nomine associates
[hidden email]                                  [hidden email]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: path to sources.conf?

Dave Horsfall
In reply to this post by Kurt Pfeifle via macports-users
On Tue, 28 Feb 2017, Ryan Williamson via macports-users wrote:

> Try "sudo find / -name sources.conf"

Or better still, use the "locate" command (and run locate.updatedb every
so often).

--
Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: path to sources.conf?

Joshua Root-8
In reply to this post by Bill Christensen
Dave Horsfall wrote:
> On Tue, 28 Feb 2017, Ryan Williamson via macports-users wrote:
>
>> Try "sudo find / -name sources.conf"
>
> Or better still, use the "locate" command (and run locate.updatedb every
> so often).

As of 2.4.0 we have some shiny new documentation. You can now simply run
'man sources.conf' (or 'port help sources.conf') to find the desired
information, in the FILES section near the end.

- Josh
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: path to sources.conf?

Bill Christensen
Thanks y'all.

On 2/28/17 9:49 PM, Joshua Root wrote:

> Dave Horsfall wrote:
>> On Tue, 28 Feb 2017, Ryan Williamson via macports-users wrote:
>>
>>> Try "sudo find / -name sources.conf"
>>
>> Or better still, use the "locate" command (and run locate.updatedb every
>> so often).
>
> As of 2.4.0 we have some shiny new documentation. You can now simply
> run 'man sources.conf' (or 'port help sources.conf') to find the
> desired information, in the FILES section near the end.
>
> - Josh
>


--
Bill Christensen
http://SustainableSources.com
http://LinkedIn.com/in/billc108

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: path to sources.conf?

Michael Parson
In reply to this post by Dave Horsfall
On Wed, 1 Mar 2017, Dave Horsfall wrote:

> On Tue, 28 Feb 2017, Ryan Williamson via macports-users wrote:
>
>> Try "sudo find / -name sources.conf"
>
> Or better still, use the "locate" command (and run locate.updatedb every
> so often).

Or better still, since we're on Macs and have Spotlight indexing things,
use 'mdfind -name sources.conf'.

--
Michael Parson
Pflugerville, TX
KF5LGQ
Loading...