Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Our Archives > General Archives > Servers > command line installer weirdness

 
command line installer weirdness
Thread Tools
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Aug 7, 2003, 01:16 AM
 
Trying to install MySQL from the Complete MySQL package. Working remotely. I mount the dmg using hdiutil. I cd into the /Volumes/MySQL dir. I run

installer -dumplog -pkg MySQL.pkg -target /

The output shows:

installer: Package name is MySQL
installer: Upgrading volume mounted at /.
installer: The upgrade was successful.
Installation Log:

Executing preupgrade ...
ERROR:Could not open archive file. - pax: error 2:Failed open to read on MySQL.pkg/Contents/Archive.pax.gz - No such file or directory
...

at which point the rest of the install fails. This is odd cuz the file ref'd by pax most definitely exists and is mode 777.

The really weird part comes next though. The terminal is now totally screwed. Only about every 3rd key makes it through, and sometimes it's the wrong key. Firing up a fresh terminal and reconnecting get everything back to normal.
     
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Aug 7, 2003, 12:33 PM
 
Using a full path to the pkg solves the failed install problem. The fzsck'd up terminal thing is still odd though.
     
 
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:49 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2