ERROR: Missing local Software Update catalog

1,008 views
Skip to first unread message

Colin Osterhout

unread,
Jun 19, 2012, 3:33:46 PM6/19/12
to munk...@googlegroups.com
Now it's my turn to see this issue during invocation of "managedsoftwareupdate --installonly" : https://groups.google.com/group/munki-dev/browse_thread/thread/3d9526e66afd6d9e

Am seeing this on two clients.  Config for munki:
colinomm:Managed Installs colino$ defaults read /Library/Preferences/ManagedInstalls
{
    AppleSoftwareUpdatesOnly = 0;
    ClientIdentifier = techops;
    DaysBetweenNotifications = 1;
    InstallAppleSoftwareUpdates = 1;
    InstalledApplePackagesChecksum = e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855;
    LastAppleSoftwareUpdateCheck = "2012-06-19 16:58:41 +0000";
    LastCheckDate = "2012-06-19 19:26:46 +0000";
    LastCheckResult = 0;
    LogFile = "/Library/Managed Installs/Logs/ManagedSoftwareUpdate.log";
    LoggingLevel = 1;
    ManagedInstallDir = "/Library/Managed Installs";
    PackageVerificationMode = hash;
    SoftwareRepoURL = "http://munki/munki";
    SoftwareUpdateServerURL = "";
    SuppressAutoInstall = 0;
    SuppressStopButtonOnInstall = 0;
    SuppressUserNotification = 0;
    UseClientCertificate = 0;
}

Updates through the normal Apple supplied tools seem to work.  I've tried the following:

- Verified permissions on directory /Library/Managed Installs/swupd/content/catalogs/ is writable by root and executable for traversing.
- Removing /Library/Managed Installs/AppleUpdates.plist, /Library/Managed Installs/swupd, /Library/Managed Installs/Cache, and rerunning the managedsoftwareupdate again
- Reinstalling Munki, rebooting, running managedsoftwareupdate again

I also see this suspicious error snippet during the running of managedsoftwareupdate:

    Caching Spanish distribution for product ID zzzz041-6245...
    follow_redirects is True
    HTTP/1.1 200 OK
WARNING: Could not replicate software update metadata:
WARNING:        HTTP result 200: OK

Anyone seen this issue before other than the GP of the initial thread poster?  Other things to try?  This seems to happen coincidentally with some change to Apple Software Update Server mod_rewrite config to using a cgi-bin executable to provide the appropriate index.sucatalog.

Thanks in advance,

Colin

Matt A

unread,
Jun 20, 2012, 1:50:26 PM6/20/12
to munk...@googlegroups.com
Hi

I believe I have the same problem.

I'm running clients with 10.7 and Munki 0.8.2.1475.0. My server is OS X 10.7.4 that host the repository. On this machine I also run my own SUS. 

As you remember apple seem to have had some issues with distributing updates a week ago, so that messed up my own SUS. I did a complete reset of it, let it download all the updates again and started using it. That's when I noticed that my Munki clients all of a sudden couldn't apply apple updates provided by my SUS.

Today I've been looking closer at the problem. If you run the managedsoftwareupdate GUI it finds all the updates, but as soon as you try to apply them it shows "finishing" in just 2 sec and closes down, not updates applied. Running terminal with -vvv shows:

ERROR: Missing local Software Update catalog at /Library/Managed Installs/swupd/content/catalogs/local_install.sucatalog


Then i pointed the build in Apple software updater to my own SUS and the updates installs just fine...


Back to Munki - seems like it's the iTunes 10.6.3 and iPhoto 9.3 updates causing this behaviour. Deactivating them in my own SUS makes all other updates install just fine.


So, I'm right now in the process of trying what the next step would be to try.


Cheers

Matt

Greg Neagle

unread,
Jun 20, 2012, 1:52:57 PM6/20/12
to munk...@googlegroups.com
On Jun 20, 2012, at 10:50 AM, Matt A wrote:

Hi

I believe I have the same problem.

I'm running clients with 10.7 and Munki 0.8.2.1475.0. My server is OS X 10.7.4 that host the repository. On this machine I also run my own SUS. 

As you remember apple seem to have had some issues with distributing updates a week ago, so that messed up my own SUS. I did a complete reset of it, let it download all the updates again and started using it. That's when I noticed that my Munki clients all of a sudden couldn't apply apple updates provided by my SUS.

Today I've been looking closer at the problem. If you run the managedsoftwareupdate GUI it finds all the updates, but as soon as you try to apply them it shows "finishing" in just 2 sec and closes down, not updates applied. Running terminal with -vvv shows:

ERROR: Missing local Software Update catalog at /Library/Managed Installs/swupd/content/catalogs/local_install.sucatalog



Is this the case? Is this file missing? Or is there some other issue with the file?

If the file is there when this issue occurs and you cannot determine an issue with it, could you forward it to me?

