安装报错:check if container-selinux is available
来源:1-1 课程介绍

慕斯4289344
2022-01-12
老师,我已经科学上网了,安装报错,麻烦帮看看呢?
debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 1
TASK [container-engine/containerd : check if container-selinux is available] ***********************************************
task path: /soft/kubespray-2.15.0/roles/container-engine/containerd/tasks/containerd_repo.yml:39
fatal: [node01]: FAILED! => {
“changed”: false,
“invocation”: {
“module_args”: {
“allow_downgrade”: false,
“autoremove”: false,
“bugfix”: false,
“conf_file”: null,
“disable_excludes”: null,
“disable_gpg_check”: false,
“disable_plugin”: [],
“disablerepo”: [],
“download_dir”: null,
“download_only”: false,
“enable_plugin”: [],
“enablerepo”: [],
“exclude”: [],
“install_repoquery”: true,
“install_weak_deps”: true,
“installroot”: “/”,
“list”: “container-selinux”,
“lock_timeout”: 30,
“name”: [],
“releasever”: null,
“security”: false,
“skip_broken”: false,
“state”: null,
“update_cache”: false,
“update_only”: false,
“use_backend”: “auto”,
“validate_certs”: true
}
},
“msg”: “Error from repoquery: [’/usr/bin/repoquery’, ‘–show-duplicates’, ‘–plugins’, ‘–quiet’, ‘–disablerepo’, ‘’, ‘–enablerepo’, ‘’, ‘–qf’, ‘%{name}|%{epoch}|%{version}|%{release}|%{arch}|%{repoid}’, ‘container-selinux’]: File “/usr/bin/repoquery”, line 139\n print ‘digraph packages {’,\n ^\nSyntaxError: Missing parentheses in call to ‘print’. Did you mean print(‘digraph packages {’, end=” “)?\n”
}
1回答
-
刘果国
2022-01-13
从错误看感觉跟python的版本有关系,检查一下,升个级试试
012022-01-13
相似问题