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'm using Ubuntu 10.04 beta 1. When I try to update & upgrade I get the following error:

Setting up install-info (4.13a.dfsg.1-5ubuntu1) ...
/etc/environment: line 4: LC-ALL=en_US.UTF-8: command not found
dpkg: error processing install-info (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:

Does anyone know how to fix this? Thanks

share|improve this question
install-info is a particular package; looks like it's currently broken. you might try downloading it from here and installing it by hand with dpkg -i /path/to/package-file.deb .. if the new one keeps crashing, send a bug report to the Ubuntu folks at – quack quixote Apr 9 '10 at 4:10
ironically, i need to have install-info installed to install other packages. but thanks for your help anyway. – user33684 Apr 9 '10 at 4:18
up vote 2 down vote accepted

Never mind, I figured it out. In /etc/environment file I had to change this:


to this:

share|improve this answer

In my case I only needed to edit /etc/environment

There was a space in the line like this:

LC_ALL="en_US. UTF-8"

After fixing to the following and saving, it solved the problem:

share|improve this answer

You should try out this

sudo apt-get -f install
share|improve this answer
Thanks for your answer, but in addition to the above error I get the following: E: Sub-process /usr/bin/dpkg returned an error code (1) – user33684 Apr 9 '10 at 4:05

I had to remove a line from /etc/environment about my jvm, the folder it was pointing to no longer existed. That might be your problem.

share|improve this answer

I was struggling with this problem for 5 days straight. I had to configure NTP server on my machine and it was not possible without this small change that changed the world for me. Even the updates on my machine were not happening due to this.

This is what I did: I changed the first line of /etc/environment from:




And it started working. I hope this helps.

share|improve this answer

You must log in to answer this question.

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