bug for installing Macports?
Hello, I have installed both XCode Tools and X11 on my Mac and I am getting this failed message at the end of the installation: Install Failed: "run postflight script" However it seems that it makes the install into the /opt directory so when I try to run it I get this another message concerning rsync: $maccomputer:~ userz$ sudo /opt/local/bin/port install aspell-en Warning: Can't open index file for source: rsync://rsync.macports.org/release/ports/ $maccomputer:~ userz$ Is this a known bug for Leopard or am I missing something? I had this running fine on my Tiger installation, I just updated the OS. And I am beginning to regret it... Thanks for any help.
On Jan 28, 2008, at 1:26 AM, Hector Zenil wrote:
Hello,
I have installed both XCode Tools and X11 on my Mac and I am getting this failed message at the end of the installation:
Install Failed: "run postflight script"
However it seems that it makes the install into the /opt directory so when I try to run it I get this another message concerning rsync:
$maccomputer:~ userz$ sudo /opt/local/bin/port install aspell-en Warning: Can't open index file for source: rsync://rsync.macports.org/release/ports/ $maccomputer:~ userz$
Is this a known bug for Leopard or am I missing something? I had this running fine on my Tiger installation, I just updated the OS. And I am beginning to regret it...
Thanks for any help.
As I recently replied to a similar thread: If you installed MacPorts off any of our 1.6.0 pkg installers, then you experienced a known bug in the script that's supposed to set up your shell environment for the use with MacPorts: a shell type is not detected and therefore no actions are taken. Easiest way around it is to download the new one and run it manually: curl -O http://svn.macports.org/repository/macports/branches/release_1_6/base/portmg... && chmod +x postflight && sudo ./postflight This will give you a MacPorts compatible environment by setting up your PATH, MANPATH and DISPLAY environment variables (you can read about how we do that at http://guide.macports.org/#installing.shell). Please do let me know if you experience any problems, in which case sending me a compressed copy of your /var/log/install.log file would help a great deal. Regards,.. -jmpp
I ran the command you sent me and it seemed to work, at the end it displayed that the installation was successful. However when I run it I get this kind of error messages: $sudo /opt/local/bin/port install Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /opt/local/bin"). Please verify that the directory and portfile syntax are correct. To use the current port, you must be in a port's directory. (you might also see this message if a pseudo-port such as outdated or installed expands to no ports). Error: Unable to open port: Could not find Portfile in /opt/local/bin $sudo /opt/local/bin/port install aspell-dict-en Warning: Can't open index file for source: rsync://rsync.macports.org/release/ports/ On Jan 28, 2008 7:17 AM, Juan Manuel Palacios <jmpp@macports.org> wrote:
On Jan 28, 2008, at 1:26 AM, Hector Zenil wrote: Hello,
I have installed both XCode Tools and X11 on my Mac and I am getting this failed message at the end of the installation:
Install Failed: "run postflight script"
However it seems that it makes the install into the /opt directory so when I try to run it I get this another message concerning rsync:
$maccomputer:~ userz$ sudo /opt/local/bin/port install aspell-en Warning: Can't open index file for source: rsync://rsync.macports.org/release/ports/ $maccomputer:~ userz$
Is this a known bug for Leopard or am I missing something? I had this running fine on my Tiger installation, I just updated the OS. And I am beginning to regret it...
Thanks for any help.
As I recently replied to a similar thread:
If you installed MacPorts off any of our 1.6.0 pkg installers, then you experienced a known bug in the script that's supposed to set up your shell environment for the use with MacPorts: a shell type is not detected and therefore no actions are taken. Easiest way around it is to download the new one and run it manually:
curl -O http://svn.macports.org/repository/macports/branches/release_1_6/base/portmg... && chmod +x postflight && sudo ./postflight
This will give you a MacPorts compatible environment by setting up your PATH, MANPATH and DISPLAY environment variables (you can read about how we do that at http://guide.macports.org/#installing.shell). Please do let me know if you experience any problems, in which case sending me a compressed copy of your /var/log/install.log file would help a great deal.
Regards,..
-jmpp
-- Hector Zenil-Chavez hector.zenil-chavez@malix.univ-paris1.fr Université de Lille I (Laboratoire d'Informatique Fondamentale) Université Pantheon-Sorbonne -Paris 1- (IHPST) -------------------------------- zenil.mathrix.org animaexmachina.com ---------------------------------
Even for the selfupdate I get error messages: $ sudo port selfupdate Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization the local ports tree failed doing rsync and fails. On Jan 28, 2008 10:01 AM, Hector Zenil <hzenilc@gmail.com> wrote:
I ran the command you sent me and it seemed to work, at the end it displayed that the installation was successful. However when I run it I get this kind of error messages:
$sudo /opt/local/bin/port install Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /opt/local/bin"). Please verify that the directory and portfile syntax are correct. To use the current port, you must be in a port's directory. (you might also see this message if a pseudo-port such as outdated or installed expands to no ports). Error: Unable to open port: Could not find Portfile in /opt/local/bin
$sudo /opt/local/bin/port install aspell-dict-en Warning: Can't open index file for source: rsync://rsync.macports.org/release/ports/
On Jan 28, 2008 7:17 AM, Juan Manuel Palacios <jmpp@macports.org> wrote:
On Jan 28, 2008, at 1:26 AM, Hector Zenil wrote: Hello,
I have installed both XCode Tools and X11 on my Mac and I am getting this failed message at the end of the installation:
Install Failed: "run postflight script"
However it seems that it makes the install into the /opt directory so when I try to run it I get this another message concerning rsync:
$maccomputer:~ userz$ sudo /opt/local/bin/port install aspell-en Warning: Can't open index file for source: rsync://rsync.macports.org/release/ports/ $maccomputer:~ userz$
Is this a known bug for Leopard or am I missing something? I had this running fine on my Tiger installation, I just updated the OS. And I am beginning to regret it...
Thanks for any help.
As I recently replied to a similar thread:
If you installed MacPorts off any of our 1.6.0 pkg installers, then you experienced a known bug in the script that's supposed to set up your shell environment for the use with MacPorts: a shell type is not detected and therefore no actions are taken. Easiest way around it is to download the new one and run it manually:
curl -O http://svn.macports.org/repository/macports/branches/release_1_6/base/portmg... && chmod +x postflight && sudo ./postflight
This will give you a MacPorts compatible environment by setting up your PATH, MANPATH and DISPLAY environment variables (you can read about how we do that at http://guide.macports.org/#installing.shell). Please do let me know if you experience any problems, in which case sending me a compressed copy of your /var/log/install.log file would help a great deal.
Regards,..
-jmpp
-- Hector Zenil-Chavez hector.zenil-chavez@malix.univ-paris1.fr Université de Lille I (Laboratoire d'Informatique Fondamentale) Université Pantheon-Sorbonne -Paris 1- (IHPST) -------------------------------- zenil.mathrix.org animaexmachina.com ---------------------------------
-- Hector Zenil-Chavez hector.zenil-chavez@malix.univ-paris1.fr Université de Lille I (Laboratoire d'Informatique Fondamentale) Université Pantheon-Sorbonne -Paris 1- (IHPST) -------------------------------- zenil.mathrix.org animaexmachina.com ---------------------------------
I still have this problems to run the macports application, could somebody help me? Thanks! $sudo /opt/local/bin/port install Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /opt/local/bin"). Please verify that the directory and portfile syntax are correct. To use the current port, you must be in a port's directory. (you might also see this message if a pseudo-port such as outdated or installed expands to no ports). Error: Unable to open port: Could not find Portfile in /opt/local/bin $sudo /opt/local/bin/port install aspell Warning: Can't open index file for source: rsync://rsync.macports.org/release/ports/ $sudo /opt/local/bin/port install aspell-dict-en Warning: Can't open index file for source: rsync://rsync.macports.org/release/ports/ Even for the selfupdate I get error messages: $ sudo port selfupdate Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization the local ports tree failed doing rsync and fails.
On Jan 28, 2008 10:01 AM, Hector Zenil <hzenilc@gmail.com> wrote:
I ran the command you sent me and it seemed to work, at the end it displayed that the installation was successful. However when I run it I get this kind of error messages:
$sudo /opt/local/bin/port install Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /opt/local/bin"). Please verify that the directory and portfile syntax are correct. To use the current port, you must be in a port's directory. (you might also see this message if a pseudo-port such as outdated or installed expands to no ports). Error: Unable to open port: Could not find Portfile in /opt/local/bin
$sudo /opt/local/bin/port install aspell-dict-en Warning: Can't open index file for source: rsync://rsync.macports.org/release/ports/
On Jan 28, 2008 7:17 AM, Juan Manuel Palacios <jmpp@macports.org> wrote:
On Jan 28, 2008, at 1:26 AM, Hector Zenil wrote: Hello,
I have installed both XCode Tools and X11 on my Mac and I am getting this failed message at the end of the installation:
Install Failed: "run postflight script"
However it seems that it makes the install into the /opt directory so when I try to run it I get this another message concerning rsync:
$maccomputer:~ userz$ sudo /opt/local/bin/port install aspell-en Warning: Can't open index file for source: rsync://rsync.macports.org/release/ports/ $maccomputer:~ userz$
Is this a known bug for Leopard or am I missing something? I had this running fine on my Tiger installation, I just updated the OS. And I am beginning to regret it...
Thanks for any help.
As I recently replied to a similar thread:
If you installed MacPorts off any of our 1.6.0 pkg installers, then you experienced a known bug in the script that's supposed to set up your shell environment for the use with MacPorts: a shell type is not detected and therefore no actions are taken. Easiest way around it is to download the new one and run it manually:
curl -O http://svn.macports.org/repository/macports/branches/release_1_6/base/portmg... && chmod +x postflight && sudo ./postflight
This will give you a MacPorts compatible environment by setting up your PATH, MANPATH and DISPLAY environment variables (you can read about how we do that at http://guide.macports.org/#installing.shell). Please do let me know if you experience any problems, in which case sending me a compressed copy of your /var/log/install.log file would help a great deal.
Regards,..
-jmpp
-- Hector Zenil-Chavez hector.zenil-chavez@malix.univ-paris1.fr Université de Lille I (Laboratoire d'Informatique Fondamentale) Université Pantheon-Sorbonne -Paris 1- (IHPST) -------------------------------- zenil.mathrix.org animaexmachina.com ---------------------------------
-- Hector Zenil-Chavez hector.zenil-chavez@malix.univ-paris1.fr Université de Lille I (Laboratoire d'Informatique Fondamentale) Université Pantheon-Sorbonne -Paris 1- (IHPST) -------------------------------- zenil.mathrix.org animaexmachina.com ---------------------------------
-- Hector Zenil-Chavez hector.zenil-chavez@malix.univ-paris1.fr Université de Lille I (Laboratoire d'Informatique Fondamentale) Université Pantheon-Sorbonne -Paris 1- (IHPST) -------------------------------- zenil.mathrix.org animaexmachina.com ---------------------------------
Citando Hector Zenil :
I still have this problems to run the macports application, could somebody help me? Thanks!
$sudo /opt/local/bin/port install Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /opt/local/bin"). Please verify that the directory and portfile syntax are correct. To use the current port, you must be in a port's directory. (you might also see this message if a pseudo-port such as outdated or installed expands to no ports). Error: Unable to open port: Could not find Portfile in /opt/local/bin
When used without the name of a port, port install tries to install according to a portfile it would find in the current directory. This mesage indicates there is no portfile here (which is normal).
$sudo /opt/local/bin/port install aspell Warning: Can't open index file for source: rsync://rsync.macports.org/release/ports/
Are you behind a firewall that prevents you from connecting to rsync?
$sudo /opt/local/bin/port install aspell-dict-en Warning: Can't open index file for source: rsync://rsync.macports.org/release/ports/
You may not have a PortIndex file which is necessary for port to work. go to the root of your port tree (something like /opt/local/var/macports/source/release/dports/ you ca try to 'find /opt/local/var/macports Portfile' to have an idea where the root of the port tree is) and 'sudo /opt/local/bin/portindex'
Even for the selfupdate I get error messages:
$ sudo port selfupdate Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization the local ports tree failed doing rsync
and fails.
selfupdate tries to rsync and rsync fails. Your administrator may have changed its firewall rules and forbidden rsync. To update your port tree and your port installation, you will need either rsync working, either you will have to resort to subversion. Regards, Emmanuel Hainry
'
Even for the selfupdate I get error messages:
$ sudo port selfupdate Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization the local ports tree failed doing rsync
and fails.
Providing us with more information through port(1)'s -d flag would be very helpful to diagnose the problem that's keeping you from syncing your ports tree. -jmpp
participants (3)
-
Emmanuel Hainry
-
Hector Zenil
-
Juan Manuel Palacios