[MacPorts] #14321: Moving from Darwin Ports to MacPorts: Registry corruption

MacPorts trac at macosforge.org
Thu Feb 14 07:07:21 PST 2008


#14321: Moving from Darwin Ports to MacPorts: Registry corruption
----------------------------------+-----------------------------------------
 Reporter:  jlnicolson at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                |      Status:  new                                  
 Priority:  High                  |   Milestone:  Port Bugs                            
Component:  ports                 |     Version:  1.6.0                                
 Keywords:                        |  
----------------------------------+-----------------------------------------
 I am using Mac OS X Tiger.

 I 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:

 sudo rm -rf ${prefix} \
 /Applications/MacPorts \
 /Applications/DarwinPorts \
 /Library/Tcl/macports1.0 \
 /Library/Tcl/darwinports1.0 \
 /Library/LaunchDaemons/org.macports.* \
 /Library/StartupItems/DarwinPortsStartup \
 /Library/Receipts/MacPorts*.pkg \
 /Library/Receipts/DarwinPorts*.pkg \
 /etc/manpaths.d/macports \
 /etc/paths.d/macports

 When trying to install the latest macports the installer kept reporting
 "please try installing again", when I run from the command line I get
 this:

 james at edufb12@02:47 pm:~$ sudo /usr/sbin/installer -dumplog -verbose -pkg
 /Volumes/MacPorts-1.6.0/MacPorts-1.6.0.pkg -target /Volumes/sally/
 installer[1950]: Localized installer scripts detected in the
 MacPorts-1.6.0 package. Switching to compatibility mode.
 installer[1950]: Distribution: MacPorts
 installer: Package name is MacPorts
 installer: Installing onto volume mounted at /.
 installer: Preparing for installation.....
 installer[1950]: Localized installer script preflight found in the
 MacPorts-1.6.0 package. Using compatibility mode.
 installer[1950]: Localized installer script postflight found in the
 MacPorts-1.6.0 package. Using compatibility mode.
 installer[1950]: Starting installation:
 installer: Preparing the Disk.....
 installer[1950]: Preparing volume "sally" for installation
 installer:      Preparing Target Volume
 installer[1950]: Configuring volume "sally"
 installer[1950]: Preparing local booted disk
 #installer[1950]: Create temporary directory
 "/private/tmp/MacPorts-1.6.0.pkg.1950ATfxuo"

 installer: Preparing MacPorts.....
 installer:      Running MacPorts Installer script
 installer[1950]: run preflight script for MacPorts
 installer[1950]: Localized installer script preflight found in the
 MacPorts-1.6.0 package. Using compatibility mode.
 installer[1950]: Install failed: The following install step failed: run
 preflight script for MacPorts
 installer: The install failed.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14321>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list