Opened 2 years ago

Closed 2 years ago

#65605 closed defect (duplicate)

macports always uses rsync for selfupdate

Reported by: bjdebus (Bert Debusschere) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.7.2
Keywords: Cc:
Port:

Description (last modified by bjdebus (Bert Debusschere))

I followed the instructions on https://trac.macports.org/wiki/howto/SyncingWithGit to set up my macports to sync via git. The "sudo port -v sync" command is successful, and downloads packages locally. But when I try a selfupdate, I get the following:

BUHO:/opt/local/etc/macports[93]% sudo port selfupdate ---> Updating MacPorts base sources using rsync

which times out as I am behind a proxy server. It never looks for packages in the folder I specified in my sources.conf file.

I am running this on MacOS X Monterey version 12.5 on a Macbook Pro

I attached my sources.conf file.

Thanks! Bert

Attachments (1)

sources.conf (1.2 KB) - added by bjdebus (Bert Debusschere) 2 years ago.
sources.conf file

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by bjdebus (Bert Debusschere)

Attachment: sources.conf added

sources.conf file

comment:1 Changed 2 years ago by bjdebus (Bert Debusschere)

Description: modified (diff)
Summary: macports uses rsync or packages instead of local repo specified in sources.confmacports uses rsync for packages instead of local repo specified in sources.conf

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Summary: macports uses rsync for packages instead of local repo specified in sources.confmacports always uses rsync for selfupdate

Selfupdate updates MacPorts itself; it has nothing to do with fetching packages and is not affected by sources.conf (the selfupdate settings are in macports.conf). If you can't use rsync, you can't currently selfupdate, and will need to use port sync to update the ports tree and install new MacPorts versions either from the .pkg or manually from source.

I'm marking this as a duplicate of #38265/#16954.

Note: See TracTickets for help on using tickets.