Server Fault is a question and answer site for system and network administrators. 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 mistakenly screwed up my tex-live installation on lenny, by trying to locally install some squeeze packages.

I've got a list of packages that are in state 'pU', and I'd like to replace them all by the a clean known to be working repository version.

How do I do that?

share|improve this question
up vote 3 down vote accepted
apt-get --reinstall install mypackage

Option --reinstall will tell apt-get to install the given package, even if it believes that the same version is already installed.

share|improve this answer

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.