Install Cydia Package Without Dependencies

Posted by4 years ago
Archived

Mr-Marc:~ root# apt-get -d install cydia essential -y Reading package lists. Done Building dependency tree Reading state information. Done The following NEW packages will be installed: cydia essential 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Accidentally, Cydia can be removed from your jailbroken devices. Then, it makes much difficult to find, download & install jailbreak packages for your idevice. There is not worth a jailbroken device, without Cydia in it. You can not arrange and customize your device without help of the Cydia app. [Question] dpkg locked can't install cydia dependencies! Question (self.jailbreak) submitted 1 year ago by Madizm83 iPhone 6, iOS 9.0.2. After this, iphone still have cydia and ifile installed. I tried to get rid of them without updating ios to 10.2.1 and no luck. I decided to get yalu again and jailbreak, now cydia is messup, it says dpkg.

I'll be showing you how to get any tweak or app without dependency problems. Since iOS 8.2b has dependency issues in many packages i've tried to download, it's hard to install these packages. Even after spoofing your iOS devide just to install a package, the taiguntether then gets automatically removed. Which is very nasty since removing that package will break your untether leaving no option but to restore. I'll show you how to fix this problems by changing the dependencies to match your iOS version

I'll be using the tweak autorotatevideos as an example of how you should do it.

1ST STEP: GET THE PACKAGE --

For getting the package itself, there aren't many possible ways if you want to just download it. Since Cydia doesn't allow you to do this, you'll have to download it manually, using the terminal. This shouldn't be hard if you carefully follow the process.

    1. Download NewTerm and Aptitude from cydia (Since Terminal doesn't work, NewTerm is a great solution for iOS 8) Also if you don't have APT installed, download 'APT 0.7 strict' from cydia

  • 2. Get the package unique ID of the tweak you want to install on iOS 8.2b. You can do this by selecting the package on cydia, scroll to the bottom and the ID will appear. The example is autorotatevideos, so the id for autorotatevideos is me.simonselg.autorotatevideos

  • 3. Memorize that ID, then make sure to close Cydia and open NewTerm.

  • 4. type

Manually Remove Cydia Package

su

alpine - if you have another password set for root use it

cd /var/root

aptitude download me.simonselg.autorotatevideos -Replace 'me.simonselg.autorotatevideos' with your tweak's ID (this should give you an error, that doesn't matter. Follow the next steps)

Install

2ND STEP: LOCATE THE PACKAGE

For this you'll have to use iFile. Open iFile and follow the instructions:

    1. Navigate to var/root. And you will see the downloaded .deb file. Make a new folder there called howeveryouwant

  • 2. Once you have located the .deb file, go back to NewTerm

  • 3. Open NewTerm and type

cd /var/root

dpkg-deb -x autorotatevideos.deb howeveryouwant

dpkg-deb --control autorotatevideos.deb howeveryouwant/DEBIAN

Note: Replace autorotatevideos.deb for your tweak .debs' name that you located in iFile

3RD STEP: EDIT THE DEPENDENCIES

Now it's time to edit the dependencies of the tweak.

    1. Open iFile again and go to /var/root

  • 2. Go into the folder howeveryouwant>DEBIAN

  • 3. You'll see a file called control, rename that file to control.txt and open that file in the Text Viewer in iFile

  • 4. Find the line of text that says:

Depends: firmware (>= X.X), firmware (<< X.X)

  • 5. Replace the last part with 8.3, it should look like this:

Depends: firmware (>= X.X), firmware (<< 8.3)

  • 6. Save the file, and name it back to control

4TH STEP: SAVE YOUR NEW DEB

After this you can get it working, be patient

How To Manually Fix Cydia Package

    1. Open NewTerm and type

Install Cydia Package Without Dependencies

dpkg -b howeveryouwant thenewcompatibleversion.deb

Note: Change 'thenewcompatibleversion.deb' for a name you'd like.

5TH STEP: INSTALL THE NEW TWEAK

Easy

    1. Open iFile again and navigate to /var/root. You will see the file thenewcompatibleversion.deb. Tap on it and then tap 'Installer', wait for the process to finish.

Dpkg Install Dependencies

This tutorial also works for other iOS versions. Note: During the process, you don't have to close NewTerm from the multitasking. That will cause you to get out of root. If you decide to close NewTerm, when you open it again you should type 'su' and 'alpine', then 'cd /var/root'.

Note 2: Cydia will show the packages on the 'Changes' sections, just ignore the Available Updates for those packages

Cydia Package Sources

13 comments