docs: update docs
更新文档,添加系统启动相关的文档 Log:
This commit is contained in:
@@ -63,7 +63,7 @@ deepin 系统默认只会提供软件的 stable 版本,除非你加入了测
|
||||
|
||||
deepin源的指定在`/etc/apt/sources.list`文件下,例如,现在的v23 beige系统
|
||||
|
||||
```Text
|
||||
```
|
||||
https://community-packages.deepin.com/beige/ beige main commercial community
|
||||
|
||||
```
|
||||
|
||||
@@ -24,7 +24,7 @@ deepin 采用了 Debian 的软件包管理机制,所以在 deepin 中,软件
|
||||
:::
|
||||
每个 deepin 档案库的网址都有一个这样的 “Release” 文件,例如 “[https://community-packages.deepin.com/beige/dists/beige/Release](https://community-packages.deepin.com/beige/dists/beige/Release)”,内容如下
|
||||
|
||||
```Text
|
||||
```
|
||||
Origin: Linux Deepin
|
||||
Label: Deepin
|
||||
Codename: beige
|
||||
@@ -69,7 +69,7 @@ MD5Sum:
|
||||
归档层次的 "Release" 文件,其全部归档位置在 "/etc/apt/sources.list"中的 "deb"行中指定,如以下的 "[https://community-packages.deepin.com/beige/dists/beige/main/binary-amd64/Release](https://community-packages.deepin.com/beige/dists/beige/main/binary-amd64/Release)"
|
||||
或 "[https://community-packages.deepin.com/beige/dists/beige/main/binary-arm64/Release](https://community-packages.deepin.com/beige/dists/beige/main/binary-arm64/Release)"。
|
||||
|
||||
```Text
|
||||
```
|
||||
Version: 2022
|
||||
Component: main
|
||||
Origin: Linux Deepin
|
||||
@@ -80,7 +80,7 @@ Description: Deepin Beige packages.
|
||||
|
||||
对于部分档案库,比如说 experimental 和 bullseye-backports, 它们包含的软件包不会被自动安装,这是因为有额外的行,例如在 "http://deb.debian.org/debian/dists/experimental/main/binary-amd64/Release" 里面有如下额外的一行。
|
||||
|
||||
```Text
|
||||
```
|
||||
Archive: experimental
|
||||
Origin: Debian
|
||||
Label: Debian
|
||||
|
||||
@@ -140,7 +140,7 @@ deepin 不建议使用换源的方式进行大版本的更新,因为这样会
|
||||
|
||||
如果不想要引入推荐的特定软件包,你必须创建 "`/etc/apt/preferences`" 文件并且像如下所示的那样在文件的顶部明确列出这些软件包。
|
||||
|
||||
```Text
|
||||
```
|
||||
Package: package-1
|
||||
Pin: version *
|
||||
Pin-Priority: -1
|
||||
@@ -169,7 +169,7 @@ apt 软件包有自己的 cron 脚本 “`/etc/cron.daily/apt`” ,它支持
|
||||
|
||||
unattended-upgrades 软件包主要用于 stable 系统的安全更新。如果自动升级损坏 stable 系统的风险小于被入侵者利用已被安全更新修复的安全漏洞,你应该考虑使用自动更新,配置参数如下。
|
||||
|
||||
```Text
|
||||
```
|
||||
APT::Periodic::Update-Package-Lists "1";
|
||||
APT::Periodic::Download-Upgradeable-Packages "1";
|
||||
APT::Periodic::Unattended-Upgrade "1";
|
||||
@@ -177,7 +177,7 @@ APT::Periodic::Unattended-Upgrade "1";
|
||||
|
||||
如果你运行的是 unstable 系统,你应该不会想要使用自动更新,因为它肯定会在某天损坏系统。即使位于这样的 unstable 情况下,你可能依旧想提前下载软件包以节省交互式升级的时间,其配置参数如下。
|
||||
|
||||
```Text
|
||||
```
|
||||
APT::Periodic::Update-Package-Lists "1";
|
||||
APT::Periodic::Download-Upgradeable-Packages "1";
|
||||
APT::Periodic::Unattended-Upgrade "0";
|
||||
@@ -187,7 +187,7 @@ APT::Periodic::Unattended-Upgrade "0";
|
||||
|
||||
如果你想限制 APT 的下载带宽到 800Kib/sec(=100KiB/sec),你应该像下面那样设置 APT 的配置参数。
|
||||
|
||||
```Text
|
||||
```
|
||||
APT::Acquire::http::Dl-Limit "800";
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user