-Greg

Matt A

unread,
Jun 20, 2012, 2:05:59 PM6/20/12
to munk...@googlegroups.com
I just cleared the Managed Installs folder on one of my clients, activated iTunes 10.6.3 in my SUS and ran Munki again.

The problem occurs.

I look in Library/Managed Installs/swupd/content/catalogs/ and the only files i see there are:

apple_index.sucatalog
filtered_index.sucatalog

So yes, the file local_install.sucatalog is not present

/Matt

Library/Managed Installs/swupd/content/catalogs/local_install.sucatalog

Colin Osterhout

unread,
Jun 20, 2012, 2:09:42 PM6/20/12
to munk...@googlegroups.com
Just tested with the latest version of Munki:

colinomm:~ colino$ sudo managedsoftwareupdate --version
0.8.3.1564

and the problem still remains.  I noticed this issue and tested out with curl to make sure I could get the catalog manually, and all seemed well.

Colin Osterhout

unread,
Jun 27, 2012, 2:35:58 PM6/27/12
to munk...@googlegroups.com
I keep bumping heads into this problem at a couple locations, each with Lion ASUS servers.  Does anyone else run ASUS on Lion and have it work swimmingly with Munki clients?  If not, what sorts of further debug information would be helpful in figuring this out?

Colin

Colin Osterhout

unread,
Jun 28, 2012, 4:54:56 PM6/28/12
to munk...@googlegroups.com
I'll have a chance here in the next 5 days to test out a couple different ASUS server types (Lion and SL) at a different location that we work with and will keep the thread posted.  This may be the kind of thing that moves me towards trying Reposado.

Colin

On Thu, Jun 28, 2012 at 12:41 PM, wademade <wal...@dcsd.org> wrote:
Hi...

I am having the same problem. Anything figured out yet. I am trying everything I know how to do and I just can't figure it out.

Wade

A.E. van Bochoven

unread,
Jun 28, 2012, 5:20:46 PM6/28/12
to munk...@googlegroups.com
Same here, clean Lion install (10.7.3), Munki 0.8.2.1475, Apple SUS.

ERROR: Missing local Software Update catalog at /Library/Managed Installs/swupd/content/catalogs/local_install.sucatalog

-Arjen

Greg Neagle

unread,
Jun 28, 2012, 5:36:30 PM6/28/12
to munk...@googlegroups.com
I don't use a Lion Server software update server.

I am setting one up to test, but it might be a while, and there's no guarantee that I'll be bale to replicate the issue.

So a managedsoftwareupdate -vvvv run demonstrating the issue would be helpful.

Or you all should just switch to Reposado. :-)

-Greg

A.E. van Bochoven

unread,
Jun 28, 2012, 5:39:51 PM6/28/12
to munk...@googlegroups.com
To be clear, I'm running munki against swscan.apple.com. I'll get you a full log tomorrow.

grz

Arjen

Greg Neagle

unread,
Jun 28, 2012, 5:43:25 PM6/28/12
to munk...@googlegroups.com

On Jun 28, 2012, at 2:39 PM, A.E. van Bochoven wrote:

> To be clear, I'm running munki against swscan.apple.com.

That's helpful info.

Matt A

unread,
Jun 28, 2012, 6:02:03 PM6/28/12
to munk...@googlegroups.com
I will reset my internal SUS (10.7.4) one more time and see if the same problem occurs for me when iTunes 10.6.3 and iPhoto 9.3 is active

/Matt



Greg Neagle

unread,
Jun 28, 2012, 6:02:28 PM6/28/12
to munk...@googlegroups.com
...but I cannot reproduce the issue against Apple's default server(s) either:

Running 10.7.4.

# /usr/local/munki/managedsoftwareupdate -V
0.8.3.1564

I pointed Munki at Apple's software update servers.

# defaults read /Library/Preferences/com.apple.SoftwareUpdate CatalogURL
2012-06-28 14:57:27.228 defaults[1955:303]
The domain/default pair of (com.apple.SoftwareUpdate, CatalogURL) does not exist

# defaults read /Library/Preferences/ManagedInstalls SoftwareUpdateServerURL
2012-06-28 14:58:27.139 defaults[1964:303]
The domain/default pair of (ManagedInstalls, SoftwareUpdateServerURL) does not exist

I removed the LastAppleSoftwareUpdateCheck date:
# defaults delete /Library/Preferences/ManagedInstalls LastAppleSoftwareUpdateCheck

I removed iTunes so it would offer me the latest iTunes:
# rm -r /Applications/iTunes.app
# rm -r /System/Library/PrivateFrameworks/iTunesAccess.framework

# /usr/local/munki/managedsoftwareupdate
Managed Software Update Tool
Copyright 2010-2012 The Munki Project
http://code.google.com/p/munki

