Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
01-14-2012, 09:29 PM #21
Perhaps there is a way to simply not install stuff that is already installed? Then we wouldn't have to worry about stripping it. Or, we could just delete the debs after we use them as to prevent them being installed multiple times.
01-14-2012, 09:30 PM #22
I ask cuz I realize that Cydia apps have dependencies but I thought if you installed ALL the dependency files at once, then it wouldn't matter what 'regular' Cydia app is installed afterwards since all the dependent files are on your phone.
Last edited by thazsar; 01-14-2012 at 09:34 PM.
01-14-2012, 09:34 PM #23
If those dependency files have dependencies then they would not be installed. I'm thinking maybe go over the folder a few times but delete the files after you use them?
There's really no point in separating dependencies from "regular" apps because some regular apps are dependencies, like SBSettings or Activator.
Last edited by Zokunei; 01-14-2012 at 09:36 PM.
01-14-2012, 09:37 PM #24
Ok just real quick, We're using debs saved to ~/openbackup per your script. Then we're trying to use a script to install from said directory using the stripped down list created from the status file.
Now with deleting them what happens when you call them the second or third time using the script
01-14-2012, 09:38 PM #25
You get a "no such file or directory" error. Nothing major.
01-14-2012, 09:39 PM #26
As long as it continues on then good to go. I ran to McDonald's so I couldn't try it. But I'll check it out as soon as I'm back.
01-14-2012, 09:42 PM #27
Example (I'm making this up): Folder 1 has dependency files: A, B & C
-Copy & Paste A,B & C into the AutoInstall Folder and Reboot
-ONLY A gets installed cuz B & C are dependent on it
-Open Folder 1 again and Copy A, B & C again
-Paste A, B & C in the AutoInstall Folder again and Reboot
Does it matter if A gets reinstalled or does it cause a proble? Will B & C get installed since A is already installed?
01-14-2012, 09:44 PM #28
There's no problem with reinstalls, it's just inefficient. Deleting them and just continuing to B & C is much more efficient.
01-14-2012, 09:45 PM #29
01-14-2012, 09:50 PM #30
So sounds like you've got it. Now who wants to actually try it fresh? I've been using a working phone and just reinstalling over copies already present. I'll do it I've got a spare I can use while I'll do it. I've already got all the debs I need on my pc.
01-14-2012, 09:52 PM #31
Yeah. It's just a lot less complicated to delete any file after using it. They have to be deleted in the end anyway.
My test last night started when all of my packages randomly uninstalled. Every single one. The only thing of a jailbreak I had left was afc2. I wasn't upset because I was about to remove everything but what I needed for an AutoInstall anyway.
01-14-2012, 09:54 PM #32
I was trying to keep the debs on the phone instead of deleting as we go. I don't know why but I was.
01-14-2012, 10:06 PM #33
At the moment, I'm stuck w/out an iDevice to practice on. :-( I'm not gonna use my wife's phone or the kid's iPad to test...and all I have is a 4S. I usually do this kinda stuff on my personal device since I don't mind restoring but testing on family devices has been prohibited! LOL!
...and back to the 'control.tar.gz' file. If you remove the dependencies from it, will the file not install?
01-14-2012, 10:09 PM #34
It would install, but doing that is unnecessarily complicated.
01-14-2012, 10:10 PM #35
Lastly, does a .deb HAVE to have a control file? If not, can a script be made to remove it from an app. If it does require one, can a script be made to replace the original 'control' file w/ a generic 'control' file that doesn't have any dependencies?
01-14-2012, 10:11 PM #36
Plus, removing it from that file wouldn't change anything with the way this script works.
01-14-2012, 10:11 PM #37
01-14-2012, 10:12 PM #38
01-14-2012, 10:18 PM #39
I'm wondering two things:
1. How many dependency files are there
2. How many of these dependencies have another dependency...
If I had Folder1 with 10 dependencies in it, how many times would I need to reinstall ALL the contents of that folder so everything was finally installed? 2 times, 4, times, 9 times???
That would be interesting to know...
01-14-2012, 10:18 PM #40