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)
Change History (3)
Changed 2 years ago by bjdebus (Bert Debusschere)
Attachment: | sources.conf added |
---|
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.conf → macports 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: | new → closed |
Summary: | macports uses rsync for packages instead of local repo specified in sources.conf → macports 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.
sources.conf file