[TUTORIAL]How to Reinstall Cydia via SSH

Discussion in 'iOS Jailbreak & Cydia' started by Jkownz, May 9, 2010.

?

Was this helpful?

  1. Yes

    20 vote(s)
    71.4%
  2. No

    8 vote(s)
    28.6%
  1. Jkownz

    Jkownz Member

    Joined:
    Apr 5, 2010
    Messages:
    137
    Likes Received:
    1
    Device:
    2G iPod touch
    I had been having problems with cydia with corrupt sources etc. and I edited the sources using CyberDuck and completely screwed up cydia I tried the apt-get install cydia method and kept on getting errors so I found out how to do this if you have done something similar to me.

    1. You have to make sure Cydia is completely removed before you try and reinstall it, so type into terminal
    Code:
    su
    alpine (or whatever your password is)
    then
    Code:
    apt-get remove cydia
    2. Get the latest copy of Cydia (I will upload the current version as of 10/5/10) from Saurik's Site and the attached package "Essentials"
    3. SSH the files over to your iPhone/iPod Touch /var/stash using your favourite SSH program
    4. Open Terminal on your iDevice and type
    Code:
    dpkg -i essentials cydia
    then respring using SBSettings or Terminal, also make sure you are in the var/stash directory by typing 'cd var/stash' in the terminal
    Code:
    killall springboard
    Done!

    EDIT: Come on.. Reply if this worked for you!

    Attached Files:

    Shebi likes this.
  2. Jkownz

    Jkownz Member

    Joined:
    Apr 5, 2010
    Messages:
    137
    Likes Received:
    1
    Device:
    2G iPod touch
    And also if you get an error you might need to change the permissions of the files,
    1. Open CyberDuck (Mac Only)
    2. Find the files in your/var/stash directory
    3. Right click (Control+Click) on the files and click edit
    4. Click the permissions tab and change the number to 775.
  3. Fo Sho

    Fo Sho Banned

    Joined:
    Dec 21, 2009
    Messages:
    162
    Likes Received:
    0
    Device:
    3G iPod touch
    Definitely not a sticky. But good job :)
    And instead of replying to yourself, edit your OP. Have a good day
  4. studangerous

    studangerous Super Moderator Emeritus Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    5,975
    Likes Received:
    30
    Device:
    iPhone 4 (Black)
    Nice little tutorial. I know it but a number of times I'd had to dig out the details to post up for someone. Will be useful for some. Tagged.

    note you can also reinstall Cydia with:
    Code:
    apt-get install cydia
    ...quicker than manually downloading files and SSH'ing them over
  5. Jkownz

    Jkownz Member

    Joined:
    Apr 5, 2010
    Messages:
    137
    Likes Received:
    1
    Device:
    2G iPod touch
    I had trouble doing that method which is why I posted this tutorial, so people with the same problem could do it this way.
  6. Jkownz

    Jkownz Member

    Joined:
    Apr 5, 2010
    Messages:
    137
    Likes Received:
    1
    Device:
    2G iPod touch
    Nearly 1000 views and 4 replies? What is this! Reply if this helped you.
  7. feelthepain

    feelthepain New Member

    Joined:
    Jun 26, 2010
    Messages:
    1
    Likes Received:
    0
    Hey Jknownz, nice tutorial. But there is a problem (or two). First of all, when write the line "dpkg -i essentials cydia" you have to make sure you are in root, and type cd var/stash to get into the good directory, then write "dpkg -i essentials cydia". Thing is, when its reinstalled, it doesn't make the slightest difference : all my sources and errors are still there :S. Great post though xD
  8. Noob

    Noob New Member

    Joined:
    Jul 1, 2010
    Messages:
    10
    Likes Received:
    0
    Device:
    3G iPod touch
    thanks
  9. mikeac

    mikeac Member

    Joined:
    Jun 21, 2010
    Messages:
    665
    Likes Received:
    2
    Device:
    iPhone 4 (Black)
    I can lol at this. But I won't. :D

    Yeah it worked. I have Rock though, so I uninstalled and it through that.
  10. robertomano24

    robertomano24 Member

    Joined:
    Jun 16, 2008
    Messages:
    346
    Likes Received:
    0
    Device:
    4G iPod touch
    Robbys-iPod:/var/folders root# dpkg -i cydia_1.0.3044-65.deb
    (Reading database ... 2362 files and directories currently installed.)
    Unpacking cydia (from cydia_1.0.3044-65.deb) ...
    dpkg: dependency problems prevent configuration of cydia:
    cydia depends on essential; however:
    Package essential is not installed.
    dpkg: error processing cydia (--install):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    cydia
    Robbys-iPod:/var/folders root#


    what now?

Share This Page