|
10 years ago 12 |
I'm running Mint 17 amd64 dutch and i had this warning ..
update-initramfs: Generating /boot/initrd.img-3.0.0-12-generic
Warning: No support for locale: nl_NL.UTF-8
issue:
The problem is that /usr/share/initramfs-tools/hooks/root_locale is expecting to see individual locale directories in /usr/lib/locale, but locale-gen is configured to generate an archive file by default.
i fixed it by running :
sudo locale-gen --purge --no-archive
you will get...
Generating locales...
en_AG.UTF-8... done
en_AU.UTF-8... done
en_BW.UTF-8... done
en_CA.UTF-8... done
en_DK.UTF-8... done
en_GB.UTF-8... done
en_HK.UTF-8... done
en_IE.UTF-8... done
en_IN.UTF-8... done
en_NG.UTF-8... done
en_NZ.UTF-8... done
en_PH.UTF-8... done
en_SG.UTF-8... done
en_US.UTF-8... done
en_ZA.UTF-8... done
en_ZM.UTF-8... done
en_ZW.UTF-8... done
nl_AW.UTF-8... done
nl_BE.UTF-8... done
nl_NL.UTF-8... done
Generation complete.
After that run...
update-initramfs -u -t
and warning is fixed...
Nice!
I don't like seeing warnings on commandline output. This took care of it.
Thank You, Verwijs69
In last command "update-initramfs -u -t", include sudo, ie: "sudo update-initramfs -u -t". Don't include quotation marks.
Nice one!
Thank you for your help, it worked.
OK, Works.
worked for me, thankyou
Yes it worked, promoting you... I have watched the error for years now in many machines, now fixing it everywere.
NOTE: sudo update-initramfs -u -t
Because it wont work without sudo
Most users will figure this out, but the update-initramfs is a sudo command as well.
Works great.
nice!