Tip: fix for update-initramfs "No support for local ..."

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Dutchglory

Tip: fix for update-initramfs "No support for local ..."

Post by Dutchglory »

I'm running Mint 17 amd64 dutch and i had this warning ..

Code: Select all

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 :

Code: Select all

sudo locale-gen --purge --no-archive
you will get...

Code: Select all

 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...

Code: Select all

update-initramfs -u -t 
and warning is fixed...
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
PatH57

Re: Tip: fix for update-initramfs "No support for local ...

Post by PatH57 »

works but you should use

Code: Select all

sudo update-initramfs -u -t 
Dutchglory

Re: Tip: fix for update-initramfs "No support for local ...

Post by Dutchglory »

true, i was running in root terminal :) but with sudo is better....
PatH57

Re: Tip: fix for update-initramfs "No support for local ...

Post by PatH57 »

:lol: just edit your first post and add it or you will have a lot of people asking about permission denied....
Locked

Return to “Software & Applications”