Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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:
 install-info

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 launchpad.net –  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

5 Answers 5

up vote 2 down vote accepted

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

LC-ALL="en_US.UTF-8"

to this:

LC_ALL="en_US.UTF-8"
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:

LC_ALL="en_US.UTF-8"
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:

VTYSH_PAGER = more

to:

VTYSH_PAGER=more

And it started working. I hope this helps.

share|improve this answer

Your Answer

 
discard

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.