Cydia Errors

Cydia.app includes many error messages that might not be easy to understand at first, including error messages that come directly from Debian APT.

Here are explanations for them and how to fix the problems!

Can't find a source to download....
Can't find a source to download....

Kill Cydia from appswitcher and refresh your sources.

Cydia error 255
Cydia error 255

This is caused by how the jailbreak app was signed, reboot and sign it with Xcode or Altserver

Cydia error 404 or 503
Cydia error 404 or 503

The repo that is hosting the package is offline, wait till is online again.

Cydia is not working after installing a package
Cydia is not working after installing a package

Use New Term 2 or ssh and dpkg -r fun.ignition.name of the package.

Cydia is "preparing filesystem" and won't load
Cydia is "preparing filesystem" and won't load

Create a file in your root folder called ".cydia_no_stash"

Could not get lock /var/lib/apt/lists/lock - open (35: Resource temporarily unavailable)
Could not get lock /var/lib/apt/lists/lock - open (35: Resource temporarily unavailable)

Cydia temporarily can't refresh data because another program is already using a system component that Cydia needs. This error commonly happens if you're also using another program that refreshes package data, such as Curiosa. To fix it, try rebooting. If that doesn't help, you may need to uninstall Curiosa (and any other packages that do this).

Depends..." name of a package
Depends..." name of a package

Install the dependency.

Domain #10: -72000
Domain #10: -72000

Cydia ran into some kind of network problem. The usual cause of this error message is using packages that add tons of ad-blocking lines to your hosts file; uninstalling those packages should fix this error.

dpkg was interrupted, you must manually run 'dpkg configure -a' to correct the problem
dpkg was interrupted, you must manually run 'dpkg configure -a' to correct the problem

Cydia tries to fix this problem automatically. If this is the only error message displayed, you can ignore it and use Cydia normally.

Encountered a section with no Package: header
Encountered a section with no Package: header You may want to run apt-get update to correct these problems

One or more of your installed sources is set up incorrectly. You should be able to remove the problematic source by going to Sources and tapping "Edit" at top right. If you are not sure which one to remove, try removing all of them except the defaults (BigBoss, Cydia/Telesphoreo, Dev Team, ModMyi, and ZodTTD/MacCiti).

failed in buffer_write(fd) (7, ret=-1)
failed in buffer_write(fd) (7, ret=-1) Sub-process /usr/bin/dpkg returned an error code (1)

There is not enough disk space (on the system or user partitions or both) for Cydia to install this package. Try removing some files first, such as large bootlogo or theme files; you may need to use iFile, OpenSSH, or some other way to access the filesystem. You can also check iFile's trash folder (/var/mobile/Library/iFile/Trash). You can go to the Cydia homepage and tap "Storage Information" to check available space on both the system and user partitions.

Failed to fetch "name of a repo"
Failed to fetch "name of a repo"

The repository is down

GPG error: [repository] stable Release: The following signatures were invalid: BADSIG [number]
GPG error: [repository] stable Release: The following signatures were invalid: BADSIG [number]

This is a minor problem with a source. You did nothing wrong and can continue to use Cydia normally.

GPG error: [repository] stable Release: The following signatures were invalid: NODATA 1 NODATA 2
GPG error: [repository] stable Release: The following signatures were invalid: NODATA 1 NODATA 2 Failed to fetch [repository] Sub-process /bin/bzip2 returned an error code (2) Some index files failed to download, they have been ignored, or old ones used instead.

One or more of your installed sources is temporarily or permanently unavailable. You may have typed in the wrong URL, the source may have shut down, the source may be broken, or the source may be denying your connection for some other reason. Try again later. If this problem keeps happening over many days, you can remove the problematic source by going to Sources and tapping "Edit" at top right.

Hash Sum mismatch
Hash Sum mismatch

The downloaded file does not match the file on the source's server. This is often caused by a download getting interrupted before it finished, sometimes due to network problems and sometimes due to server problems.

If you get this for many packages, try a more reliable internet connection or try again later. If your internet connection is fine for downloading other packages, including from other repositories, there may be a problem with the package or the repository. It may be helpful to report this to the repository manager.

Host Unreachable
Host Unreachable

This may mean that your internet connection is not working, a source is not working, or something else is not working (such as the Cydia Store system). This is probably a temporary problem, so try again later.

HTTP/1.0 403
'''HTTP/1.0 403 This package is either paid or requires a paid package to function. If you paid: contact saurik@saurik.com for help. If not, purchase the original package.'''

If you get this error while trying to download a paid package you have already purchased, email saurik@saurik.com for help. If you are trying to download a paid package you have not purchased, buy it and then try downloading it again. If you are trying to download a free add-on to a paid package (for example, a package adding a new option to Color Keyboard), you have to purchase that paid package before you will be able to download this add-on.

HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden

Just turn off WiFi and use your cellular signal to bypasses this.

HTTP/1.1 404 Not Found
HTTP/1.1 404 Not Found

The repo is not online.

HTTP/1.1 500 Internal Server Error
HTTP/1.1 500 Internal Server Error

Something seems to be wrong with the source hosting this package. This is probably a temporary problem, so try again later.

I wasn't able to locate file for the [package] package. This might mean you need to manually fix this package.
'I wasn't able to locate file for the [package]'' package. This might mean you need to manually fix this package.'''

This is a generic error that means something went wrong. This may happen if you try to install a package while fresh data is downloading from your repositories (the stage right before "Reloading Data"). Try going to the Changes tab, tapping "Refresh" at top left, waiting for data to finish downloading, waiting for Reloading Data to complete, and then installing this package again.

Internal error, No file name for...
Internal error, No file name for...

Kill Cydia from appswitcher and refresh your sources.

POSIX error: Operation Timed Out.
POSIX error: Operation Timed Out. POSIX: Socket is not connected. NetDB: Open nodename nor servname provided, or not known.

Cydia is working properly, but something is wrong with your device's connection to one or more of your installed sources. Your internet connection may not be working properly, or the source may not be working properly. Check your internet connection and try again later.

Pre-dependency problem
Pre-dependency problem

install all the dependencies first and then the tweak.

Problem parsing dependency
Problem parsing dependency Pre-Depends or Problem parsing dependency Depends Error occurred while processing [repository] Problem with MergeList [file] The package lists or status file could not be parsed or opened

One or more of your installed sources is set up incorrectly. (This is a problem with that source, not with Cydia.) You should be able to remove the problematic source by going to Sources and tapping "Edit" at top right.

Read-only file system
Read-only file system

In terminal/via SSH, try running the following:

su alpine (if u never changed it) fsck -f -n

Once done, reboot and re-run the jailbreak and it should work.

Size mismatch
Size mismatch

The downloaded file does not match the file on the source's server. This is often caused by a download getting interrupted before it finished, sometimes due to network problems and sometimes due to server problems.

If you get this for many packages, try a more reliable internet connection or try again later. If your internet connection is fine for downloading other packages, including from other repositories, there may be a problem with the package or the repository. It may be helpful to report this to the repository manager.

subprocess pre-removal script returned error exit status [number]
subprocess pre-removal script returned error exit status [number] or subprocess dpkg-deb --fsys-tarfile returned error exit status [number] or similar Sub-process /usr/bin/dpkg returned an error code (1)

Something seems to be wrong with this package. Tap "Author" at the top of the package page and email the developer (and ideally the repository manager as well) to let them know about the problem and ask for help.

The packege index file are corrupted. No filename: field for: "name of a package"
'''The packege index file are corrupted. No filename: field for: "name of a package"'''

Remove the repo that is hosting that package

The package "name of the package" needs to be reinstalled, but i can't find an archive for it.
The package "name of the package" needs to be reinstalled, but i can't find an archive for it.

Use New Term 2 or ssh and run dpkg --remove --force-remove-reinstreq "name of the package" and then run dkpg --configure -a

trying to overwrite [file], which is also in package [package]
trying to overwrite [file], which is also in package [package] Sub-process /usr/bin/dpkg returned an error code (1)

You are trying to install a new package that contains the same filenames as a package you already have installed, so you cannot install this new package. You can usually avoid this problem by avoiding (or uninstalling) illegally copied versions of packages.

Warning: parsing file (...) missing maintainer
Warning: parsing file (...) missing maintainer

This is safe to ignore. Pirated tweaks usually are the culprit to this issue.

Warning: Target Packages (Packages) is configured multiple times in...
Warning: Target Packages (Packages) is configured multiple times in...

You have a duplicate repo, follow the path and remove the duplicate repo.

Warning: Target Translation is configured multiple times in...
Warning: Target Translation is configured multiple times in...

You have a duplicate repo list, follow the path and remove the duplicate repo list.

Wow, you exceeded the number of package names this APT is capable of.
Wow, you exceeded the number of package names this APT is capable of. Problem with MergeList [file] The package lists or status file could not be parsed or opened.

This happens if you are using an old Cydia version (before 1.1.10) and have too many packages available from your installed sources. You will need to refresh your sources and update all relevant packages, so that you get the latest versions of Cydia and associated packages - but in order to do that, you'll first need to fix this error. The error means that you have more than 65,535 packages available from your installed sources, and your old version of Cydia cannot handle that many. Go to Manage, tap Sources, tap "Edit" at top right, and remove some sources. Make sure to keep the default repositories (BigBoss, Cydia/Telesphoreo, ModMyi, and ZodTTD/MacCiti). If some sources don't have a "remove" button when you try to remove them, that usually means they were installed as packages. Go to Manage, tap Packages, find the package with the source's name, and uninstall that package. After removing a few extra sources, you should be able to refresh data without this error.