Tag Archives: Android Kitchen

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Fix:

Run locale:

#locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_IN
LANGUAGE=
LC_CTYPE="en_IN"
LC_NUMERIC="en_IN"
LC_TIME="en_IN"
LC_COLLATE="en_IN"
LC_MONETARY="en_IN"
LC_MESSAGES="en_IN"
LC_PAPER="en_IN"
LC_NAME="en_IN"
LC_ADDRESS="en_IN"
LC_TELEPHONE="en_IN"
LC_MEASUREMENT="en_IN"
LC_IDENTIFICATION="en_IN"
LC_ALL=
[[email protected]] ~/Android-Kitchen #dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_IN"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

So, it seems en_IN is not installed. Install it:

#locale-gen en_IN
Generating locales...
  en_IN.UTF-8... done
Generation complete.
[[email protected]] ~/Android-Kitchen #dpkg-reconfigure locales
Generating locales...
  en_IN.UTF-8... up-to-date
Generation complete.

 

My local git had origin as github

I wanted to clone the github git to sf. Apparently it didnt allow me to. So I had to get my local repo up. The remote origin was reserved for github.

So I setup a remote first:

On Local machine

mkdir sourceforge/bashscripts

git init[/code]

git config user.name "sourceforgeusername"[/code]

git config user.email "sourceforgeusername@users.sourceforge.net"[/code]

git remote add origin http://[email protected]/p/supernovarom/bashscripts
[/code]

cp /dzbin/* ./[/code]

Since this is brand new, there needs to be a first commit of everything.[/code]

To list everything being tracked:[/code]

git status[/code]

Add everything in working dir:[/code]

git add .[/code]

Now, first commit:[/code]

git commit -m "Initial commit."[/code]

[/code]

git push origin master
[/code]


[/code]


[/code]

Now, for directly working on three different gits at different locations (github was already active. I just had to add sourceforge git)[/code]

Create a git from sourceforge admin menu, keep the name for ref.[/code]

First nav to path where existing git is found, on local machine[/code]

cd ~/android/kitchen/Android-Kitchen/
[/code]

git status
[/code]

Try:[/code]

[/code]

remote add origin ssh://[email protected]/p/projectunixname/kitchen[/code]

fatal: remote origin already exists.[/code]

Yup, we need a different handle. Let it be sf.[/code]

git remote add sf ssh://[email protected]/p/projectunixname/kitchen[/code]

Try:[/code]

git push origin sf[/code]

[/code]

Error:[/code]

You just tried to push to origin (on github), the remote you just added on sf![/code]

git push where_to_push source_to_push[/code]

That's because I need to merge both streams and push all my changes[/code]

git config branch.master.merge refs/heads/master[/code]

git push sf master[/code]

Done! And it immediately appears in the git![/code]

[/code]

git config branch.master.remote sf[/code]


[/code]