Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: Please help to increase APT cache limit
is a discussion within theFile Mods
forums, a part of theiPhone Modding
section;I am trying to raise the APT limit on my iphone 4 but the 70debconf. file is not in the /etc/apt/apt.conf.d/ directory i have been getting this error when refreshing
...-
08-11-2012, 03:52 AM #1
Please help to increase APT cache limit
I am trying to raise the APT limit on my iphone 4 but the 70debconf. file is not in the /etc/apt/apt.conf.d/ directory
i have been getting this error when refreshing sources
Wow, you exceeded the number of package names this APT is capable of.
Problem with MergeList /var/lib/dpkg/list/status
The package lists or status file could not be parsed or opened.
I found the following instructions for terminal but i am using Putty on Win 7 x64
i have managed to make the connection to the phone however do not know the windows putty commands to initiate the changes.
i tried going into /etc/apt/apt.conf.d/ to edit the 70debconf. file but the file was not there.
The apt.conf.d folder is empty
From the following terminal instructions could somebody please convert it to windows putty commands and also tell me how to create a 70debconf. file so i can drop it in to the directory with funbox if possible
Terminal instructions
solution to fix it is just increase the value APT::Cache-Limit at the /etc/apt/apt.conf.d/70debconf.
sudo gedit /etc/apt/apt.conf.d/70debconf.
Then put this code
APT::Cache-Limit "100000000";
at the below on that file and then save it.
Next typing this code on your terminal
sudo apt-get clean && sudo apt-get update --fix-missing
and you won’t find apt cache limit again in the next time.
Any help or advice you can provide so i can accomplish this using windows would be greatly appreciated
Thanking you in advanceLast edited by mcmuzzy; 08-11-2012 at 03:54 AM.
-
10-03-2012, 02:08 PM #2
is there commands to make it from iphone's terminal?
or i'm missing some debs that not allowing me the sudo/getit/cache-limit....?
-
02-15-2013, 03:27 PM #3Official SaurikIT Support
- Join Date
- Mar 2011
- Location
- Santa Barbara, CA
- Posts
- 327
- Thanks
- 1
- Thanked 47 Times in 39 Posts
Changing the cache limit doesn't actually change anything important/relevant to this problem - in other words, it won't help. This error message happens because Cydia is currently based on a version of APT that can only support having 65k packages available from your installed sources.
You can fix the problem causing the error message by removing some of your sources (by going to Manage -> Sources -> Edit on iPhone/iPod touch or to Sources -> Edit on iPad). That will put the number of available packages below 65k so that you can use Cydia again.
If some sources seem to not have a "remove" button when you try to remove them, that usually means they were installed as packages. Go to Manage -> Packages on iPhone/iPod touch (or to Installed on iPad), find the package with the source's name, and uninstall that package.
Keep in mind that pretty much the only way to get to this error message right now is to have several pirate repositories installed (since the default repositories only add up to 41k packages, and legitimate non-default repositories tend to be small). So, to work around this limitation, it's best to uninstall pirate repositories and keep legitimate ones. The default legitimate repositories are BigBoss, Cydia/Telesphoreo, Dev Team, ModMyi, and ZodTTD/MacCiti.
(I know this is an old thread, but I'm posting an answer since the thread comes up in Google searches for this error message.)Last edited by brittag; 02-15-2013 at 03:32 PM.
-
The Following User Says Thank You to brittag For This Useful Post:
a1fa (02-19-2013)




LinkBack URL
About LinkBacks
Reply With Quote