You are not logged in.
I am a new refugee from ubuntu. new arch installation. I am learning how to build my own init script.
the arch wiki for mkinitcpio (https://wiki.archlinux.org/index.php/Mkinitcpio) says
mkinitcpio -L
is used to inspect hooks. on my system, it tells me
==> Available hooks
column: read failed: Invalid or Incomplete multibyte or wide character
# this hook is deprecated in favor of block
# this hook is deprecated in favor of keyboard
being new as I am and as my install is, is this a doc bug inor a mkinitcpio bug?
Answer is below. make sure your locale exists and is utf-8. a misspelling in the locale can cause this.
/iaw
Last edited by iaw4 (2014-12-20 10:59:46)
Offline
You'll need an UTF-8 language (e.g. en_US.utf8), it doesn't work with ANSI C or POSIX locales.
Last edited by progandy (2014-12-20 09:55:44)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
excellent. I had made the mistake of setting my locale to en_us.UTF-8 , instead of en_US.UTF-8 . so, this error helped me prevent further disasters down the road.
SUGGESTIONS:
* a warning message that locale-gen generates if the file cannot be found or if it is an obvious mis-spelling.
* a better error for mkinitcpio that explains that the locale is not currently UTF-8.
thank you.
regards,
/iaw
Offline
Not a Sysadmin issue, moving to NC...
Offline
I have the same issue but setting LANG doesn't help
sh-4.3# echo $LANG
en_US.UTF-8
sh-4.3# mkinitcpio -L
==> Available hooks
column: read failed: Invalid or incomplete multibyte or wide character
Offline
I have the same issue but setting LANG doesn't help
sh-4.3# echo $LANG
en_US.UTF-8sh-4.3# mkinitcpio -L
==> Available hooks
column: read failed: Invalid or incomplete multibyte or wide character
No, you have the same symptoms. You have a different problem -- likely that en_US.UTF-8 isn't actually generated. I'm guessing that if you run the command 'locale', you'll see errors relating to the locale not being found.
Offline