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?
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.