SLES 15 zypper 和 yast 錯誤

SLES 15 zypper 和 yast 錯誤

我在 GCP 上建立了預先定義的 SLES 15.1 Linux 虛擬機器。

SUSEConnect、zypper 和 yast 功能不起作用。

我總是遇到錯誤:“11-資源暫時不可用”

例如,我運行命令:

# SUSEConnect -p sle-module-basesystem/15.1/x86_64

結果:

Registering system to registration proxy https://smt-gce.susecloud.net
Updating system details on https://smt-gce.susecloud.net ...
Activating sle-module-basesystem 15.1 x86_64 ...
-> Adding service to system ...
command 'zypper --non-interactive refs Basesystem_Module_x86_64' failed
Error: zypper returned (1) with 'Unexpected exception.
Unknown error reading from 'plugin:/susecloud?credentials=Basesystem_Module_x86_64&path=/services/1772'
History:
 - Receive: script died unexpectedly
 - [11-Resource temporarily unavailable]

Please file a bug report about this.
See http://en.opensuse.org/Zypper/Troubleshooting for instructions.'

請問有人可以幫我解決這個問題嗎?我需要在此 SLES 中安裝一些額外的軟體包。

答案1

這是因為 lxml 設定檔版本為 4.4.2。因此,卸載並安裝較新的版本 4.6.2 並使用以下命令重新註冊。

# pip freeze | grep lxml
# pip uninstall lxml
# pip install lxml
# /usr/sbin/registercloudguest --force-new
# zypper update

希望這可以幫助。

相關內容