mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
rename docs
This commit is contained in:
parent
9751935b13
commit
dc411ef912
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
category: help
|
||||
layout: help
|
||||
mirrorid: raspbian
|
||||
mirrorid: raspberry-pi-os
|
||||
---
|
||||
|
||||
## Raspberry Pi OS 镜像使用帮助
|
||||
|
|
@ -52,8 +52,8 @@ testing 版本的 7.0/wheezy,所以 Raspberry Pi OS 不倾向于使用 stable/
|
|||
{% raw %}
|
||||
<script id="apt-template" type="x-tmpl-markup">
|
||||
# 编辑 `/etc/apt/sources.list` 文件,删除原文件所有内容,用以下内容取代:
|
||||
deb http://{%endraw%}{{ site.hostname }}{%raw%}/raspbian/raspbian/ {{release_name}} main non-free contrib rpi
|
||||
deb-src http://{%endraw%}{{ site.hostname }}{%raw%}/raspbian/raspbian/ {{release_name}} main non-free contrib rpi
|
||||
deb http://{%endraw%}{{ site.hostname }}{%raw%}/raspberry-pi-os/raspbian/ {{release_name}} main non-free contrib rpi
|
||||
deb-src http://{%endraw%}{{ site.hostname }}{%raw%}/raspberry-pi-os/raspbian/ {{release_name}} main non-free contrib rpi
|
||||
|
||||
# 编辑 `/etc/apt/sources.list.d/raspi.list` 文件,删除原文件所有内容,用以下内容取代:
|
||||
deb http://{%endraw%}{{ site.hostname }}{%raw%}/raspberrypi/ {{release_name}} main ui
|
||||
|
|
@ -66,10 +66,6 @@ deb http://{%endraw%}{{ site.hostname }}{%raw%}/raspberrypi/ {{release_name}} ma
|
|||
</code>
|
||||
</pre>
|
||||
|
||||
|
||||
|
||||
注意:网址末尾的`raspbian`重复两次是必须的。因为 RPi OS 的仓库中除了APT软件源还包含其他代码。APT软件源不在仓库的根目录,而在`raspbian/`子目录下。
|
||||
|
||||
编辑镜像站后,请使用`sudo apt-get update`命令,更新软件源列表,同时检查您的编辑是否正确。
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -306,10 +306,10 @@ pattern = deepin-([0-9.]+)-(\w+).iso
|
|||
version = $1
|
||||
platform = $2
|
||||
|
||||
[raspbian]
|
||||
[raspberry-pi-os]
|
||||
distro = Raspberry Pi OS (原 Raspbian)
|
||||
listvers = 1
|
||||
location = raspbian-images/raspios*/images/raspios*/*.zip
|
||||
location = raspberry-pi-os-images/raspios*/images/raspios*/*.zip
|
||||
pattern = ([-0-9]+)-raspios-(.+)-(.+)\.zip
|
||||
platform = $3
|
||||
type = $2
|
||||
|
|
|
|||
Loading…
Reference in New Issue