PDA

View Full Version : [ubuntu] install-info error during update



beemzet
April 9th, 2010, 02:57 AM
Hi all, 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



Anyone knows how to fix this?
Thanks

beemzet
April 9th, 2010, 05:40 AM
Hi all, 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



Anyone knows how to fix this?
Thanks


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

4 LC-ALL="en_US.UTF-8"

to this:

4 LC_ALL="en_US.UTF-8"

Fatman_UK
May 5th, 2010, 11:05 AM
Never mind, I figured it out.
In /etc/environment file I had to change this:

4 LC-ALL="en_US.UTF-8"

to this:

4 LC_ALL="en_US.UTF-8"

To my complete astonishment, this fixed my install-info woes. Thanks! In the same file, I commented out the line:

POVRAY_BETA=`povray --betacode 2>&1`

and all was well. I guess the upgrade doesn't like the broken povray beta.

TeAmigo
October 26th, 2010, 07:22 PM
I was getting a very similar error, but with exit status 1. No reference to /etc/environment in the error message, very cryptic and lacking any helpful information. BUT, after reading a few posts where problems in /etc/environment were reported, looked at my own and discovered that there was a line in there that really should be in ~/.bashrc, but hadn't caused any trouble before. This:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
which is for the Ruby Version Manager. Took that out and install works again. So, taking EVERYTHING out of /etc/environment if this problem presents might be a good first approach.


Hi all, 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

Anyone knows how to fix this?
Thanks

juliayahf
January 9th, 2011, 02:18 AM
It is exactly what I need, Thanks for your analysis (http://www.skyblank.com/sk/business/doorstep-loans-easy-credit-at-home.html)!

HariharanS
August 21st, 2012, 06:29 AM
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 one could help.