更新文档

This commit is contained in:
Super Manito
2025-05-13 19:07:55 +08:00
parent c3d0d5fa2c
commit a4844c5fe8
2 changed files with 17 additions and 9 deletions

View File

@@ -186,7 +186,7 @@ hide:
!!! quote ""
此报错是因为系统没有安装 `curl` 软件包,下面是安装命令
此报错是由于系统没有安装 `curl` 软件包导致,安装命令如下
=== "Debian 系 / openKylin"
@@ -292,10 +292,20 @@ hide:
=== "Debian 系 / openKylin"
``` bash
cp -rf /etc/apt/sources.list.bak /etc/apt/sources.list
apt-get update
```
=== "传统格式"
``` bash
cp -rf /etc/apt/sources.list.bak /etc/apt/sources.list
apt-get update
```
=== "DEB822 格式"
``` bash
system_name="$(lsb_release -is | tr '[:upper:]' '[:lower:]')"
cp -rf "/etc/apt/sources.list.d/${system_name}.sources.bak" "/etc/apt/sources.list.d/${system_name}.sources"
apt-get update
```
> `Debian`   `Ubuntu`   `Kali`   `Linux Mint`   `Deepin`   `Zorin OS`   `Armbian`   `Proxmox VE`   `Raspberry Pi OS`   `openKylin`