[MacPorts] #21034: Warning: No index(es) found! Have you synced your source indexes?
#21034: Warning: No index(es) found! Have you synced your source indexes? ----------------------------------+----------------------------------------- Reporter: guitman423@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: ----------------------------------+----------------------------------------- After I install macports on my OS X 10.5.8 Server, I can not update macports or install any packages. I am behind a firewall that restricts rsync, so I have modified my sources.conf file to use the tarball option instead. The tarball download works, but I received the message about "source indexes" and I can not proceed. "sudo port -d selfupdate" yields: Warning: No index(es) found! Have you synced your source indexes? ---> Updating the ports tree DEBUG: Synchronizing ports tree(s) Synchronizing local ports tree from http://www.macports.org/files/ports.tar.gz No updates for http://www.macports.org/files/ports.tar.gz DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/base ---> Updating MacPorts base sources using rsync rsync: failed to connect to rsync.macports.org: Operation timed out (60) rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-35.2/rsync/clientserver.c(105) [receiver=2.6.9] DEBUG: Error synchronizing MacPorts sources: shell command "/usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/base/ /opt/local/var/macports/sources/rsync.macports.org/release/base" returned error 10 Command output: rsync: failed to connect to rsync.macports.org: Operation timed out (60) rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-35.2/rsync/clientserver.c(105) [receiver=2.6.9] while executing "macports::selfupdate [array get global_options]" Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: shell command "/usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/base/ /opt/local/var/macports/sources/rsync.macports.org/release/base" returned error 10 Command output: rsync: failed to connect to rsync.macports.org: Operation timed out (60) rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-35.2/rsync/clientserver.c(105) [receiver=2.6.9] -- Ticket URL: <http://trac.macports.org/ticket/21034> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21034: Warning: No index(es) found! Have you synced your source indexes? ----------------------------------+----------------------------------------- Reporter: guitman423@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: ----------------------------------+----------------------------------------- Description changed by toby@…: Old description:
After I install macports on my OS X 10.5.8 Server, I can not update macports or install any packages. I am behind a firewall that restricts rsync, so I have modified my sources.conf file to use the tarball option instead. The tarball download works, but I received the message about "source indexes" and I can not proceed.
"sudo port -d selfupdate" yields:
Warning: No index(es) found! Have you synced your source indexes? ---> Updating the ports tree DEBUG: Synchronizing ports tree(s) Synchronizing local ports tree from http://www.macports.org/files/ports.tar.gz No updates for http://www.macports.org/files/ports.tar.gz DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/base ---> Updating MacPorts base sources using rsync rsync: failed to connect to rsync.macports.org: Operation timed out (60) rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-35.2/rsync/clientserver.c(105) [receiver=2.6.9] DEBUG: Error synchronizing MacPorts sources: shell command "/usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/base/ /opt/local/var/macports/sources/rsync.macports.org/release/base" returned error 10 Command output: rsync: failed to connect to rsync.macports.org: Operation timed out (60) rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-35.2/rsync/clientserver.c(105) [receiver=2.6.9]
while executing "macports::selfupdate [array get global_options]" Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: shell command "/usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/base/ /opt/local/var/macports/sources/rsync.macports.org/release/base" returned error 10 Command output: rsync: failed to connect to rsync.macports.org: Operation timed out (60) rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-35.2/rsync/clientserver.c(105) [receiver=2.6.9]
New description: After I install macports on my OS X 10.5.8 Server, I can not update macports or install any packages. I am behind a firewall that restricts rsync, so I have modified my sources.conf file to use the tarball option instead. The tarball download works, but I received the message about "source indexes" and I can not proceed. "sudo port -d selfupdate" yields: {{{ Warning: No index(es) found! Have you synced your source indexes? ---> Updating the ports tree DEBUG: Synchronizing ports tree(s) Synchronizing local ports tree from http://www.macports.org/files/ports.tar.gz No updates for http://www.macports.org/files/ports.tar.gz DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/base ---> Updating MacPorts base sources using rsync rsync: failed to connect to rsync.macports.org: Operation timed out (60) rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-35.2/rsync/clientserver.c(105) [receiver=2.6.9] DEBUG: Error synchronizing MacPorts sources: shell command "/usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/base/ /opt/local/var/macports/sources/rsync.macports.org/release/base" returned error 10 Command output: rsync: failed to connect to rsync.macports.org: Operation timed out (60) rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-35.2/rsync/clientserver.c(105) [receiver=2.6.9] while executing "macports::selfupdate [array get global_options]" Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: shell command "/usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/base/ /opt/local/var/macports/sources/rsync.macports.org/release/base" returned error 10 Command output: rsync: failed to connect to rsync.macports.org: Operation timed out (60) rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-35.2/rsync/clientserver.c(105) [receiver=2.6.9] }}} -- -- Ticket URL: <http://trac.macports.org/ticket/21034#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21034: Warning: No index(es) found! Have you synced your source indexes? ----------------------------------+----------------------------------------- Reporter: guitman423@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by toby@…): Can you attach /opt/local/etc/macports/sources.conf, or paste its contents? -- Ticket URL: <http://trac.macports.org/ticket/21034#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21034: Warning: No index(es) found! Have you synced your source indexes? ----------------------------------+----------------------------------------- Reporter: guitman423@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by guitman423@…): Replying to [comment:2 toby@…]:
Can you attach /opt/local/etc/macports/sources.conf, or paste its contents?
bash-3.2# cat /opt/local/etc/macports/sources.conf # MacPorts system wide sources configuration file # $Id: sources.conf 42662 2008-11-28 23:18:50Z raimue@macports.org $ # To setup a local ports repository, insert a "file://" entry following # the example below that points to your local ports directory: # Example: file:///Users/landonf/misc/MacPorts/ports # The default MacPorts repository should always be tagged [default] # for proper functionality of various resources (port groups, mirror # sites, etc). If you switch it from the rsync:// URL, be sure to keep # it tagged [default]. # To prevent a source from synchronizing when `port sync` is used, # append [nosync] at the end as shown in this example: # Example: file:///Users/landonf/misc/MacPorts/ports [nosync] # NOTE: The port command parses source URLs in order and installs the # first occurrance when a port appears in multiple repositories. # So keep "file://" URLs above other URL types. # To get the ports tree from the master MacPorts server in California, USA use: # rsync://rsync.macports.org/release/ports/ # To get it from the mirror in Trondheim, Norway use: # rsync://trd.no.rsync.macports.org/release/ports/ # A current list of mirrors is available at http://trac.macports.org/wiki/Mirrors http://www.macports.org/files/ports.tar.gz [default] bash-3.2# -- Ticket URL: <http://trac.macports.org/ticket/21034#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21034: Warning: No index(es) found! Have you synced your source indexes? ----------------------------------+----------------------------------------- Reporter: guitman423@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by toby@…): [wiki:WikiFormatting]!!! Ok, I think if I'm reading that mess correctly, it's: {{{ http://www.macports.org/files/ports.tar.gz [default] }}} I didn't even know we supported this sort of thing... -- Ticket URL: <http://trac.macports.org/ticket/21034#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21034: Warning: No index(es) found! Have you synced your source indexes? ----------------------------------+----------------------------------------- Reporter: guitman423@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.8.0 Keywords: | Port: ----------------------------------+----------------------------------------- Changes (by toby@…): * component: ports => base Comment: Hmm, I see [wiki:howto/PortTreeTarball]. I didn't even know about that feature... I guess it's broken. -- Ticket URL: <http://trac.macports.org/ticket/21034#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21034: Warning: No index(es) found! Have you synced your source indexes? -----------------------------------+---------------------------------------- Reporter: guitman423@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.8.0 Resolution: fixed | Keywords: Port: | -----------------------------------+---------------------------------------- Changes (by toby@…): * status: new => closed * resolution: => fixed Comment: r56889 -- Ticket URL: <http://trac.macports.org/ticket/21034#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21034: Warning: No index(es) found! Have you synced your source indexes? -----------------------------------+---------------------------------------- Reporter: guitman423@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.8.0 Resolution: fixed | Keywords: Port: | -----------------------------------+---------------------------------------- Comment(by toby@…): merged to 1.8.x branch in r56890 -- Ticket URL: <http://trac.macports.org/ticket/21034#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21034: Warning: No index(es) found! Have you synced your source indexes? -----------------------------------+---------------------------------------- Reporter: guitman423@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 1.8.1 Component: base | Version: 1.8.0 Resolution: fixed | Keywords: Port: | -----------------------------------+---------------------------------------- Changes (by blb@…): * milestone: => MacPorts 1.8.1 -- Ticket URL: <http://trac.macports.org/ticket/21034#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21034: Warning: No index(es) found! Have you synced your source indexes? -----------------------------------+---------------------------------------- Reporter: guitman423@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 1.8.1 Component: base | Version: 1.8.0 Resolution: fixed | Keywords: Port: | -----------------------------------+---------------------------------------- Comment(by guillaume.galuz@…): hi ! i have the same problem as guitman423 i looked up the howto/PortTreeTarball but i'm can't manage to "Edit $prefix/etc/macports/sources.conf, comment out the rsync entry, and add a new entry as follows: #rsync://rsync.macports.org/release/ports/ [default] http://www.macports.org/files/ports.tar.gz [default] it seems i don't have the permissions to edit the files. what can i do ? thx ! -- Ticket URL: <http://trac.macports.org/ticket/21034#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21034: Warning: No index(es) found! Have you synced your source indexes? -----------------------------------+---------------------------------------- Reporter: guitman423@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 1.8.1 Component: base | Version: 1.8.0 Resolution: fixed | Keywords: Port: | -----------------------------------+---------------------------------------- Comment(by macports.mschoepl@…): Given that this is the first google result and there is no real solution here: If you just installed MacPorts and syncinc doesn't work, check if some firewall is blocking rsync, e.g. * Little Snitch * Peer Guardian * ... * [maybe even Mac OS-internal firewall (at System Preferences -> Security -> Firewall) (don't know)] I just fixed someone's installation - took me half an hour of looking in the wrong places... -- Ticket URL: <http://trac.macports.org/ticket/21034#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21034: Warning: No index(es) found! Have you synced your source indexes? -----------------------------------+---------------------------------------- Reporter: guitman423@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 1.8.1 Component: base | Version: 1.8.0 Resolution: fixed | Keywords: Port: | -----------------------------------+---------------------------------------- Comment(by p.flynn2@…): Disabling Peer Gaurdian worked for me. Thanks! -- Ticket URL: <http://trac.macports.org/ticket/21034#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21034: Warning: No index(es) found! Have you synced your source indexes? -----------------------------------+---------------------------------------- Reporter: guitman423@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: MacPorts 1.8.1 Component: base | Version: 1.8.0 Resolution: | Keywords: Port: | -----------------------------------+---------------------------------------- Changes (by david.mohl@…): * status: closed => reopened * resolution: fixed => Comment: I'm sorry for reviving this, but theres no real solution yet. Sam appears in OS X 10.6.5 with version 1.9.2 I have exactly the same Problem. Other Tickets/Forums/etc didn't help very much. {{{ ---> Updating the ports tree DEBUG: Synchronizing ports tree(s) Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/ DEBUG: /usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*' rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports rsync: failed to connect to rsync.macports.org: Operation timed out (60) rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-40/rsync/clientserver.c(105) [receiver=2.6.9] shell command "/usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*' rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports" returned error 10 Error: Synchronization of the local ports tree failed doing rsync DEBUG: Couldn't sync the ports tree: Synchronization of 1 source(s) failed while executing "macports::selfupdate [array get global_options] base_updated" Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of 1 source(s) failed }}} First, it looked like something is blocking my rsync. But then i tested it with some other vServers. Works fine! Just when using macports it causes Problems. Mac Firewall is disabled. Additional Security Software (LittleSnitch & Co.) is not installed. Tried it in different Networks, always the same Problem. -- Ticket URL: <https://trac.macports.org/ticket/21034#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21034: Warning: No index(es) found! Have you synced your source indexes? -----------------------------------+---------------------------------------- Reporter: guitman423@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 1.8.1 Component: base | Version: 1.8.0 Resolution: fixed | Keywords: Port: | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: reopened => closed * resolution: => fixed Comment: That's nothing to do with this ticket. -- Ticket URL: <https://trac.macports.org/ticket/21034#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21034: syncing with daily tarball does not work -----------------------------------+---------------------------------------- Reporter: guitman423@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 1.8.1 Component: base | Version: 1.8.0 Resolution: fixed | Keywords: Port: | -----------------------------------+---------------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/21034#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts