Skip to content

Commit c761339

Browse files
committed
fix: 修复非第三方源安装incus时找不到ui安装包的问题
1 parent e810070 commit c761339

2 files changed

Lines changed: 46 additions & 2 deletions

File tree

docs/en/guide/incus/incus_extra_config.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,26 @@ Then you can type in your browser
8989

9090
```https://your_public_ipv4_address:8443```
9191

92-
You can enter the official visualization panel, subsequent operation configuration in accordance with the UI prompts can be operated.
92+
You can enter the official visualization panel, subsequent operation configuration in accordance with the UI prompts can be operated.
93+
94+
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.
95+
96+
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:
97+
98+
```shell
99+
sudo -i
100+
mkdir -p /etc/apt/keyrings/
101+
curl -fsSL https://pkgs.zabbly.com/key.asc | gpg --dearmor -o /etc/apt/keyrings/zabbly.gpg
102+
sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-stable.sources
103+
Enabled: yes
104+
Types: deb
105+
URIs: https://pkgs.zabbly.com/incus/stable
106+
Suites: $(. /etc/os-release && echo ${VERSION_CODENAME})
107+
Components: main
108+
Architectures: $(dpkg --print-architecture)
109+
Signed-By: /etc/apt/keyrings/zabbly.gpg
110+
EOF'
111+
apt-get update
112+
```
113+
114+
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>.

docs/guide/incus/incus_extra_config.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,26 @@ incus config set core.https_address [::]
101101

102102
```https://你的公网IPV4地址:8443```
103103

104-
即可进入官方可视化操作面板,后续的操作配置按照UI提示操作即可
104+
即可进入官方可视化操作面板,后续的操作配置按照UI提示操作即可
105+
106+
如果提示找不到ui安装包,那么说明你之前使用的是官方的incus源安装的环境,不是走的zabbly的源
107+
108+
此时需要额外添加源,假设你使用的是debian13系统,可使用以下命令添加源后再尝试安装:
109+
110+
```shell
111+
sudo -i
112+
mkdir -p /etc/apt/keyrings/
113+
curl -fsSL https://pkgs.zabbly.com/key.asc | gpg --dearmor -o /etc/apt/keyrings/zabbly.gpg
114+
sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-stable.sources
115+
Enabled: yes
116+
Types: deb
117+
URIs: https://pkgs.zabbly.com/incus/stable
118+
Suites: $(. /etc/os-release && echo ${VERSION_CODENAME})
119+
Components: main
120+
Architectures: $(dpkg --print-architecture)
121+
Signed-By: /etc/apt/keyrings/zabbly.gpg
122+
EOF'
123+
apt-get update
124+
```
125+
126+
其他系统如何添加源可参考 <https://github.com/zabbly/incus?tab=readme-ov-file#installation> 官方仓库的说明

0 commit comments

Comments
 (0)