Locales missing SOLVED

I have the locale "de_DE.utf8" set in my rc.conf.
I recently noticed a very weird problem with German charachters in my qt apps (and only in my qt apps).
I'm not sure if this is related, but in researching this I wanted to find out if de_DE.utf8 is even a valid locale, so I did what the comments in rc.conf said:
# locale -a
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
C
POSIX
I'm a little freaked out now. Where the hell are my locales?
Edit: Solved. IMHO, there should really be something about running locale-gen in the installation docs. Those only tell you to add your locale to rc.conf, that's it.
Last edited by kamagurka (2007-02-22 02:39:00)

I did try without re-booting but as soon as I issued locale -a it would return
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
so I decided to reboot and it worked just fine after that.
The only thing that annoys me about that is that rebooting is not a *nix thing and we should not have to do that.
I'm sure there is a way to do it without that step.
BTW, I did try quitting the session and logging back in as suggested by Snowman (good thinking there my friend) but it did not work for me.
R.
Edit: On re-reading kamagurka's post I realize you did something different "source /etc/profile". May be that's the answer and the *nix way.
I'll try that the next time.
Last edited by ralvez (2007-02-22 02:52:39)

Similar Messages

  • [Solved] Locales missing

    Hi,
    I'm having a problem with my Arch installation. Last time I tried to boot it it got stuck on the console login (X wouldn't start). After a lot of debugging it appeared something was wrong with the kernel. I reinstalled it and the laptop booted fine. But now it also seems something is wrong with the locales. For example I have some special characters in my PS1, and these fail now (in KDEs Konsole). Trying to list all the locales using locale -a (both as normal user and as root) it yields these errors:
    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_COLLATE to default locale: No such file or directory
    C
    POSIX
    There are also a lot of other errors, for example bash' tab completion gives these errors:
    warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8)
    bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8)
    bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8)
    bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8)
    Using less on a UTF8 file says it's a binary file and askes if I'm sure I want to open it et cetera.
    I already ran locale-gen, but this doesn't seem to solve the problem, I also reinstalled glibc (which is the owner of both locale and locale-gen) and ran locale-gen again (which is something I think already happens in a post upgrade script), but this doesn't solve the problem either.
    Does anyone have an idea how to solve this problem?
    Thanks in advance
    Last edited by RobertMe (2011-09-13 18:17:35)

    Problem solved. The en_US.UTF-8 line in /etc/locale.gen was commented. I probably overwrote my own file with a .pacnew after an update without properly checking the differences between the original file and my own file.

  • Urbanterror 4.2 libcurl is (not) missing [SOLVED]

    After urbanterror 4.2 update from oficial repos, the map auto download feature does not work anymore.
    It reads the error "Libcurl is missing".
    I worked fine before the update.
    It happened to me before when I used the binaries download from the urbanterror site, never with the distribution packages.
    ir there anyway to solve this, at least until the new urbanterror package (or libcurl) is ready?
    Last edited by santodelaespada (2012-08-25 18:55:28)

    Radioactiveman wrote:$ sed -i "s/libcurl.so.3/libcurl.so.4/g" ~/.q3a/q3ut4/q3config.cfg
    Even tough that did not worked. I noticed the intention to point to the new libcurl.
    ~/.q3a/q3ut4/q3config.cfg wrote:seta cl_cURLLib "libcurl-3.dll"
    seems to be a windows reference to a dll file.
    I changed it to "/usr/lib/libcurl.so.4" and all turned to the right way.
    Is there a way to make this the default for all users (and new users) ?

  • Locals Missing - Qam Scan North Jersey

    I've tested multiple qam tuners on multiple PCs with the same results. Channel 5.1 (Fox) is identified from the scan. 2.1 (CBS) is not identified but can be located at 71.1025
    4.1 (NBC) and 7.1 (ABC) should be on channels 72.1027 and 73.1029 respectively but are not being found after channel scans. Here is the channel data I'm using: http://www.silicondust.com/hdhomerun/lineup_web/US:07981#lineup_8347993
    I'm not sure why 72.1027 and 73.1029 are not listed after channel scans. Any information or suggestions would be appreciated.
    Solved!
    Go to Solution.

    I was able to add the channels. This was a combination of missing PSIP data and Media Center limitation of 3 subchannel digits. For future reference, Guide Editor is a free download that makes it possible to add channels with more than 3 subchannels, eg: 73.1029

  • Iptables -m option(s) missing [SOLVED]

    Hi there, trying to block an outgoing connection by command-name but the following happens:
    $ sudo iptables -A OUTPUT -m owner --cmd-owner myapp -j DROP yields
    iptables v1.4.21: unknown option "--cmd-owner"
    ls -l /usr/lib/modules/`uname -r`/kernel/net/netfilter |grep owner
    -rw-r--r-- 1 root root  1411 Apr  8 14:11 xt_owner.ko.gz
    So hmm, does that mean in our current vanilla kernel (3.19.3-3 is it?) we have some net options not set?
    i.e. would I need to compile the kernel for this Or is it just a command which has disappeared into oblivion over the years?
    edit: yes, the module is also loaded.
    PPS. Ok, it does indeed seem to be an ancient command, that particular option.
    So the question is rather.. does iptables have an equivalent matching pattern aginst a command_name?
    I use/am learning nft more on some other systems but for the one in mind, uses iptables.
    Well, not sure if there is a command specific solution in the venerable iptables but I solved it by using a group and be done with it.
    Last edited by solar (2015-04-21 11:29:41)

    hi brebs.. ye, I did as a means to an end , blocked a group, and can add/script things as needed via that group. Good enough.

  • Tarball for vmware-server-modules' PKGBUILD missing [SOLVED]

    Edit: I realized that my subject line was mis-leading
    Hello,
    I've been an arch user for several months now. Amazingly, I've been able to work my way through all the problems I've had thus far (due, in large part, to the arch community and wikis). This is my first time actually posting for help.
    I've been trying to install VMware-Server on my latest install of arch, when I run a 'makepkg' on the vmware-server-modules package I get:
    ==> ERROR: VMware-server-2.0.2-203138.x86_64.tar.gz was not found in the build directory
    and is not a URL.
    A link to the missing tarball can be found on the vmware-server-2.0.2 AUR page (http://aur.archlinux.org/packages.php?ID=6182), however, when I click on the link, it 404's. I've done multiple Google, vmware.com, and archlinux.org/forum searches and have found nothing. I'm at a complete loss for what to do at this point. I really can't find anything of use on the subject, am I the only person who's had/having this problem? Any help/suggestions are greatly appreciated.
    Last edited by purilepolterguist (2010-07-18 19:21:51)

    Turns out I'm just retarded. That's the actual vmware-server package from the VMware download site, which I actually downloaded and unpacked in search of the file itself For those who looked at this post, could no one have just gone, "Hey dumbass, it's the actual file from the VMware site."?

  • Error when trying to make local repository (solved)

    i'm trying to make a local repository for a laptop without internet connection.
    on my desktop, the packages are in /var/cache/pacman/pkg and the corresponding PKGBUILD in /var/lib/pacman/local. but whenever i run (as root)
    #gensync /var/lib/pacman/local /var/cache/pacman/pkg/laptop.db.tar.gz
    i get the following error:
    gensync: building database entries, generating md5sums...
    gensync: compressing to /var/cache/pacman/pkg/laptop.db.tar.gz...
    tar: *: Cannot stat: No such file or directory
    tar: Error exit delayed from previous errors
    i can see the file laptop.db.tar.gz, but it's only 45 bytes!
    Last edited by chilebiker (2007-04-18 20:52:37)

    Maybe you could describe what you are doing a bit more. What I gather is that you want to take the pacman cache from the desktop system and somehow (how?) use this to update (or install to?) a laptop.
    You can make the desktop cache into a repository with gen_repo - but I forgot to say that you need to check that only a single version of each package is present in the cache (I think pacman -Sc should do that).
    If the laptop and desktop are then connected, e.g. by lan, you can set pacman.conf on the laptop to point at this repository (e.g. using NFS). Or you can copy the repository to the laptop and set pacman.conf to point at it.
    Another possibility would be to copy the pacman db (/var/lib/pacman/) to the laptop, and the package cache, then use pacman -S to install stuff. For that you don't need gen_repo, etc. Or you could just mount the desktop cache using NFS.
    There are all sorts of possibilities ... did you have something particular in mind?

  • Error add local repository[SOLVED]

    I create a local repository as wiki says. http://wiki.archlinux.org/index.php/Cus … nd_gensync.
    My db.tar.gz is at
    /home/lq/abs/myrepo.db.tar.gz
    And here is my pacman.conf
    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir = /
    #DBPath = /var/lib/pacman/
    #CacheDir = /var/cache/pacman/pkg/
    #LogFile = /var/log/pacman.log
    #HoldPkg = pacman glibc
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #XferCommand = /usr/bin/curl %u > %o
    #CleanMethod = KeepInstalled
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =xorg-server xorg-server-utils xf86-input-evdev xf86-input- synaptics kernel26 kernel26-firmware libgl ati-dri kernel-headers glibc binutils gcc-libs gcc
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options (all disabled by default)
    #NoPassiveFtp
    #UseSyslog
    #ShowSize
    #UseDelta
    #TotalDownload
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here
    # - local/custom mirrors can be added here or in separate files
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    # - URLs will have $repo replaced by the name of the current repo
    # Repository entries are of the format:
    # [repo-name]
    # Server = ServerName
    # Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # Testing is disabled by default. To enable, uncomment the following
    # two lines. You can add preferred servers immediately after the header,
    # and they will be used before the default mirrors.
    #[testing]
    #Include = /etc/pacman.d/mirrorlist
    [core]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist [community]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [myrepo]
    Server = file:///home/lq/abs
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[archlinuxfr]
    #Server = http://repo.archlinux.fr/i686
    #[Gooth]
    #Server = http://public.gooth.cn/archlinux/gooth/os/i686
    And when update,it says
    2009-10-12 21:26:59 (9.92 MB/s) - `/var/lib/pacman/community.db.tar.gz.part' saved [377225/377225]
    file:///home/lq/abs/myrepo.db.tar.gz: Unsupported scheme `file'.
    :: Starting full system upgrade...
    local database is up to date
    Could anyone tell me what is the problem ?
    Last edited by fbchaos (2009-10-12 14:56:01)

    Looks like you are using wget as your download agent (check XferCommand in pacman.conf). wget doesn't understand file, you can either switch to curl or the internal downloader.
    Last edited by Garns (2009-10-12 14:31:18)

  • [urxvt] Icon missing [solved]

    Hi there,
    I think it came with the latest Perl update that my urxvt no longer displays the icon properly.
    Screenshot: http://i.imgur.com/Q9HAhO3.png
    It just displays a generic icon for terminal windows.
    I have nothing changed in my ~/.Xresources:
    URxvt*iconFile: /usr/share/icons/elementary-xfce/apps/128/terminal.svg
    And I made sure that the icon still exists:
    ~ l /usr/share/icons/elementary-xfce/apps/128/terminal.svg
    lrwxrwxrwx 1 root root 22 2014-06-07 11:56:31.000000000 +0200 /usr/share/icons/elementary-xfce/apps/128/terminal.svg -> utilities-terminal.svg
    Can someone reproduce this issue?
    Installed packages:
    ~ pacman -Q | grep rxvt
    rxvt-unicode-patched 9.20-2
    rxvt-unicode-terminfo 9.20-2
    urxvt-perls 2.1-1
    Last edited by orschiro (2014-06-10 19:50:30)

    The issue with the missing icon is related to the bugs #FS36113, #FS35329 and #FS34862.
    Luckily there is a patched package called rxvt-unicode-pixbuf.
    Last edited by orschiro (2014-06-10 19:50:15)

  • /usr/local missing

    On my macbook, the folder /local doesn't seem to be there. Yesterday I did a fresh install of OS X, and now /usr/local is not there. I need it to create part of a toolchain for a project, so anyone know where it went, or if I could just create a directory called local?

    Hi Kabren,
       I think the installer used to create such empty directories but maybe it doesn't now. Since they are empty, you can make them yourself. However, I would think that most of the installers that use that install root by default will create the directories for you. If you have an app that doesn't or just want to create the directories yourself, you could do it with a command like:
    sudo mkdir /usr/local /usr/local/bin /usr/local/etc /usr/local/include /usr/local/info /usr/local/lib /usr/local/man /usr/local/sbin /usr/local/share /usr/local/share/man
    Gary
    ~~~~
       I saw a subliminal advertising executive, but only for a
       second.
             -- Steven Wright

  • Calligra Plans error, libkdgantt.so.11 missing [SOLVED]

    hi... I'm using kde 4.10, with testing repo activated in 64bits, trying to use Plan of calligra suite after 2.6 version upgrade, i have the error:
    "Cannot load library /usr/lib/kde4/planpart.so: (libkdgantt.so.11: cannot open shared object file: No such file or directory)"
    and effectively, this lib is missing, Ionly have that:
    "/usr/lib/libkdgantt2.so.0.1.0"
    I tried to build calligra again, but lib is still missing , usually libkdgantt is provided by calligra-plan package, but finding in the files in calligra-plan provided in arch repos there's not it.  I don't know if I missing something or if is an error package, or other..
    thanks
    Last edited by desaparecido (2013-02-18 09:20:25)

    The library is indeed not packaged, you should report it to the bug tracker. In the meantime you can change line 65 of the PKGBUILD to
    for d in 3rdparty interfaces libs pics servicetypes templates; do
    and rebuild (or, if you still have the build dir around, just repackage with makepkg -R)
    Last edited by arojas (2013-02-15 11:49:57)

  • Locale warnings [solved]

    Pacman (3.03) and some applications give this warning -
    warning: current locale is invalid; using default "C" locale
    Running "locale -a" shows this
    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
    C
    POSIX
    While there are no problems as yet, I would really like to fix the issue, could anyone help me out?
    Thanks,
    Last edited by ujjwal (2007-05-12 04:46:42)

    Following the wiki: http://wiki.archlinux.org/index.php/Locale
    I had nothing in: /etc/locale.gen
    So I entered:
    en_GB.UTF-8     UTF-8
    Then ran locale-gen:
    [root@voodoo ahaslam]# locale-gen
    Generating locales...
    Generation complete.
    Running locale -a gave:
    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
    C
    POSIX
    So:
    [root@voodoo ahaslam]# stat /usr/share/i18n/locales/en_GB
      File: `/usr/share/i18n/locales/en_GB'
      Size: 5334            Blocks: 16         IO Block: 4096   regular file
    Device: 804h/2052d      Inode: 335545864   Links: 1
    Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
    Access: 2007-05-13 22:54:51.385256465 -0700
    Modify: 2007-04-08 12:36:12.000000000 -0700
    Change: 2007-05-09 18:34:35.940984187 -0700
    en_GB.UTF-8 is set in /etc/rc.conf
    Any ideas?
    - ADDITIONAL COMMENT: FIXED -
    I was kindly advised by Neverther on IRC to remove /etc/locale.gen before reinstalling glibc & I'm glad to report that it worked perfectly, thanks again.
    Last edited by ahaslam (2007-05-14 16:35:22)

  • KDE 4.4: GTK Styles and Fonts missing [SOLVED]

    Hi,
    I use qtcurve for kde/gtk uniformity; after the upgrade to KDE 4.4 the styles look fine, but System Settings->Appearance-GTK Styles and Fonts tab is missing. Is it OK ?
    Last edited by Llama (2010-02-11 15:38:27)

    Llama wrote:Yes, it's gtk-qt-engine. Thanks! There has never been any trouble with FF, though.
    Good to know. Just warned you about this:
    http://bbs.archlinux.org/viewtopic.php?id=90813
    This is a common bug and I have experienced it too.

  • Openssl ec_lcl.h missing [SOLVED]

    ec_lcl.h is missing from openssl package, even though it is required by already installed headers. (http://fossies.org/dox/openssl-1.0.1e/e … tml#l00240) Why is it missing and what should I do about it?
    Edit: It is not required by already installed headers, but I believe that it is required by the example in man ecdsa, where key->group needs to access a member of a EC_KEY structure, which is defined in ec_lcl.h under the name of ec_key_st. (Also, the headers use EC_KEY *).
    Last edited by doru001 (2013-07-01 15:56:09)

    Apparently, only the include subdirectory of the (openssl-1.0.1e upstream package) has been included into the archlinux openssl package. What should I do to use the rest of the package without messing up my system? I need to use the rest of the package only for compiling my applications, not as part of the system. Is it fine just to untar it in my home directory and add it to the gcc include directory? Apparently not, I also need to compile the libraries. How should I do that? There are two make files there, but from different distributions. There is mingw32-openssl 1.0.1e-1 in AUR, maybe I should use it. Nope, it is 1.4K as compared to the original full 4.3M on the openssl.org page, and it does not contain ec_lcl.h, either. How am I supposed to use the openssl c API?
    Last edited by doru001 (2013-06-10 11:20:27)

  • Share : Userdata.dll missing -Solved !

    Recently received a call that customer have 2 T440 same machine type having error when restart machine .After checked found this error was cause by Lenovo Password Manager Pro program / Fingerprint Manager .
    After uninstall then restart the problem solved. For more details , refer the link :http://answers.microsoft.com/en-us/windows/forum/windows_7-system/userdatadll-warning-message-on-win...
    Not require to Run recovery for this issue .

    Satellite L505-LS5021 
    Try to replace the file by running sfc /scannow at an elevated command prompt. See KB929833.
    -Jerry

Maybe you are looking for

  • Compilation process error : null/bin/javac: not found

    Hi experts, I am getting following error in IR. Compilation process error : null/bin/javac: not found Can anybody plaese help what is cause for this error. Kind Regards, Praveen

  • Exclude Schema from Gather Statistics Job

    I am using 11.1.0,7. I would like to know if we can exclude some schemas While Oracle automatically gathers the statistics. Reason I want this is that, I have one database that supports multiple applications but as per one application's demand we sho

  • Crystal Reports Server

    <p>Hello:</p><p> Just wondering which forum is appropriate for discussing Crystal Reports Server? I don't think I saw one. (Perhaps the Business Objects Enterprise XI forum??)</p><p>Thanks,</p><p>Pete</p>

  • SAP CRM 010 overview 4.0 version.

    Dear Friends, I will be very grateful if someone could send me the pdf file of  SAP CRM 010 overveiw of version 4.0 to my mail id which is [email protected] Thanks in advance. Regards Kris

  • HELP!!! Begginer working with a Swing Applet. DON'T KNOW HOW TO DRAW LINE

    Hi! I've been trying to draw a line in an applet and I can't. The thing is I'm using the tutorial to create the applet, so it comes with the standart methos and the standalone. I'm not sure if the problem is becausse I need to include in it a paint m