johnchong005 / munki

Automatically exported from code.google.com/p/munki
Other
0 stars 0 forks source link

Issue Installing Pro Applications Update 2010-01 with 0.5.2.533 #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Apple Software Updates with Munki.
2. Attempt to Install Pro Application Update 2010-01

What is the expected output? What do you see instead?
Expected:
Update installs.

Actual:
Update installation fails immediately:

bash-3.2# managedsoftwareupdate -vvv --installonly
Managed Software Update Tool
Copyright 2010 The Munki Project
http://code.google.com/p/munki

Installing Pro Applications Update 2010-01 (1 of 1)...
suppress_bundle_relocation: False
 Error - This is not a supported installation method.
Install of Apple Loops Utility failed.
ERROR: 
------------------------------------------------------------------------------
ERROR: installer: Error - This is not a supported installation method.
ERROR: 
------------------------------------------------------------------------------

What version of the product are you using? On what operating system?
10.6.4 Munki 0.5.2.533

Please provide any additional information below.
Here is the update that fails to install.
http://support.apple.com/kb/DL949

Original issue reported on code.google.com by wgme...@gmail.com on 24 Jun 2010 at 4:03

GoogleCodeExporter commented 8 years ago
That's probably not something that can be easily fixed. There is no officially 
supported way to install Apple Software Update downloads other than using 
Software Update itself. You'd have the exact same issue if you tried to 
"manually" install this update after using softwareupdate to download it.

The workaround would be to download the standalone updater and manage that with 
munki instead of relying on Apple Software Update.  If you ever want to be able 
to uninstall/remove the Final Cut Suite applications, you'd want that update in 
munki; otherwise munki wouldn't know how to remove it.

Original comment by gregnea...@mac.com on 24 Jun 2010 at 4:21

GoogleCodeExporter commented 8 years ago
This is the pkginfo I used for ProAppUpd2010-01 to get it installed.
I removed all receipt entries with "auto".
Then I shortened the remaining receipt versions.
This could mean that this update cannot be uninstalled with munki but at least 
you should get it installed.

If you find it does/does not work then please let us know.

For your purposes remember to change these keys: installer_item_location, name, 
update_for. And possibly the version key.