Starting...
Performing preflight tasks...
preflight stdout: Preflight report submmitted for Greg-Neagle--moss.
Checking for available updates...
Retreiving list of software for this machine...
No changes to managed software are available.
Checking Apple Software Update catalog...
Checking for available Apple Software Updates...
Caching metadata for product ID zzzz041-6245...
Caching package metadata for product ID zzzz041-6245...
Caching package metadata for product ID zzzz041-6245...
Caching package metadata for product ID zzzz041-6245...
Caching package metadata for product ID zzzz041-6245...
Caching package metadata for product ID zzzz041-6245...
Caching package metadata for product ID zzzz041-6245...
Caching ro distribution for product ID zzzz041-6245...
Caching tr distribution for product ID zzzz041-6245...
Caching ca distribution for product ID zzzz041-6245...
Caching el distribution for product ID zzzz041-6245...
Caching fi distribution for product ID zzzz041-6245...
Caching sv distribution for product ID zzzz041-6245...
Caching German distribution for product ID zzzz041-6245...
Caching zh_TW distribution for product ID zzzz041-6245...
Caching hu distribution for product ID zzzz041-6245...
Caching en_GB distribution for product ID zzzz041-6245...
Caching cs distribution for product ID zzzz041-6245...
Caching he distribution for product ID zzzz041-6245...
Caching English distribution for product ID zzzz041-6245...
Caching zh_CN distribution for product ID zzzz041-6245...
Caching da distribution for product ID zzzz041-6245...
Caching uk distribution for product ID zzzz041-6245...
Caching ar distribution for product ID zzzz041-6245...
Caching French distribution for product ID zzzz041-6245...
Caching ko distribution for product ID zzzz041-6245...
Caching no distribution for product ID zzzz041-6245...
Caching pt_PT distribution for product ID zzzz041-6245...
Caching ru distribution for product ID zzzz041-6245...
Caching Italian distribution for product ID zzzz041-6245...
Caching Dutch distribution for product ID zzzz041-6245...
Caching sk distribution for product ID zzzz041-6245...
Caching Japanese distribution for product ID zzzz041-6245...
Caching th distribution for product ID zzzz041-6245...
Caching pt distribution for product ID zzzz041-6245...
Caching hr distribution for product ID zzzz041-6245...
Caching Spanish distribution for product ID zzzz041-6245...
Caching pl distribution for product ID zzzz041-6245...
Downloading available Apple Software Updates...
Done.
Packages have been saved to /Library/Updates...
The following Apple Software Updates are available to install:
+ iTunes-10.6.3

Run managedsoftwareupdate --installonly to install the downloaded updates.
Finishing...
Performing postflight tasks...
postflight stdout: Postflight report submmitted for Greg-Neagle--moss.
Done.

Now install:

ware Update Tool
Copyright 2010-2012 The Munki Project
http://code.google.com/p/munki

Starting...
Performing preflight tasks...
preflight stdout: Preflight report submmitted for Greg-Neagle--moss.
The following Apple Software Updates are available to install:
+ iTunes-10.6.3
Installing available Apple Software Updates...
Checking packages…
Installing...
Waiting for other installations to complete…
Validating packages…
0 Writing files…
0..20 Optimizing system for installed software…
0..20 Running package scripts…
0..20..40..60..80.. Writing package receipts…
0..20..40..60..80.. Cleaning up…
0..20..40..60..80..100
Installed iTunes...
Done.
Finishing...
Performing postflight tasks...
postflight stdout: Postflight report submmitted for Greg-Neagle--moss.
Inventory submmitted for Greg-Neagle--moss.
Done.

Greg Neagle

unread,
Jun 28, 2012, 6:34:08 PM6/28/12
to munk...@googlegroups.com
Update: I got a local Lion Server Software Update Server up and running and repeated the test(s) below successfully as well.

-Greg

Arjen van Bochoven

unread,
Jun 29, 2012, 5:44:07 AM6/29/12
to munk...@googlegroups.com
I don't know what I was on yesterday, but I can't replicate the issue anymore. Couldn't find anything in the logs either. I remember seeing this:

HTTP/1.1 200 OK
WARNING: Could not replicate software update metadata:
WARNING: HTTP result 200: OK

But now all updates run flawlessly. Maybe it was caused by some hickup at Apple's default server(s)?

-Arjen

Timothy Sutton

unread,
Jun 29, 2012, 7:30:23 AM6/29/12
to munk...@googlegroups.com
Definitely wouldn't be the first time!

-Tim

wademade

unread,
Jun 29, 2012, 10:12:18 AM6/29/12
to munk...@googlegroups.com
Ok... This is what I have found. I believe the problem occurs because the file "local_install.sucatalog" is not being written in Library/ManagedInstalls/swupd/content/catalogs. Once it is there all seems to work. 

