Code already redeemed - nothing in Updates or Purchases

The first beta has been very unstable for me, so I'd really like to get my hands on beta 2, but I'm getting the "code already redeemed" error. What's worse is that the update doesn't show up in the Updates tab nor does it show up in the Purchases tab. The download never started, the connection was never interrupted. I never even saw it. I just immediately got the "code already redeemed" error the very first time I logged into the developer site and clicked the download link. No one else has access to my account. There's no good explanation for why this is happening.


If anyone has a more effective solution to this besides repeating "Look in the Purchases tab", I'd be happy to hear it. I've tried refreshing and quitting and signing out and signing back into the App Store many times by now. No luck.

Accepted Reply

EDIT (thanks to other contributing members below):


There may be a better solution to this problem (If it works for you then it's certainly preferable to having to continually having to update from links):


sudo softwareupdate --set-catalog https://swscan.apple.com/content/catalogs/others/index-10.11seed-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz


The above command should set the update catalog correctly (something that doesn't seem to be happening automatically for some).


If that doesn't work then you can still download the DP2 updates as a .pkg file direct from Apple's CDN:


http://swcdn.apple.com/content/downloads/07/10/031-25506/wy6k3cd22jejq1j83kmahud7zwbaxid2z6/OSXUpd10.11.pkg

for the main DP2


http://swcdn.apple.com/content/downloads/15/54/031-25507/rjki32of9yi5zydmfv8o9v04h7s3b3vw0c/RecoveryHDUpdate.pkg

for the recovery HD update


AND (thanks Tywebboooo)


http://swcdn.apple.com/content/downloads/07/10/031-25506/wy6k3cd22jejq1j83kmahud7zwbaxid2z6/FirmwareUpdate.pkg

for the firmware update package

Replies

EDIT (thanks to other contributing members below):


There may be a better solution to this problem (If it works for you then it's certainly preferable to having to continually having to update from links):


sudo softwareupdate --set-catalog https://swscan.apple.com/content/catalogs/others/index-10.11seed-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz


The above command should set the update catalog correctly (something that doesn't seem to be happening automatically for some).


If that doesn't work then you can still download the DP2 updates as a .pkg file direct from Apple's CDN:


http://swcdn.apple.com/content/downloads/07/10/031-25506/wy6k3cd22jejq1j83kmahud7zwbaxid2z6/OSXUpd10.11.pkg

for the main DP2


http://swcdn.apple.com/content/downloads/15/54/031-25507/rjki32of9yi5zydmfv8o9v04h7s3b3vw0c/RecoveryHDUpdate.pkg

for the recovery HD update


AND (thanks Tywebboooo)


http://swcdn.apple.com/content/downloads/07/10/031-25506/wy6k3cd22jejq1j83kmahud7zwbaxid2z6/FirmwareUpdate.pkg

for the firmware update package

Thanks, I had the same problem (on one of my macs)

Glad it helped

Thank you for this. Having the same problem.

But are you sure it's the beta 2? The system is still on 15A178w after the update.

I'm sure. 15A204h should show after reboot.

Strange, I tried again and now it worked. Last time, most of the installation was happening in the boot screen (grey screen, apple logo, progress bar, below something like 'update will take 14 minutes') ... Now when I reapplied the update again, everything was done in the normal installer and the reboot didn't take longer than normal.

For me the installation was as you describe your first time around, but that included the recovery HD update. Perhaps, if you only installed the DP2, the process was different due to that...

I was having the same problem. This helped. Thanks so much. I'm glad there are smarter people than I am out there.

Thanks for those links. I ran:


sudo softwareupdate --reset-catalog


Which I think messed up my ability to run updates for the betas. Could someone post the output of:


defaults read /Library/Preferences/com.apple.SoftwareUpdate.plist


Mine shows this:


$ defaults read /Library/Preferences/com.apple.SoftwareUpdate.plist
{
    LastAttemptSystemVersion = "10.11 (15A178w)";
    LastBackgroundCCDSuccessfulDate = "2015-06-24 07:35:32 +0000";
    LastBackgroundSuccessfulDate = "2015-06-24 07:35:32 +0000";
    LastFullSuccessfulDate = "2015-06-24 07:33:06 +0000";
    LastRecommendedUpdatesAvailable = 0;
    LastResultCode = 2;
    LastSessionSuccessful = 1;
    LastSuccessfulDate = "2015-06-24 18:06:50 +0000";
    LastUpdatesAvailable = 0;
    PrimaryLanguages =     (
        en
    );
    RecommendedUpdates =     (
    );
    SkipLocalCDN = 0;
}
{
    CatalogURL = "https://swscan.apple.com/content/catalogs/others/index-10.11seed-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz";
    DisableSeedOptOut = 1;
    LastAttemptSystemVersion = "10.11 (15A204h)";
    LastBackgroundCCDSuccessfulDate = "2015-06-23 18:04:34 +0000";
    LastBackgroundSuccessfulDate = "2015-06-23 18:04:34 +0000";
    LastFullSuccessfulDate = "2015-06-23 18:35:03 +0000";
    LastRecommendedUpdatesAvailable = 0;
    LastResultCode = 2;
    LastSessionSuccessful = 1;
    LastSuccessfulDate = "2015-06-23 18:35:03 +0000";
    LastUpdatesAvailable = 0;
    PrimaryLanguages =     (
        en
    );
    RecommendedUpdates =     (
    );
    SkipLocalCDN = 0;
}


EDITED: because initial copy/paste lost the long URL at the top for some reason.

Thank you! That allowed me to start getting updates again by setting the proper catalog!

Interesting. Good to know.

Which means:


sudo softwareupdate --set-catalog https://swscan.apple.com/content/catalogs/others/index-10.11seed-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz


This is the real answer to this issue. We all can download the needed files manually, but after installing the update the issue persists. For Beta 3 we would have to download the files manually again. Beta 1 and 2 do not set the update catalog correctly. So we have to do it instead. The above command should bring back the "Your computer is set to retrieve pre-release Software Updates" text in System Preferences > App Store.

Exactly. Good that you took the time to make that explicit.