Warning during apt-get update: perl: warning: Setting locale failed.

I have an Ubuntu server 14.04 and got the message during system update:

?> sudo apt-get -y dist-upgrade
...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "en_US.UTF-8",
LC_MONETARY = "en_US.UTF-8",
LC_ADDRESS = "en_US.UTF-8",
LC_TELEPHONE = "en_US.UTF-8",
LC_NAME = "en_US.UTF-8",
LC_MEASUREMENT = "en_US.UTF-8",
LC_IDENTIFICATION = "en_US.UTF-8",
LC_NUMERIC = "en_US.UTF-8",
LC_PAPER = "en_US.UTF-8",
LANG = "en_US.UTF-8"
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
...

To solve this you will have to compile the locale definitions:

?> sudo locale-gen en_US en_US.UTF-8

and then reconfigure the locale setup:

?> sudo dpkg-reconfigure locales

Problem solved!

LibreElec 7.0 and MCE remote

I just bought my self a ODroid C2 to be my LibreElec Media Center (http://libreelec.tv).

LibreElec don’t have an image for my new ODroid but an image can be downloaded from the ODroid forum (http://forum.odroid.com/viewtopic.php?f=138&t=20415&hilit=ir+remote).

On Linux you will have to use the dd command to wrote the image to an eMMC/SD module:

?> sudo dd if=<image filename> of=/dev/sdx bs=4M

?> sudo sync

Be careful to write to the correct device or you might loose all data on a disk drive (use the lsblk command to list all disk drives).

Then insert the eMMC/SD module in the the ODroid C2 and connect HDMI, mouse, keyboard and at last the power.

LibreElec should boot up and be ready to use except for your MCE remote.

There is a hole big process to record IR signals from your remote but thats not very easy and my results have not been good.

The easiest way is the get Lirc MCE config file from a standard installation and copy it to the /storage/.config folder on the ODroid C2.

Either install Lirc on an computer and find the file lircd.conf.mceusb or download the file :lircd.conf

To copy it to the ODroid C2 do:

?> scp lircd.conf.mceusb root@libreelec:/storeage/.config/lircd.conf

Reboot the ODroid and the MCE remote should be working now.

W: There is no public key available for the following key IDs: ‘XXXXX’

Have you seen this during a apt-get update:

?> sudo apt-get update
Ign http://dk.archive.ubuntu.com trusty InRelease
Hit http://ppa.launchpad.net trusty InRelease
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://dk.archive.ubuntu.com trusty-updates InRelease
Ign http://extras.ubuntu.com trusty InRelease
......
Reading package lists... Done
W: There is no public key available for the following key IDs:
1397BC53640DB551

Then you are missing a public key in the database.

To solve the problem do:

?> sudo -i bash
[sudo] password for <username>:

?> apt-get install debian-keyring debian-archive-keyring

?> gpg --keyserver keyserver.ubuntu.com --recv 1397BC53640DB551
gpg: requesting key 640DB551 from hkp server keyserver.ubuntu.com
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key D38B4796: public key "Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

?> gpg --export 1397BC53640DB551 | apt-key add -
OK

?> exit

Now will it be possible to update the package system.

Goodbye Netflix

I keep getting the error code: M7111-1331-5059 when trying to watch Netflix content.
It caused by the fact I use a VPN service provider to access the Internet.
I use a VPN service provider because I don’t want my ip-address being available to everybody to see.
You might think: Who cares? Well, I do.
Its like wearing a t-shirt with my address on every time I walk out the door and I would never do that.
Most of the time I just want to go out and nobody should know who I am except my friends I meet a long my way or when I order a new car or buy a house etc.
Its like the Internet have become this huge collective where I have no privacy at all.
In the real world would I never accept a shop ask and collect all my information and then let them send it to every shop on the planet.
Or if I buy a newspaper I have to report every article/item I am look at and then this information is sent all over the world completely out of my control.
I know, they need to make money and thats BS.
Its because they are simple to lacy to do there advertisement the right way, safe for there users. And as long as they wont treat me with respect and privacy I expect I wont give them any opportunity to make money of me or collect my data.
Of cause a VPN won’t do it alone, privacy browser plug ins is a necessity as well.

So Netflix as long as you have this policy I will not be your customer.

Advarsel: DIBO BARF hundefoder

Dette er an advarsel til andre hundeejere som benytter DIBO BARF hundefoder.

2 gange har jeg fundet glasskår i foder fra DIBO.

Fundet er sket i 2 uafhængige køb af foderet og det er derfor ikke bare en tilfældighed.

Undskyldningen fra forhandleren er, at en ko har spist glas, hvilket kan tænkes, men at en ko spiser glas 2 gange og det findes i fodret i 2 uafhængige købe finder jeg er usandsynligt.

Jeg tror at der sket et uheld under produktionen og at de har været ligeglad og brugt foderet i stedet for at smide det ud.

Jeg har derfor valgt at holde op med at fodre min hund med DIBO BARF hundefoder og jeg vil opfordre dig til at holder dig langt væk fra det produkt.

Aftershot Pro plugins

Here is the plugins I compiled out of Spoilerheads source code:

Wavelet Sharpen 64-bit
Wavelet Sharpen 32-bit

Wavelet Denoise 64-bit
Wavelet Denoise 32-bit

Silicon Bonk 64-bit
Silicon Bonk 32-bit

Grain 64-bit
Grain 32-bit

Gelatin 64-bit
Gelatin 32-bit

FatToni 64-bit
FatToni 32-bit

Angy 64-bit
Angy 32-bit

Please, visit Spoilerhead, Thanks him for his great work and donate to keep him working…

Have a look at your router before you make changes

I have always been able to watch a movie using kodi, downloading big files and ripping BD on the same time.

No problems, copy 6-8 movies at the same time over to my Synology box while watching tv with Kodi.

After I upgrade to Kubuntu 15.04 this was not possible anymore.
I was crushed by the fact I could only do 1 thing at the time.

First it was Kubuntu fault, tried all kinds of settings but no luck. No lost network packages.

It was until my daugther came to me and said: “Dad, Harry Potter, is chops and will not run smooth”. This was while I was downloading some big files.

Well, then it can’t be Kubuntu!!!

After moving wires around a bit I found out it was a switch make troubles.
A restart of the switch solved the problem.

So the next time I have network problems, the first thing I will be doing is:

RESTART the network hardware!!!