Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

ITunes 8 Upgrade Results in 5002 unknown Error when trying to update Apps

iTunes 8 reports that I have apps with updates available. When trying to update them I get this error:

We could not complete your iTunes Store Request.
An unknown error occurred (5002).

There was an error in the Itunes Store. Please try again later.

iMac Extreme, Mini 2.0ghz, MBPro Early 2008, Mac OS X (10.5.4)

Posted on Sep 9, 2008 8:06 PM

Reply
44 replies

Sep 11, 2008 7:34 AM in response to dwmreg64

I had the same problem. I deleted the apps that weren't showing up properly on the app screen ( just black and white icons with the app icon). That worked. I would assume this might have something to do with the upcoming update tomorrow, Friday the 12th. That update is supposed to fix a lot of these types of bugs. Lets hope!

Sep 11, 2008 10:40 AM in response to BobOH

I solved my problem in a similar way. I used my iPhone to download all the updates and re-synced them back to iTunes on my computer. That left one app that didn't seem to want to play nice. So I deleted it off my phone and iTunes. Error 5002 vanished after that.

I re-downloaded that app and it installed fine and the error hasn't come back.

Looking forward to the 2.1 update tomorrow...

Neal 🙂

Sep 11, 2008 1:59 PM in response to dwmreg64

My fix for the dreaded 5002 error:

NOTE: If you screw up and wipe out your Apps, you’re SOL. You should also know that iTunes may want to reinstall all your applications on your iPhone/iPod, so it might be best to hold off doing this until you’re ready for this (and bear in mind that my experience with iPhone application remove/install hasn’t been stellar, and I’ve had to completely restore from scratch a few times).

1. Back up Mobile Applications from /Users/myusername/Music/iTunes by dragging them to another disk — simply moving them elsewhere on the same disk doesn’t work, since iTunes keeps track of their location. Duplicating the folder would likely work too, if you haven’t got anywhere else to copy them.

2. Once you have the Mobile Applications folder backed up, and have verified and reverified that you’ve got a copy and haven’t simply moved the folder, open iTunes WITHOUT YOUR IPHONE/IPOD CONNECTED and select all your applications and delete them. (if your iPhone/iPod were connected, it would now start helpfully deleting apps)

3. When they’re all gone, quit iTunes

4. Start iTunes again and verify that you have no apps listed.

5. Drag your backup Mobile Applications folder to your open iTunes window — if you have default iTunes settings (copy/manage my music), then iTunes will start re-adding your applications. The nice thing about this is that it also eliminates all the duplicate apps and renames along the way — all those updates you keep doing don’t get rid of older versions, so these just pile up as “Application 1″, 2, 3, etc. You may end up saving a lot of disk space. Many apps have gone through name changes too, so you may clear up some confusion and duplication too.

6. Read the iTunes notices carefully — you will likely get something like “an OLDER version of this app already exists, do you want to replace it” (you DO), or “a NEWER version of this app already exists, do you want to replace it” (you DON’T), or sometimes a mention that this app already exists as the same version (replace it).

7.0 Quit iTunes, then restart it to “set” the changes

You will end up with a pristine iTunes Mobile Applications folder at the end of this process, and will likely save some space too.

Your 5002 error should also be gone too.

REMEMBER THAT YOU COULD POTENTIALLY LOSE ALL YOUR APPLICATIONS IF YOU SCREW UP, so please do this at your own risk, and as always, make sure you have backups!

Sep 11, 2008 10:51 PM in response to David Doukidis

These are the simpler steps I did:

1 Drag the Mobile Applications folder from /Users/username/Music/iTunes to the desktop

2 Open iTunes WITHOUT THE IPHONE/IPOD CONNECTED and select all your applications and delete them. (if your iPhone/iPod were connected, it would now start helpfully deleting apps)

3. When they’re all gone, quit iTunes

4. Start iTunes again and verify that you have no apps listed.

5. Drag your the Mobile Applications folder to your open iTunes window — if you have default iTunes settings (copy/manage my music), then iTunes will start re-adding your applications.

6. Read the iTunes notices carefully — you will likely get something like “an OLDER version of this app already exists, do you want to replace it” (you DO), or “a NEWER version of this app already exists, do you want to replace it” (you DON’T), or sometimes a mention that this app already exists as the same version (replace it).

7. Quit iTunes, then restart it to “set” the changes

---


I've had the wrong application count since day one, and the 5002 error since iTunes 8. This fixes both!!

ITunes 8 Upgrade Results in 5002 unknown Error when trying to update Apps

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.