Related, on Ubuntu 18.04, the fortune program provided by the fortune-
mod package doesn't work at all if the only fortune packages installed
are not in English. I have the fortune-mod, fortunes-es, and fortunes-
es-off packages installed, but when I run /usr/games/fortune (with or
without the -a option) it fails:

$ fortune [-a]
fortune: /usr/share/games/fortunes: No fortune files in directory.
fortune:/usr/share/games/fortunes not a fortune file or directory
No fortunes found

If I manually specify the Spanish fortune directories then it works:

$ fortune /usr/share/games/fortunes/es /usr/share/games/fortunes/es/off
<prints a fortune in Spanish>

My system is configured to use English as the main language, in case
that's relevant.


** Also affects: fortunes-es (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/888249

Title:
  fortune doesn't work with multiple languages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fortune-mod/+bug/888249/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to