Here goes:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>autoremove</key>
    <false/>
    <key>catalogs</key>
    <array>
        <string>to_production</string>
        <string>testing</string>
    </array>
    <key>description</key>
    <string>Pro Applications Update 2010-01 for Final Cut Studio 3.</string>
    <key>display_name</key>
    <string>Pro Applications Update 2010-01</string>
    <key>installed_size</key>
    <integer>1405405</integer>
    <key>installer_item_location</key>
    <string>Apple_apps/FinalCutStudio_3/ProApplicationsUpdate2010-01.dmg</string>
    <key>installer_item_size</key>
    <integer>315502</integer>
    <key>minimum_os_version</key>
    <string>10.4.0</string>
    <key>name</key>
    <string>ProApplicationsUpdate_2010_01</string>
    <key>update_for</key>
    <array>
        <string>Final_Cut_Studio_3</string>
    </array>
    <key>receipts</key>
    <array>
        <dict>
            <key>installed_size</key>
            <integer>318</integer>
            <key>packageid</key>
            <string>com.apple.pkg.AppleIntermediateCodec</string>
            <key>version</key>
            <string>1.3.1</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>23036</integer>
            <key>packageid</key>
            <string>com.apple.pkg.AppleLoopsUtility</string>
            <key>version</key>
            <string>3.0.1</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>26395</integer>
            <key>packageid</key>
            <string>com.apple.pkg.CinemaTools</string>
            <key>version</key>
            <string>4.5.1</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>25610</integer>
            <key>packageid</key>
            <string>com.apple.pkg.Color</string>
            <key>version</key>
            <string>1.5.2</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>23433</integer>
            <key>packageid</key>
            <string>com.apple.pkg.Compressor</string>
            <key>version</key>
            <string>3.5.2</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>180550</integer>
            <key>packageid</key>
            <string>com.apple.pkg.DSPPublishing</string>
            <key>version</key>
            <string>1.0.1</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>1532</integer>
            <key>packageid</key>
            <string>com.apple.pkg.DSPPublishingTemplatesUpdate</string>
            <key>version</key>
            <string>1.0.1</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>104954</integer>
            <key>packageid</key>
            <string>com.apple.pkg.FinalCutPro</string>
            <key>version</key>
            <string>7.0.2</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>161621</integer>
            <key>packageid</key>
            <string>com.apple.pkg.Motion</string>
            <key>version</key>
            <string>4.0.2</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>7327</integer>
            <key>packageid</key>
            <string>com.apple.pkg.ProAppsEffectsA</string>
            <key>version</key>
            <string>1.0.5</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>1794</integer>
            <key>packageid</key>
            <string>com.apple.pkg.ProCoreA</string>
            <key>version</key>
            <string>4.0.1</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>19204</integer>
            <key>packageid</key>
            <string>com.apple.pkg.PSTSharedA</string>
            <key>version</key>
            <string>1.0.2</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>47911</integer>
            <key>packageid</key>
            <string>com.apple.pkg.Qmaster</string>
            <key>version</key>
            <string>3.5.2</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>116067</integer>
            <key>packageid</key>
            <string>com.apple.pkg.SoundtrackPro</string>
            <key>version</key>
            <string>3.0.1</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>228</integer>
            <key>packageid</key>
            <string>com.apple.pkg.Uncompressed422</string>
            <key>version</key>
            <string>1.6.1</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>4601</integer>
            <key>packageid</key>
            <string>com.apple.pkg.VideoOutSupport</string>
            <key>version</key>
            <string>1.5.2</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>29588</integer>
            <key>packageid</key>
            <string>com.apple.pkg.AppleLoopsUtility</string>
            <key>version</key>
            <string>3.0.1</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>28780</integer>
            <key>packageid</key>
            <string>com.apple.pkg.CinemaTools</string>
            <key>version</key>
            <string>4.5.1</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>26916</integer>
            <key>packageid</key>
            <string>com.apple.pkg.Color</string>
            <key>version</key>
            <string>1.5.2</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>29200</integer>
            <key>packageid</key>
            <string>com.apple.pkg.Compressor</string>
            <key>version</key>
            <string>3.5.2</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>1680</integer>
            <key>packageid</key>
            <string>com.apple.pkg.DSPPublishingTemplatesUpdate</string>
            <key>version</key>
            <string>1.0.1</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>115880</integer>
            <key>packageid</key>
            <string>com.apple.pkg.FinalCutPro</string>
            <key>version</key>
            <string>7.0.2</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>174404</integer>
            <key>packageid</key>
            <string>com.apple.pkg.Motion</string>
            <key>version</key>
            <string>4.0.2</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>7564</integer>
            <key>packageid</key>
            <string>com.apple.pkg.ProAppsEffectsA</string>
            <key>version</key>
            <string>1.0.5</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>1896</integer>
            <key>packageid</key>
            <string>com.apple.pkg.ProCoreA</string>
            <key>version</key>
            <string>4.0.1</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>55064</integer>
            <key>packageid</key>
            <string>com.apple.pkg.Qmaster</string>
            <key>version</key>
            <string>3.5.2</string>
        </dict>
        <dict>
            <key>installed_size</key>
            <integer>129280</integer>
            <key>packageid</key>
            <string>com.apple.pkg.SoundtrackPro</string>
            <key>version</key>
            <string>3.0.1</string>
        </dict>
    </array>
    <key>uninstall_method</key>
    <string>removepackages</string>
    <key>uninstallable</key>
    <true/>
    <key>version</key>
    <string>1.0.0.0.0</string>
</dict>
</plist>

Original comment by miq...@gmail.com on 10 Aug 2010 at 7:44

GoogleCodeExporter commented 8 years ago
Workaround is to use munki to directly install the downloaded update instead of 
using Apple Software Update.

Original comment by gregnea...@mac.com on 26 Aug 2010 at 7:13