Opened 17 years ago
Closed 17 years ago
#12125 closed defect (invalid)
BUG: MacPorts 1.4.0 installs invalid ports.conf::rsync_dir value.
Reported by: | brendanjerwin@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.4.40 |
Keywords: | Cc: | ||
Port: |
Description
The .pkg available here:
installs a ports.conf with a rsync_dir value of:
dpupdate1/base/
which causes an error:
Miracle-Max:~ berwin$ sudo port -d selfupdate DEBUG: Rebuilding the MacPorts base system if needed. Synchronizing from rsync://rsync.darwinports.org/dpupdate/dports rsync: failed to connect to rsync.darwinports.org: Operation timed out (60) rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-24.1/rsync/clientserver.c(94) DEBUG: Couldn't sync dports tree: sync failed doing rsync while executing "darwinports::selfupdate [array get global_options]" Error: /opt/local/bin/port: selfupdate failed: Couldn't sync dports tree: sync failed doing rsync
This seems to fix it:
curious_jp: I changed the rsync_dir in the config file curious_jp: to point to dpupdate/base instead of dupupdate1/base curious_jp: in /opt/local/etc/[ports or macports]/ports.conf wich: any idea what the difference would be? curious_jp: well, there doesn't seem to be a dpupdate1 directory on the rsync server curious_jp: however I manually tested rsyncing against dpupdate/base and it exists ... curious_jp: I would presume it's a typo wich: I'm not sure, might be a different version curious_jp: well, the directory isn't there on the rsync server, so if it did exist, I guess it got deleted berwin_: probably needed to test something on a devs box and got committed on accident... curious_jp: and other people's config files were already updated by selfupdate curious_jp: so they never hit the problem
Change History (4)
comment:1 Changed 17 years ago by brendanjerwin@…
comment:2 Changed 17 years ago by brendanjerwin@…
A better solution:
sfiera : If all you want is updated ports, you can `port sync` instead of selfupdating, and that should still work [ 2:22pm ] sfiera : Though if you've just installed from the dmg, you'll need some way to selfupdate because not all ports still work with version 1.4 and need 1.442 [ 2:23pm ] mgr_ : I did install from the dmg... [ 2:23pm ] sfiera : Hrm [ 2:24pm ] mgr_ : aha! [ 2:24pm ] mgr_ : After doing a sync, the selfupdate was successful [ 2:24pm ] mgr_ : it updated to 1.442 [ 2:24pm ] sfiera : Oh, well, I wasn't expecting that [ 2:24pm ] sfiera : But good to know it works [ 2:25pm ] mgr_ : fenestro: try a port sync before your port selfupdate
comment:3 Changed 17 years ago by nox@…
Milestone: | → MacPorts base bugs |
---|---|
Priority: | Expected → Normal |
Summary: | MacPorts 1.4.0 installs invalid ports.conf::rsync_dir value. → BUG: MacPorts 1.4.0 installs invalid ports.conf::rsync_dir value. |
comment:4 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Component: | ports → base |
---|---|
Milestone: | MacPorts base bugs |
Resolution: | → invalid |
Status: | new → closed |
dpupdte1
is not a typo and it does exist in the rsync server:
$[juan @macbookpro: base](781/20,1) -> rsync rsync.darwinports.org:: release MacPorts rsync release repository, providing the current MacPorts "released" sources and the ports tree. trunk MacPorts rsync "trunk" repository, providing experimental MacPorts sources in svn's trunk/base. dpupdate Legacy MacPorts rsync repository for backwards compatibility with 1.4.x releases, providing svn's trunk/base and the ports tree. dpupdate1 Legacy MacPorts rsync repository for backwards compatibility with 1.4.x releases, providing the current MacPorts "released" sources.
-jmpp
Note: See
TracTickets for help on using
tickets.
oops, wrong error text. Someone who can, please update the ticket for me:
Please replace the error text above with this: