Super User is a question and answer site for computer enthusiasts and power users. 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 accidentally deployed a package versioned to be 2.0 to our local repo, it should have been 1.0. I deleted the file of the repo but when a client tries to install the package it still tries to get 2.0. Is there somewhere in the repo machine that caches the latest version of all packages? how can I clear it?

share|improve this question
While setting up a mirror before once, one file that looked amusing was ls-Rl.gz which could be part of it. But I don't think that is all. I'm not versed enough in mirror/repo mechanics to give you more than that. – killermist Jun 27 '12 at 22:06
There was a Packages.gz in the root of the repo that had the information. I deleted the old records from here. – Usman Ismail Jun 28 '12 at 14:08
If you figured out an answer, you can post and accept your answer. – killermist Jun 28 '12 at 15:42

Look for the Packages.gz file in the root of your repo and unzip. It will have a list of all packages this repo knows about and is the file downloaded by clients when the do apt-get update. Just remove entries for the packages that are causing problems.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .