Locales corrupted? [resolved]

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Locales corrupted? [resolved]

Unread post by wuxmedia » Tue Sep 30, 2014 5:58 pm

installing Haggis got this:
locale.png
not sure if it's my fault or not, purged it, installed it.
things still install and the upg went ok, anybody else hit this?

Tried this:
http://www.donankleer.com/articles/linu ... to-install

looks like all the LC_* stuff is busted, looking to fix it.
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: Locales corrupted?

Unread post by GekkoP » Tue Sep 30, 2014 6:04 pm

Regular Haggis user here. I usually dist-upgrade once a day and never seen such a message.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Locales corrupted?

Unread post by machinebacon » Tue Sep 30, 2014 6:20 pm

Same here, first time I see this messy message. Running Haggis on all PCs (it's the base for a bunch of releases). Looks a bit like a corrupted download, doesn't it?

locale-gen en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
dpkg-reconfigure locales

This should set the locales, run update again and then dist-upgrade.

Google search terms:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings: LANGUAGE = (unset)

/moved to support section
..gnutella..

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Locales corrupted?

Unread post by wuxmedia » Tue Sep 30, 2014 6:30 pm

Applied pretty much every patch google has to offer, I have a better idea about locales, than I did 8)

Running your patch now, at a glance, looks like the sources are trying to get the locales from 2 places...

doing the dist-upg is hard going...
"Seek, and Ye shall find"
"Github | Chooons | Site"

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Locales corrupted?

Unread post by machinebacon » Tue Sep 30, 2014 6:33 pm

Sure, it is getting stuff from Debian sid, experimental and siduction. This is no problem because the bigger dog fucks. I am pretty sure one of the sources was not updated. Try again, this is a Perl problem and won't affect your installation of other things.
..gnutella..

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Locales corrupted?

Unread post by wuxmedia » Tue Sep 30, 2014 6:36 pm

I'm getting a message about the 3.16 kernel not installing
in fact it's the same error about compression.
apt-get install -f doesn't work

Gekko, have you modified your source.list.d/debian to a local mirror?
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: Locales corrupted?

Unread post by GekkoP » Tue Sep 30, 2014 6:38 pm

No, didn't touch it.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Locales corrupted?

Unread post by machinebacon » Tue Sep 30, 2014 6:39 pm

The 3.16 is kept back because of the initramfs-tools shit I guess. You can sudo apt-get dist-upgrade, this will make it force install.

For completeness: I just did a sudo apt-get install perl (to jump from 5.20.0-6 to 5.20.1) and locales (2.19-11) and it finished normally.
Yes, on Haggis :)
..gnutella..

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Locales corrupted?

Unread post by machinebacon » Tue Sep 30, 2014 6:41 pm

Addendum: I will install Haggis now from scratch on a spare drive and normally 'upg' as usually. Will report back soon.
..gnutella..

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Locales corrupted?

Unread post by wuxmedia » Tue Sep 30, 2014 6:43 pm

yeah, not saying it's haggis, just wondering what i've done.
I've pretty much screwed the install, by randomly rm'ing things, so I'll be doing the same - race ya 8)
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Locales corrupted?

Unread post by wuxmedia » Tue Sep 30, 2014 6:44 pm

this is the latest version of haggis, i forget which, but the one mentioned in the release notes
"Seek, and Ye shall find"
"Github | Chooons | Site"

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Locales corrupted?

Unread post by machinebacon » Tue Sep 30, 2014 6:45 pm

Would you mind to reinstall and in the meanwhile tell me what you want to rm from it? :)

You can localepurge, if this is what you wanted to do originally.
..gnutella..

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Locales corrupted?

Unread post by machinebacon » Tue Sep 30, 2014 6:46 pm

cat .bash_history would help a lot :D
..gnutella..

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Locales corrupted?

Unread post by machinebacon » Tue Sep 30, 2014 6:51 pm

OK so the upgrade indeed installed a new version of perl and of course bash, tzdata and apt. I think apt depends on perl, that's why it upgrades it. Everything looks good, so you must have rm'ed the wrong hole :D
..gnutella..

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Locales corrupted?

Unread post by wuxmedia » Tue Sep 30, 2014 7:01 pm

I only rm'ed things after the dist-upg went bad. 8)
I find the console-setup keyboard thing never sticks, complains about rc.something not stopping. so i edited it manually.
then i ran the dpkg locales thing. surprised it looked different, choose en_GB.utf-8 then. hmm installed a few things.

things looking good half way through an upg
"Seek, and Ye shall find"
"Github | Chooons | Site"

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Locales corrupted?

Unread post by machinebacon » Tue Sep 30, 2014 7:11 pm

console-setup can't stick if the locale is missing :)
..gnutella..

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Locales corrupted?

Unread post by wuxmedia » Tue Sep 30, 2014 8:05 pm

^ needs all this:

Code: Select all

# dpkg-reconfigure console-data
# dpkg-reconfigure keyboard-configuration
# service keyboard-setup restart
"Seek, and Ye shall find"
"Github | Chooons | Site"

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Locales corrupted?

Unread post by machinebacon » Tue Sep 30, 2014 9:31 pm

can we mark it [solved]? ;)
..gnutella..

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Locales corrupted?

Unread post by wuxmedia » Tue Sep 30, 2014 9:40 pm

Yes, good you moved it out of apt/ obviusly not an apt problem;
all problems a PEBCAK, just need to figure out which Chair and Keyboard. 8)
"Seek, and Ye shall find"
"Github | Chooons | Site"

Post Reply