From what I can tell, at least in my situation, is that disabling the iTunes 6.3 update on my ASUS let the file write the above file, and installed without fail. I then ran Managed Software Update on two other computers without fail. I was then able to activate iTunes 6.3 and it has installed without fail on all 3 of my test machines.

The idea I have gleamed from seeing this is that in my situation I had many Apple software updates to install. Below you will find a screenshot of the list that needed to be installed.

I am wondering if there is a setting that is holding back installing all that data, and when I deactivated iTunes 6.3, it wasn't over the "so called limit" and was able to do its job writing the "local_install.sucatalog"  file in place solving this problem with the variables unique to my situation.

I am wondering if this has to do with kern.maxfiles setting not being high enough when installing many updates. Once I deactivated the iTunes 6.3 it brought the kern.maxfiles down under the highest setting allowed, let the file local_install.sucatalog be written to the client and as well transfer data correctly from the repository.

I hope this fully solves my problem and helps with anyone else having this problem. I will let everyone know if I fall into different problems or if the problem resurfaces itself.

Wade
Screen Shot 2012-06-29 at 7.21.18 AM.png

Colin Osterhout

unread,
Jun 29, 2012, 2:14:38 PM6/29/12
to munk...@googlegroups.com
When I was getting the issue I only had 5 or so updates that were needed to be installed.  I should have more data soon since I'm onsite at a different installation and will be rebuilding the network and servers here mostly from scratch.  Thanks for the updates!

Colin

Greg Neagle

unread,
Jun 29, 2012, 2:29:43 PM6/29/12
to munk...@googlegroups.com
On Jun 29, 2012, at 7:12 AM, wademade wrote:

Ok... This is what I have found. I believe the problem occurs because the file "local_install.sucatalog" is not being written in Library/ManagedInstalls/swupd/content/catalogs.

Definitely. The bigger question is why is this file not being written. Looking through the code, this file would not be written if the user clicks "Stop" in Managed Software Update's status window during an Apple Software Update check, or if the "/Library/ManagedInstalls/swupd/content/" directory doesn't exist and Munki is unable to create it.

Another error that would prevent this file from being written is any replication error that occurs while Munki is trying to cache the update metadata. This would appear as "WARNING: Could not replicate software update metadata..." in the logs (ManagedSoftwareUpdate.log and warnings.log, both by defaults in /Library/Managed Installs/Logs/).

It sounds like this latter issue is what is occurring, based on Arjen's earlier replt, so the larger issue is that Munki is not properly handling this -- it should just stop at that point and not attempt to download any updates since it wasn't able to cache the update metadata.

(The net result would be the same, though -- Munki would not download or install updates until the issue with the update server was resolved.)

Once it is there all seems to work. 

From what I can tell, at least in my situation, is that disabling the iTunes 6.3 update on my ASUS let the file write the above file, and installed without fail. I then ran Managed Software Update on two other computers without fail. I was then able to activate iTunes 6.3 and it has installed without fail on all 3 of my test machines.

The idea I have gleamed from seeing this is that in my situation I had many Apple software updates to install. Below you will find a screenshot of the list that needed to be installed.

I am wondering if there is a setting that is holding back installing all that data, and when I deactivated iTunes 6.3, it wasn't over the "so called limit" and was able to do its job writing the "local_install.sucatalog"  file in place solving this problem with the variables unique to my situation.

I am wondering if this has to do with kern.maxfiles setting not being high enough when installing many updates. Once I deactivated the iTunes 6.3 it brought the kern.maxfiles down under the highest setting allowed, let the file local_install.sucatalog be written to the client and as well transfer data correctly from the repository.

Most likely there was a problem with the replication of the metadata for the iTunes (10.)6.3 update. By excluding that update, Munki could cache the update data for all of the other updates and proceed.

This machine isn't/wasn't running with very low available disk space, was it? That might also explain the issue...

<Screen Shot 2012-06-29 at 7.21.18 AM.png>

Colin Osterhout

unread,
Jun 29, 2012, 4:00:04 PM6/29/12
to munk...@googlegroups.com
From my notes, there was plenty of disk space, and the folder "/Library/Managed Installs/swupd/content" was writable.  And I did see the log lines:

HTTP/1.1 200 OK
WARNING: Could not replicate software update metadata:

I thought that was odd since it got the 200 error code which would seem to indicate success.

Greg Neagle

unread,
Jun 30, 2012, 1:49:05 AM6/30/12
to munk...@googlegroups.com
I've now successfully replicated this issue by disconnecting the network while software update metadata replication was taking place. I've pushed a code change here: http://code.google.com/p/munki/source/detail?r=27ca3a276847 which addresses the issue.

Net result is the same: Apple software updates won't install, but the error message is something like this:

WARNING: Could not replicate software update metadata:
WARNING: Error 7: Failed to connect to 208.111.144.162: No route to host

Instead of this:

ERROR: Missing local Software Update catalog at /Library/Managed Installs/swupd/content/catalogs/local_install.sucatalog

