Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using dpkg (Cydia), and a package keeps saying that it's downloading 26.2 MB, and resuming at 166.0 kB. It is consistently failing to install properly. Is there a way to clear this "saved data" and start the download fresh again?

share|improve this question
up vote 3 down vote accepted

On Debian-based systems, apt-get downloads *.deb files under /var/cache/apt/archives/ (dpkg does not download anything by itself, it only manages the packages locally).

Searching suggests, it's just a bit different on iOS, and the path is /private/var/cache/apt/archives, partucularly, you probably want to remove /private/var/cache/apt/archives/partial/*.deb

share|improve this answer
Works great, /var symlinks to /private/var on iOS. – tkbx Feb 5 '13 at 15:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.