Opened 12 years ago

Closed 12 years ago

#34386 closed defect (fixed)

Postflight script doesn't seem to be executed with flat packages

Reported by: stephen@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 2.1.0
Component: base Version: 2.0.99
Keywords: Cc:
Port:

Description

Tried installing 2.1.0 rc1 package on a brand new MacBook Pro with 10.7.4 update plus Xcode 4.3.2. After installer reported successful, the PATH environment is not prepended with MacPorts paths. Manually adding them then run port command got me this message:

Error: /opt/local/bin/port: Failed to initialize MacPorts, sources_conf must be set in /opt/local/etc/macports/macports.conf or in your /Users/stephenchu/.macports/macports.conf file

Change History (3)

comment:1 Changed 12 years ago by stephen@…

The complete message is:

sources_conf must be set in /opt/local/etc/macports/macports.conf or in your /Users/stephenchu/.macports/macports.conf file
    while executing
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, sources_conf must be set in /opt/local/etc/macports/macports.conf or in your /Users/stephenchu/.macports/macports.conf file

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

And is sources_conf set in your macports.conf? If not, you must be upgrading from a very old version of MacPorts...

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Summary: Postflight script doesn't seem to be executed on LionPostflight script doesn't seem to be executed with flat packages
Note: See TracTickets for help on using tickets.