How to fix Cydia error “wow, you exceeded the number of package names this APT is capable of”

By , Mar 5, 2013

exceeded number of cydia package names

Ever since the evasi0n jailbreak came out, we’ve been inundated with the same support request about a Cydia error that displays the following message: wow, you exceeded the number of package names this APT is capable of. The message also shows a couple more lines of errors but the first one really is the source of the problem.

In this post, we’ll explain what “the number of package names this APT is capable of” means, and most importantly, we’ll provide you with a quick and simple fix for it…

Why does this problem occur?

According to Saurik himself, Cydia “downloads all of the package listings locally, and then APT consolidates them into a single efficient data structure that can be used even on memory-constrained devices to access the massive wad of packages later.” The problem is that this data structure is only capable of hosting a total of 65,535 packages.

Because the default repositories in Cydia already come with about 40,000 packages, you only have room for an additional 25,000. It means that if you decide to add more sources, especially sources that pirate jailbreak tweaks, you will likely quickly exceed this number and face the mighty error telling you “you exceeded the number of package names this APT is capable of.”

How to fix this error?

The fix is pretty simple, and if you’ve actually read the previous paragraph, you’ve probably already figured it out. In order to fix the excess of package name entries, you need to remove some of the extra repo sources you added in Cydia.

To do so, go to Cydia > Manage > Sources > Edit, then remove a few sources in there. Note that it’s not necessarily a good idea to remove some of the default repositories (BigBoss, Cydia/Telesphoreo, Dev Team, ModMyI, ZodTTD) as they are the ones that actually provide the most bang for your bucks, so to speak.

Apparently this error has been around for a long time, but to be quite frank, I had never heard of it until evasi0n was released.

  • Share:
  • Follow:
  • Braxton Overby

    Thanks, this helped.

  • Steve Jobs

    thanks about this tutorial. But the problem is that I have deleted all my repos (except the default ones) and I am still getting this annoying and f*cking error !!
    What do I have to do? please help!!

  • alex

    but wen i tried doing that i went to my sources and i didnt have any either any packages or nothing it was all blank … sumone please help !!

    • faisal

      dont go look into the packages in the source.. just delete the source.. it works perfect, then u can add the source again.

  • Liam McKeon

    Thanks a bunch! My kid’s iPad has been throwing this error for a while and I haven’t been able to update any packages. Much appreciated!