GNUHealth 安装失败

GNUHealth 安装失败

今天尝试在我的 Fedora 27(32 位)上安装 GNUHealth。创建用户后,我尝试验证 PostgreSQL。这是 /var/lib/pgsql/data 中的文件 pg_hba.conf。这显示以下几行 在此输入图像描述

在这个文件中我发现没有包含以下内容的行local all all trust

gpg --recv-key 0xC015E1AE00989199返回这个

gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: no keyserver known (use option --keyserver)
gpg: keyserver receive failed: bad URI

gpg --with-fingerprint --list-keys 0xC015E1AE00989199给出

gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: error reading key: public key not found

下载分离的签名后,我尝试通过此验证包gpg --verify gnuhealth-3.2.9.tar.gz.sig gnuhealth-latest.tar.gz 也显示

    gpg: error reading key: public key not found

然后我写了这个安装./gnuhealth-setup install 结果,2018-05-20 07:08:03 [INFO] Starting GNU Health 3.2.9 installation... 2018-05-20 07:08:03 [INFO] Checking requirements -> Looking for wget... wget is /usr/bin/wget -> Looking for 2to3... 2018-05-20 07:08:03 [ERROR] 2to3 command not found. Please install it or check your PATH variable 2018-05-20 07:08:03 [INFO] Bailing out ! 2018-05-20 07:08:03 [INFO] Cleaning up temp directories at 2018-05-20 07:08:03 [INFO] removing base dir at 所以我安装失败了。对此应该做什么?

答案1

这是因为2to3默认没有安装,可以使用以下命令安装

yum install python-tools

现在运行./gnuhealth-setup install应该可以完成

相关内容