fix: 修复非第三方源安装incus时找不到ui安装包的问题

This commit is contained in:
spiritlhl
2026-01-31 05:15:47 +00:00
parent e810070fb0
commit c761339aaf
2 changed files with 46 additions and 2 deletions

View File

@@ -89,4 +89,26 @@ Then you can type in your browser
```https://your_public_ipv4_address:8443```
You can enter the official visualization panel, subsequent operation configuration in accordance with the UI prompts can be operated.
You can enter the official visualization panel, subsequent operation configuration in accordance with the UI prompts can be operated.
If you receive a prompt stating that the UI installation package cannot be found, this indicates that your previous installation utilized the official Incus repository rather than the Zabbly repository.
In this case, you need to add an additional repository. Assuming you are using Debian 13, you can add the repository using the following command before attempting the installation again:
```shell
sudo -i
mkdir -p /etc/apt/keyrings/
curl -fsSL https://pkgs.zabbly.com/key.asc | gpg --dearmor -o /etc/apt/keyrings/zabbly.gpg
sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-stable.sources
Enabled: yes
Types: deb
URIs: https://pkgs.zabbly.com/incus/stable
Suites: $(. /etc/os-release && echo ${VERSION_CODENAME})
Components: main
Architectures: $(dpkg --print-architecture)
Signed-By: /etc/apt/keyrings/zabbly.gpg
EOF'
apt-get update
```
For instructions on adding sources to other systems, refer to the official repository documentation at <https://github.com/zabbly/incus?tab=readme-ov-file#installation>.

View File

@@ -101,4 +101,26 @@ incus config set core.https_address [::]
```https://你的公网IPV4地址:8443```
即可进入官方可视化操作面板后续的操作配置按照UI提示操作即可
即可进入官方可视化操作面板后续的操作配置按照UI提示操作即可
如果提示找不到ui安装包那么说明你之前使用的是官方的incus源安装的环境不是走的zabbly的源
此时需要额外添加源假设你使用的是debian13系统可使用以下命令添加源后再尝试安装
```shell
sudo -i
mkdir -p /etc/apt/keyrings/
curl -fsSL https://pkgs.zabbly.com/key.asc | gpg --dearmor -o /etc/apt/keyrings/zabbly.gpg
sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-stable.sources
Enabled: yes
Types: deb
URIs: https://pkgs.zabbly.com/incus/stable
Suites: $(. /etc/os-release && echo ${VERSION_CODENAME})
Components: main
Architectures: $(dpkg --print-architecture)
Signed-By: /etc/apt/keyrings/zabbly.gpg
EOF'
apt-get update
```
其他系统如何添加源可参考 <https://github.com/zabbly/incus?tab=readme-ov-file#installation> 官方仓库的说明