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 tried installing valgrind using,

apt-get install valgrind

After downloading the packages, am getting the following error,

Setting up tzdata (2013d-0squeeze1) ...
.: 9: Can't open /usr/share/debconf/confmodule
dpkg: error processing tzdata (--configure):
 subprocess installed post-installation script returned error exit status 127
configured to not write apport reports
                                  Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Please help me in resolving these issues.

Am on Debian-Squeeze

share|improve this question
up vote 1 down vote accepted

/usr/share/debconf/confmodule is a script that's part of debconf, a required package. Check that it's present and readable:

# ll /usr/share/debconf/confmodule
-rw-r--r-- 1 root root 2690 Mar 15  2012 /usr/share/debconf/confmodule

If it's not readable, make it readable by chmod a+r /usr/share/debconf/confmodule.

If it's missing or damaged, try reinstalling debconf, apt-get --reinstall install debconf.

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.