-Greg

Colin Osterhout

unread,
Jul 2, 2012, 12:06:42 AM7/2/12
to munk...@googlegroups.com
Couldn't reproduce the failure here on the road with a new installation of 10.7 ASUS.  Will give another look-see along with the updated code when I get back to my office this upcoming week.  Must be something peculiar with my setup at my office.

Colin

A.E. van Bochoven

unread,
Jul 4, 2012, 6:14:47 AM7/4/12
to munk...@googlegroups.com
I dug into this, and I think I found at least one issue:

running /usr/local/munki/managedsoftwareupdate --applesuspkgsonly gave this output:

Jul 04 11:44:30 ### Starting managedsoftwareupdate run: custom ###
Jul 04 11:44:30 Starting...
Jul 04 11:44:30 Performing preflight tasks...
Jul 04 11:44:31 Checking Apple Software Update catalog...
Jul 04 11:44:31 Caching CatalogURL http://swscan.apple.com/content/catalogs/others/index-lion-snowleopard-leopard.merged-1.sucatalog.gz
Jul 04 11:44:31 Checking for available Apple Software Updates…
<snip>
Jul 04 11:45:51 Caching ar distribution for product ID zzzz041-6245
Jul 04 11:45:51 Caching French distribution for product ID zzzz041-6245
Jul 04 11:45:51 WARNING: Could not replicate software update metadata:
Jul 04 11:45:51 WARNING: HTTP result 200: OK
Jul 04 11:45:51 The following Apple Software Updates are available to instal
l:
Jul 04 11:45:51 + iTunes-10.6.3
Jul 04 11:45:51 Finishing…

I took a look at
http://swscan.apple.com/content/catalogs/others/index-lion-snowleopard-leopard.merged-1.sucatalog.gz
and found the French distribution for zzzz041-6245 (iTunes):
http://swcdn.apple.com/content/downloads/50/49/zzzz041-6245/uif0ktml8jgzve8yfgg7sra78c1hx8mlmx/041-6245.French.dist
this links to an empty file..

I think munki should skip this and continue.

grz

-Arjen

Gregory Neagle

unread,
Jul 4, 2012, 10:48:04 AM7/4/12
to munk...@googlegroups.com
On Jul 4, 2012, at 3:14 AM, "A.E. van Bochoven" <ne...@me.com> wrote:

> I dug into this, and I think I found at least one issue:
>
> running /usr/local/munki/managedsoftwareupdate --applesuspkgsonly gave this output:
>
> Jul 04 11:44:30 ### Starting managedsoftwareupdate run: custom ###
> Jul 04 11:44:30 Starting...
> Jul 04 11:44:30 Performing preflight tasks...
> Jul 04 11:44:31 Checking Apple Software Update catalog...
> Jul 04 11:44:31 Caching CatalogURL http://swscan.apple.com/content/catalogs/others/index-lion-snowleopard-leopard.merged-1.sucatalog.gz
> Jul 04 11:44:31 Checking for available Apple Software Updates…
> <snip>
> Jul 04 11:45:51 Caching ar distribution for product ID zzzz041-6245
> Jul 04 11:45:51 Caching French distribution for product ID zzzz041-6245
> Jul 04 11:45:51 WARNING: Could not replicate software update metadata:
> Jul 04 11:45:51 WARNING: HTTP result 200: OK
> Jul 04 11:45:51 The following Apple Software Updates are available to instal
> l:
> Jul 04 11:45:51 + iTunes-10.6.3
> Jul 04 11:45:51 Finishing…
>
> I took a look at
> http://swscan.apple.com/content/catalogs/others/index-lion-snowleopard-leopard.merged-1.sucatalog.gz
> and found the French distribution for zzzz041-6245 (iTunes):
> http://swcdn.apple.com/content/downloads/50/49/zzzz041-6245/uif0ktml8jgzve8yfgg7sra78c1hx8mlmx/041-6245.French.dist
> this links to an empty file..

Odd. That links to a perfectly good file from here.

>
> I think munki should skip this and continue.

You might not think that if French was your primary language!

A.E. van Bochoven

unread,
Jul 4, 2012, 10:56:33 AM7/4/12
to munk...@googlegroups.com

On Jul 4, 2012, at 4:48 PM, Gregory Neagle <gregn...@mac.com> wrote:

> Odd. That links to a perfectly good file from here.

There's something weird going on:

From my hoster in the US: first try, nothing, second try: bingo!
From the Netherlands (several hosts, different netblocks): no show.


>
>>
>> I think munki should skip this and continue.
>
> You might not think that if French was your primary language!

Haha, point taken!


-Arjen

Ben Bass

unread,
Jul 4, 2012, 11:23:04 AM7/4/12
to munk...@googlegroups.com

