[Koha-bugs] [Bug 31560] koha-create fails with error pwgen invalid option -- 'r'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 14 17:38:21 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31560

--- Comment #3 from jesus at medios.es ---
Indeed, upgrading to Debian 11 fixed the problem:

root at newkoha:~# cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root at newkoha:~# mysqlpwd=$(pwgen -s -y -r ":'&\\<>/" 16 1); echo $mysqlpwd
r2@~q`SO at F8$28DD
root at newkoha:~# koha-create --create-db gongora
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en",
        LC_ALL = (unset),
        LC_CTYPE = "UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
Koha instance is empty, no staff user created.
Starting Koha worker daemon for gongora (default):.
Starting Koha indexing daemon for gongora:.

root at newkoha:~#

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list