Re: [reposado] Product info database error, and unable to add "all" to a catalog

182 views
Skip to first unread message

Gregory Neagle

unread,
Oct 18, 2012, 12:14:25 PM10/18/12
to repo...@googlegroups.com
I'm not where I can easily check this, but that product ID sounds like the currently broken 10.8.2 Combo Update. You can probably work around the issue thusly:

./repoutil --purge-product 041-7694
./repoutil --add-products all some_catalog

-Greg

On Oct 18, 2012, at 7:19 AM, Tim Schutt <iot...@gmail.com> wrote:

hey all,

I'm trying to do the typical initial setup of a testing and production catalog for the updates - (we've been running it raw until the latest Java update that pulls the web plugin), however I can't seem to dump everything into a catalog due to an error in my product info database.

When I do the './repoutil --add-product all production', it seems to go swimmingly until I get the following:

Product 041-7694 is missing a title or version!
Product info database may be incomplete.
Info for product:
{'AppleCatalogs': ['http://swscan.apple.com/content/catalog... (snipped - lots of rambling after this)

Then nothing is written to the Catalog. 

Any advise on how to repair/rebuild the Product info database or solve this issue? I've ensured that I have the latest version of everything, and have run ./repo_sync --recheck to no avail.

Thanks,
Tim.

Tim Schutt

unread,
Oct 19, 2012, 9:58:12 AM10/19/12
to repo...@googlegroups.com
Hi Greg,

Thanks so much for the help, but I seem to still be in this failed state even after purging the problem-child (it is indeed the 10.8.2 Combo update). When I try to purge, I get warnings, and then the same errors when I attempt to add the products to a catalog.

I'm attaching the output from the purge command below. 

T.

root@host:~/reposado/code# ./repoutil --purge-product 041-7694
WARNING: Product 041-7694 (None-None) is in Apple catalogs:
Skipping product 041-7694
Building index.sucatalog...
WARNING: did not add product zzzz041-6245 to catalog index.sucatalog.apple because it has not been downloaded.
Building index_testing.sucatalog...
Building index-1.sucatalog...
Building index-1_testing.sucatalog...
Building index-leopard.merged-1.sucatalog...
WARNING: did not add product zzzz041-6245 to catalog index-leopard.merged-1.sucatalog.apple because it has not been downloaded.
Building index-leopard.merged-1_testing.sucatalog...
Building index-leopard-snowleopard.merged-1.sucatalog...
WARNING: did not add product zzzz041-6245 to catalog index-leopard-snowleopard.merged-1.sucatalog.apple because it has not been downloaded.
Building index-leopard-snowleopard.merged-1_testing.sucatalog...
Building index-lion-snowleopard-leopard.merged-1.sucatalog...
Building index-lion-snowleopard-leopard.merged-1_testing.sucatalog...
Building index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog...
WARNING: did not add product 041-7694 to catalog index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.apple because it has not been downloaded.
Building index-mountainlion-lion-snowleopard-leopard.merged-1_testing.sucatalog...
 

Greg Neagle

unread,
Oct 19, 2012, 11:56:54 AM10/19/12
to repo...@googlegroups.com
Try the --force option with --purge-product. 

Sent from my iPhone

Tim Schutt

unread,
Oct 19, 2012, 12:51:10 PM10/19/12
to repo...@googlegroups.com
*facepalm*

I should have known to try that. Thanks Greg, worked like a charm!

Tim.

Gregory Neagle

unread,
Oct 19, 2012, 1:22:12 PM10/19/12
to repo...@googlegroups.com, repo...@googlegroups.com
Thanks for confirming!

Sent from my iPhone

Timothy Sutton

unread,
Oct 25, 2012, 9:50:21 AM10/25/12
to repo...@googlegroups.com
Or just pull the latest source - Greg patched a workaround for this a few days ago:

https://groups.google.com/group/reposado/browse_frm/thread/c406e8aa4284a259


-Tim

On 2012-10-25, at 8:07 AM, Daniel Shane <daniel...@pearson.com> wrote:

> To fix the 10.8.2 combo updater you need to make 2 broken files.
>
> both of these files from the update are.
>
> http://swcdn.apple.com/content/downloads/34/58/041-7694/n8pqcwj6lgbzl71l04jiyiqq2n6nh5qe3m/041-7694.Italian.dist
>
> http://swcdn.apple.com/content/downloads/34/58/041-7694/n8pqcwj6lgbzl71l04jiyiqq2n6nh5qe3m/041-7694.hu.dist
>
> so goto the reposado repository and go into html/content/downloads/34/58/041-7694/n8pqcwj6lgbzl71l04jiyiqq2n6nh5qe3m
>
> then copy one of the other .dist files to both filenames that are missing
>
> e.g.
>
>
> cp 041-7694.pl.dist 041-7694.hu.dist
> cp 041-7694.pl.dist 041-7694.Italian.dist
>
> then run repo_sync and as those files are present reposado will download the other files needed.
>
> It's not an ideal fix but it does work for now
>
> Dan
>

Ken Elliott

unread,
Oct 25, 2012, 4:17:15 PM10/25/12
to repo...@googlegroups.com
I like this method it's more transparent, than patching reposado to hide the error.

Rather than copy I've gone for touch

touch 041-7694.pl.dist 041-7694.hu.dist
touch 041-7694.pl.dist 041-7694.Italian.dist

- Ken

Tim Schutt

unread,
Oct 26, 2012, 6:09:59 AM10/26/12
to repo...@googlegroups.com
Agreed - when I saw these posts yesterday, it resulted in an "Oh, I get it now!" moment. Very useful for the green repo admin.
Reply all
Reply to author
Forward
0 new messages