If you look, apple changed the hosting for swscan.apple.com. Before it was hosted by apple on a single machine, but now a dns lookup will give you p01-swscan.apple.com.akadns.net instead of the old apple IP. If I remember correctly p01-swscan.apple.com.akadns.net translates to different IP's based on your location. If you do a quick dig of swscan.apple.com from Open DNS vs Googles DNS -

xxx:~ xxxx$ dig @208.67.222.222 swscan.apple.com

; <<>> DiG 9.7.3-P3 <<>> @208.67.222.222 swscan.apple.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4937
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;swscan.apple.com. IN A

;; ANSWER SECTION:
swscan.apple.com. 1107 IN CNAME p01-swscan.apple.com.akadns.net.
p01-swscan.apple.com.akadns.net. 77 IN A 17.164.1.22

;; Query time: 36 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Wed Jul 4 11:17:24 2012
;; MSG SIZE rcvd: 95

and -

xxx:~ xxxx$ dig @8.8.8.8 swscan.apple.com

; <<>> DiG 9.7.3-P3 <<>> @8.8.8.8 swscan.apple.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11786
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;swscan.apple.com. IN A

;; ANSWER SECTION:
swscan.apple.com. 3585 IN CNAME p01-swscan.apple.com.akadns.net.
p01-swscan.apple.com.akadns.net. 285 IN A 17.146.232.12

;; Query time: 35 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed Jul 4 11:19:08 2012
;; MSG SIZE rcvd: 95


This explains the different results as they are different asus repositories, even though they are still apple machines. I think they made that change right about the time of the Developer Conference keynote. That was when I noticed a few ASUS servers I had setup to do some dns redirects to the local machine had broken.

-Ben Bass

Matt A

unread,
Jul 4, 2012, 6:51:41 PM7/4/12
to munk...@googlegroups.com
Hi all

In my case with running my own SUS, i reset the SUS about 24 hours ago, I'm still stuck in the same situation, but this time only with the iTunes 10.6.3 update, the iPhoto 9.3 update downloads and installs just fine.

Same error log as before:

warnings.log:

WARNING: Could not replicate software update metadata:

WARNING: HTTP result 200: OK


errors.log:


ERROR: Missing local Software Update catalog at /Library/Managed Installs/swupd/content/catalogs/local_install.sucatalog


So, i don't know, is it the actual download of the iTunes 10.6.3 that is still corrupt somehow? I'm tempted to reset the SUS one more time to see if the iTunes update start working just like the iPhoto update did.


Guess a work around would be to package/import the iTunes 10.6.3 into Munki instead, just like any other third party update.


- Matt

immoral

unread,
Jul 4, 2012, 8:25:12 PM7/4/12
to munk...@googlegroups.com
i've had very similar issues with my ASUS. i still cannot get it to add the latest Safari update to the SUS munki is pointed at even after a rebuild of the contents. i created a new ASUS on a new OS X Lion server and that DID bring down the update. this all started after WWDC...  

Greg Neagle

unread,
Jul 11, 2012, 8:59:37 PM7/11/12
to munk...@googlegroups.com
I addressed this issue in late June -- you can download a build of the Munki tools that has the "fix" here:


This provides a better error message and prevents Munki from attempting to install Apple updates when it hasn't been able to cache them all for install.

But it does not address the underlying issue, which is that there are issues with Apple's software update servers and some files cannot be successfully cached. This is not a problem that can be fixed by modifying Munki; this is an Apple problem.

Reposado users have also seen updates that refuse to properly replicate from Apple's servers.

This unwelcome behavior seems to have begun around WWDC 2012.

-Greg

On Jul 11, 2012, at 5:39 PM, Ryan Stanley wrote:

here's a -vvvv if it helps at all:

testmunk:~ xadmin$ sudo managedsoftwareupdate --applesuspkgsonly -vvvv
Managed Software Update Tool
Copyright 2010-2012 The Munki Project

Starting...
NOTE: managedsoftwareupdate is configured to process Apple Software Updates only.
Checking Apple Software Update catalog...
    follow_redirects is True
    HTTP/1.1 302 Found
    Date: Thu, 12 Jul 2012 00:35:30 GMT
    Server: Apache/2.2.21 (Unix)
    Content-Length: 386
    Connection: close
    Content-Type: text/html; charset=iso-8859-1
    HTTP/1.1 200 OK
    Date: Thu, 12 Jul 2012 00:35:30 GMT
    Server: Apache/2.2.21 (Unix)
    Connection: close
    Transfer-Encoding: chunked
    Content-Type: text/plain; charset=iso-8859-1
0..20..40..60..80..100
    WARNING: Web server did not return an etag. Munki cannot safely resume downloads without etag support on the web server. URL: http://rox.jnu.serrc.org:8088/index.sucatalog
Checking for available Apple Software Updates...
    Caching metadata for product ID 041-4169...
    Caching package metadata for product ID 041-4169...
    Caching ro distribution for product ID 041-4169...
    Caching tr distribution for product ID 041-4169...
    Caching ca distribution for product ID 041-4169...
    Caching el distribution for product ID 041-4169...
    Caching fi distribution for product ID 041-4169...
    Caching sv distribution for product ID 041-4169...
    Caching German distribution for product ID 041-4169...
    Caching zh_TW distribution for product ID 041-4169...
    Caching hu distribution for product ID 041-4169...
    Caching cs distribution for product ID 041-4169...
    Caching he distribution for product ID 041-4169...
    Caching English distribution for product ID 041-4169...
    Caching zh_CN distribution for product ID 041-4169...
    Caching da distribution for product ID 041-4169...
    Caching uk distribution for product ID 041-4169...
    Caching ar distribution for product ID 041-4169...
    Caching French distribution for product ID 041-4169...
    Caching ko distribution for product ID 041-4169...
    Caching no distribution for product ID 041-4169...
    Caching pt_PT distribution for product ID 041-4169...
    Caching ru distribution for product ID 041-4169...
    Caching Italian distribution for product ID 041-4169...
    Caching Dutch distribution for product ID 041-4169...
    Caching sk distribution for product ID 041-4169...
    Caching Japanese distribution for product ID 041-4169...
    Caching th distribution for product ID 041-4169...
    Caching pt distribution for product ID 041-4169...
    Caching hr distribution for product ID 041-4169...
    Caching Spanish distribution for product ID 041-4169...
    Caching pl distribution for product ID 041-4169...
    Caching metadata for product ID 041-4546...
    Caching package metadata for product ID 041-4546...
    Caching da distribution for product ID 041-4546...
    Caching Italian distribution for product ID 041-4546...
    Caching ko distribution for product ID 041-4546...
    Caching Spanish distribution for product ID 041-4546...
    Caching pt_PT distribution for product ID 041-4546...
    Caching Japanese distribution for product ID 041-4546...
    Caching zh_CN distribution for product ID 041-4546...
    Caching Dutch distribution for product ID 041-4546...
    Caching French distribution for product ID 041-4546...
    Caching English distribution for product ID 041-4546...
    Caching fi distribution for product ID 041-4546...
    Caching German distribution for product ID 041-4546...
    Caching pt distribution for product ID 041-4546...
    Caching ru distribution for product ID 041-4546...
    Caching no distribution for product ID 041-4546...
    Caching sv distribution for product ID 041-4546...
    Caching pl distribution for product ID 041-4546...
    Caching zh_TW distribution for product ID 041-4546...
    Caching metadata for product ID 041-6197...
    Caching package metadata for product ID 041-6197...
    Caching ro distribution for product ID 041-6197...
    Caching tr distribution for product ID 041-6197...
    Caching ca distribution for product ID 041-6197...
    Caching el distribution for product ID 041-6197...
    Caching fi distribution for product ID 041-6197...
    Caching sv distribution for product ID 041-6197...
    Caching German distribution for product ID 041-6197...
    Caching zh_TW distribution for product ID 041-6197...
    Caching hu distribution for product ID 041-6197...
    Caching cs distribution for product ID 041-6197...
    Caching he distribution for product ID 041-6197...
    Caching English distribution for product ID 041-6197...
    Caching zh_CN distribution for product ID 041-6197...
    Caching da distribution for product ID 041-6197...
    Caching uk distribution for product ID 041-6197...
    Caching ar distribution for product ID 041-6197...
    Caching French distribution for product ID 041-6197...
    Caching ko distribution for product ID 041-6197...
    Caching no distribution for product ID 041-6197...
    Caching pt_PT distribution for product ID 041-6197...
    Caching ru distribution for product ID 041-6197...
    Caching Italian distribution for product ID 041-6197...
    Caching Dutch distribution for product ID 041-6197...
    Caching sk distribution for product ID 041-6197...
    Caching Japanese distribution for product ID 041-6197...
    Caching th distribution for product ID 041-6197...
    Caching pt distribution for product ID 041-6197...
    Caching hr distribution for product ID 041-6197...
    Caching Spanish distribution for product ID 041-6197...
    Caching pl distribution for product ID 041-6197...
    Caching metadata for product ID 041-6014...
    Caching package metadata for product ID 041-6014...
    Caching ro distribution for product ID 041-6014...
    Caching tr distribution for product ID 041-6014...
    Caching ca distribution for product ID 041-6014...
    Caching el distribution for product ID 041-6014...
    Caching fi distribution for product ID 041-6014...
    Caching sv distribution for product ID 041-6014...
    Caching German distribution for product ID 041-6014...
    Caching zh_TW distribution for product ID 041-6014...
    Caching hu distribution for product ID 041-6014...
    Caching cs distribution for product ID 041-6014...
    Caching he distribution for product ID 041-6014...
    Caching English distribution for product ID 041-6014...
    Caching zh_CN distribution for product ID 041-6014...
    Caching da distribution for product ID 041-6014...
    Caching uk distribution for product ID 041-6014...
    Caching ar distribution for product ID 041-6014...
    Caching French distribution for product ID 041-6014...
    Caching ko distribution for product ID 041-6014...
    Caching no distribution for product ID 041-6014...
    Caching pt_PT distribution for product ID 041-6014...
    Caching ru distribution for product ID 041-6014...
    Caching Italian distribution for product ID 041-6014...
    Caching Dutch distribution for product ID 041-6014...
    Caching sk distribution for product ID 041-6014...
    Caching Japanese distribution for product ID 041-6014...
    Caching th distribution for product ID 041-6014...
    Caching pt distribution for product ID 041-6014...
    Caching hr distribution for product ID 041-6014...
    Caching Spanish distribution for product ID 041-6014...
    Caching pl distribution for product ID 041-6014...
    Caching metadata for product ID zzzz041-6245...
    Caching package metadata for product ID zzzz041-6245...
    Caching package metadata for product ID zzzz041-6245...
    Caching package metadata for product ID zzzz041-6245...
    Caching package metadata for product ID zzzz041-6245...
    Caching package metadata for product ID zzzz041-6245...
    Caching package metadata for product ID zzzz041-6245...
    Caching ro distribution for product ID zzzz041-6245...
    Caching tr distribution for product ID zzzz041-6245...
    Caching ca distribution for product ID zzzz041-6245...
    Caching el distribution for product ID zzzz041-6245...
    Caching fi distribution for product ID zzzz041-6245...
    Caching sv distribution for product ID zzzz041-6245...
    Caching German distribution for product ID zzzz041-6245...
    Caching zh_TW distribution for product ID zzzz041-6245...
    Caching hu distribution for product ID zzzz041-6245...
    Caching en_GB distribution for product ID zzzz041-6245...
    Caching cs distribution for product ID zzzz041-6245...
    Caching he distribution for product ID zzzz041-6245...
    Caching English distribution for product ID zzzz041-6245...
    Caching zh_CN distribution for product ID zzzz041-6245...
    Caching da distribution for product ID zzzz041-6245...
    Caching uk distribution for product ID zzzz041-6245...
    Caching ar distribution for product ID zzzz041-6245...
    Caching French distribution for product ID zzzz041-6245...
    Caching ko distribution for product ID zzzz041-6245...
    Caching no distribution for product ID zzzz041-6245...
    Caching pt_PT distribution for product ID zzzz041-6245...
    Caching ru distribution for product ID zzzz041-6245...
    Caching Italian distribution for product ID zzzz041-6245...
    Caching Dutch distribution for product ID zzzz041-6245...
    Caching sk distribution for product ID zzzz041-6245...
    Caching Japanese distribution for product ID zzzz041-6245...
    Caching th distribution for product ID zzzz041-6245...
    Caching pt distribution for product ID zzzz041-6245...
    Caching hr distribution for product ID zzzz041-6245...
    Caching Spanish distribution for product ID zzzz041-6245...
    follow_redirects is True
    HTTP/1.1 200 OK
WARNING: Could not replicate software update metadata:
WARNING: HTTP result 200: OK
    The following Apple Software Updates are available to install:
        + iDVD 7.1.2-7.1.2
        + iMovie Update-9.0.6
        + GarageBand Update-6.0.5
        + AirPort Utility-6.1
        + Remote Desktop Admin Update-3.5.2
        + Digital Camera Raw Compatibility Update-3.14
        + iWeb Update-3.0.4
        + iWork Update 6-9.1
        + iTunes-10.6.3
        + Mac OS X 10.7.4 Supplemental Update-1.0

Run managedsoftwareupdate --installonly to install the downloaded updates.
Finishing...
    Getting info on currently installed applications...
Done.

***************And here's --installonly on the same client:
***************************************************************

testmunk:~ xadmin$ sudo managedsoftwareupdate --installonly
Managed Software Update Tool
Copyright 2010-2012 The Munki Project

Starting...
    The following Apple Software Updates are available to install:
        + iDVD 7.1.2-7.1.2
        + iMovie Update-9.0.6
        + GarageBand Update-6.0.5
        + AirPort Utility-6.1
        + Remote Desktop Admin Update-3.5.2
        + Digital Camera Raw Compatibility Update-3.14
        + iWeb Update-3.0.4
        + iWork Update 6-9.1
        + iTunes-10.6.3
        + Mac OS X 10.7.4 Supplemental Update-1.0
Installing available Apple Software Updates...
ERROR: Missing local Software Update catalog at /Library/Managed Installs/swupd/content/catalogs/local_install.sucatalog
Finishing...
Done.
Reply all
Reply to author
Forward
0 new messages