[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anolis 8.9虚拟机单节点安装报错 #456

Closed
Julianyeee opened this issue Sep 23, 2024 · 1 comment
Closed

anolis 8.9虚拟机单节点安装报错 #456

Julianyeee opened this issue Sep 23, 2024 · 1 comment

Comments

@Julianyeee
Copy link

如题anolis 8.9安装报错。
请帮看下是不是哪儿没配置正确,在issue里没找到类似报错;虚拟机iso是在anolis官网下载的,别的系统还没来及测试。

环境如下:
#cat /etc/os-release
NAME="Anolis OS"
VERSION="8.9"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.9"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.9"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"

#uname -a
Linux anolis-01 5.10.134-16.2.an8.x86_64 #1 SMP Mon Mar 4 16:14:16 CST 2024 x86_64 x86_64 x86_64 GNU/Linux

主要命令如下:
105 curl -fsSL https://repo.pigsty.cc/get | bash
106 sudo rm -rf /tmp/pigsty_bk; cp -r /home/yh/pigsty /tmp/pigsty_bk
107 sudo rm -rf /tmp/pigsty; tar -xf /tmp/pigsty-v3.0.2.tgz -C /tmp/
108 ll
109 rsync -av --exclude='/pigsty.yml' --exclude='/files/pki/***' /tmp/pigsty/ /home/yh/pigsty/
……
146 ./bootstrap -k
147 ./configure
148 ./install.yml

报错如下:
TASK [pgsql : install postgres packages] *********************************************************************************************************************
ok: [192.168.153.11] => (item=postgresql16*)
failed: [192.168.153.11] (item=patroni,patroni-etcd,pgbouncer,pgbackrest,pg_exporter,pgbadger,vip-manager,wal2json_16*,pg_repack_16*) => {"ansible_loop_var": "failures": [], "item": "patroni,patroni-etcd,pgbouncer,pgbackrest,pg_exporter,pgbadger,vip-manager,wal2json_16*,pg_repack_16*", "msg": "Depsolve Error occurring requests\n - nothing provides python3-click >= 4.1 needed by patroni-4.0.2-1PGDG.rhel8.noarch from pigsty-local\n Problem 2: conflicting requests\n - noded by pgbackrest-2.53.1-1PGDG.rhel8.x86_64 from pigsty-local\n - nothing provides libssh2.so.1()(64bit) needed by pgbackrest-2.53.1-1PGDG.rhel8.x86_64 from package patroni-etcd-4.0.2-1PGDG.rhel8.noarch from pigsty-local requires patroni = 4.0.2-1PGDG.rhel8, but none of the providers can be installed\n - conflictprovides python3-click >= 4.1 needed by patroni-4.0.2-1PGDG.rhel8.noarch from pigsty-local", "rc": 1, "results": []}

PLAY RECAP ***************************************************************************************************************************************************
192.168.153.11 : ok=203 changed=69 unreachable=0 failed=1 skipped=56 rescued=0 ignored=0
localhost : ok=3 changed=0 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0

@Julianyeee
Copy link
Author

问题已解决,应该是最早直接用./bootstrap 导致有包冲突,恢复快照到干净系统后重新安装,改用./bootstrap -k,一切正常。

63 curl -fsSL https://repo.pigsty.io/get | bash; cd ~/pigsty;
64 ./bootstrap -k
65 sudo visudo
66 ./bootstrap -k
67 ./configure
68 ./install.yml

结果:
PLAY RECAP *************************************************************************************************************************************
192.168.153.11 : ok=323 changed=251 unreachable=0 failed=0 skipped=66 rescued=0 ignored=0
localhost : ok=6 changed=3 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant