Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 running into an issue when trying a apt-get update && apt-get upgrade

It fails with the following error:

dpkg: error processing systemd-services (--configure):
  Package is in a very bad inconsistent state - you should
  reinstall it before attempting configuration.
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

I try to do a force install of systemd-services, and get the exact same error

How can I fix this?

share|improve this question
up vote 1 down vote accepted

You should stop trying to force things. dpkg is telling you that the package is in very bad state and you should reinstall it. The best way to do so is using apt-get:

sudo apt-get clean
sudo apt-get --reinstall install systemd-services

The first command will clear the package cache so when you run the next it downloads from the servers the package again.

share|improve this answer
thank you! That did the trick – Kevin Sep 20 '13 at 12:10

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.