Changes between Initial Version and Version 1 of Ticket #14321


Ignore:
Timestamp:
Feb 14, 2008, 5:55:25 PM (16 years ago)
Author:
jmpp@…
Comment:

Such failure would be my fault, as I wrote most of the migration code form DarwinPorts to MacPorts. Can you please provide me with more information? I'd need to know for certain what pkg installer you are using and your host platform (OS X version). A view of the /opt/local/var/db/dports and /opt/local/var/macports directories would also be very helpful, plus a manual run of the preflight script (after providing me with the view of those directories). To perform the latter please execute the following in a shell:

curl -O http://svn.macports.org/repository/macports/branches/release_1_6/base/portmgr/dmg/preflight && chmod +x preflight
set -x && sudo ./preflight 2>&1 | tee preflight.log

That'll create a preflight.log file where a debug run of the script will be recorded. It'd be great if you could attach that to this ticket.

And as for the other information I request, comments in this ticket would suffice. But please read WikiFormatting and our ticketing guidelines to learn how to properly paste console output (I'm particularly interested in that you use the {{{ }}} wrappers for proper Trac formatting).

Thanks!

-jmpp

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14321

    • Property Component changed from ports to base
    • Property Milestone changed from Port Bugs to MacPorts base bugs
  • Ticket #14321 – Description

    initial v1  
    33I have used darwinports for a long time. I upgraded to macports a couple of months ago, I regularly saw error messages such "this port is already installed" when upgrading my packages I uninstalled then reinstalled the package. This has been fine until now, I had tetex installed when I tried to install texlive, I had to remove tetex, when I did this a registry error occured. I assumed my registry was corrupted and did the following:
    44
     5{{{
    56sudo rm -rf ${prefix} \
    67/Applications/MacPorts \
     
    1415/etc/manpaths.d/macports \
    1516/etc/paths.d/macports
     17}}}
    1618
    1719When trying to install the latest macports the installer kept reporting "please try installing again", when I run from the command line I get this:
    1820
     21{{{
    1922james@edufb12@02:47 pm:~$ sudo /usr/sbin/installer -dumplog -verbose -pkg /Volumes/MacPorts-1.6.0/MacPorts-1.6.0.pkg -target /Volumes/sally/
    2023installer[1950]: Localized installer scripts detected in the MacPorts-1.6.0 package. Switching to compatibility mode.
     
    3942installer[1950]: Install failed: The following install step failed: run preflight script for MacPorts
    4043installer: The install failed.
     44}}}
     45