Skip to content

Commit

Permalink
Revert changes to raspbian
Browse files Browse the repository at this point in the history
Signed-off-by: Miao Wang <[email protected]>
  • Loading branch information
shankerwangmiao committed Sep 4, 2020
1 parent df894d4 commit 59b4cdd
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 20 deletions.
4 changes: 2 additions & 2 deletions _data/options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ mirror_desc:
desc: Racket 语言环境安装包
- name: raspberrypi
desc: 一些专为树莓派提供的 Debian 软件包
- name: raspberry-pi-os
desc: Raspberry Pi OS (原 Raspbian)系统软件源
- name: raspbian
desc: 为树莓派编译的 Debian 系统软件源
- name: raspberry-pi-os-images
desc: Raspberry Pi OS (原 Raspbian)的安装镜像
- name: redhat
Expand Down
2 changes: 1 addition & 1 deletion geninfo/genisolist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ pattern = deepin-([0-9.]+)-(\w+).iso
version = $1
platform = $2

[raspberry-pi-os]
[raspberry-pi-os-images]
distro = Raspberry Pi OS (原 Raspbian)
listvers = 1
location = raspberry-pi-os-images/raspios*/images/raspios*/*.zip
Expand Down
38 changes: 21 additions & 17 deletions help/_posts/1970-01-01-raspbian.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
---
category: help
layout: help
mirrorid: raspberry-pi-os
mirrorid: raspbian
---

## Raspberry Pi OS 镜像使用帮助
## Raspbian 镜像使用帮助

### Raspberry Pi OS 简介
### Raspbian 简介

Raspberry Pi OS (原 Raspbian 是专门用于 ARM 卡片式计算机 Raspberry Pi® “树莓派”的操作系统,
Raspbian 是专门用于 ARM 卡片式计算机 Raspberry Pi® “树莓派”的操作系统,
其基于 Debian 开发,针对 Raspberry Pi 硬件优化。

Raspberry Pi OS 由树莓派的开发与维护机构 The Raspberry Pi Foundation
“树莓派基金会” 官方支持,并推荐用作树莓派的首选系统
Raspbian 并非由树莓派的开发与维护机构 The Raspberry Pi Foundation
“树莓派基金会” 官方支持。其维护者是一群 Raspberry Pi 硬件和 Debian 项目的爱好者

### 系统架构与版本

Expand All @@ -28,16 +28,16 @@ Raspberry Pi OS 由树莓派的开发与维护机构 The Raspberry Pi Foundation
* stretch
* buster

注:Raspberry Pi OS 系统由于从诞生开始就基于(为了armhf,也必须基于)当时还是
testing 版本的 7.0/wheezy,所以 Raspberry Pi OS 不倾向于使用 stable/testing
注:Raspbian 系统由于从诞生开始就基于(为了armhf,也必须基于)当时还是
testing 版本的 7.0/wheezy,所以 Raspbian 不倾向于使用 stable/testing
表示版本。

### 使用说明


<form class="form-inline">
<div class="form-group">
<label>选择你的 Raspberry Pi OS 对应的 Debian 版本: </label>
<label>选择你的 Raspbian 对应的 Debian 版本: </label>
<select class="form-control release-select" data-template="#apt-template" data-target="#apt-content">
<option data-release="wheezy">Debian 7 (wheezy)</option>
<option data-release="jessie">Debian 8 (jessie)</option>
Expand All @@ -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%}/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
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

# 编辑 `/etc/apt/sources.list.d/raspi.list` 文件,删除原文件所有内容,用以下内容取代:
deb http://{%endraw%}{{ site.hostname }}{%raw%}/raspberrypi/ {{release_name}} main ui
Expand All @@ -66,22 +66,26 @@ deb http://{%endraw%}{{ site.hostname }}{%raw%}/raspberrypi/ {{release_name}} ma
</code>
</pre>



注意:网址末尾的`raspbian`重复两次是必须的。因为 Raspbian 的仓库中除了APT软件源还包含其他代码。APT软件源不在仓库的根目录,而在`raspbian/`子目录下。

编辑镜像站后,请使用`sudo apt-get update`命令,更新软件源列表,同时检查您的编辑是否正确。


### 相关链接

#### Raspberry Pi OS 链接
#### Raspbian 链接

*  Raspberry Pi OS 主页: [https://www.raspberrypi.org/downloads/raspberry-pi-os/](https://www.raspberrypi.org/downloads/raspberry-pi-os/)
* 文档:[https://www.raspberrypi.org/documentation/raspbian/](https://www.raspberrypi.org/documentation/raspbian/)
* Bug 反馈:[https://www.raspberrypi.org/forums/viewtopic.php?t=243717](https://www.raspberrypi.org/forums/viewtopic.php?t=243717)
*  Raspbian 主页: [https://www.raspbian.org](https://www.raspbian.org)
* 文档:[https://www.raspbian.org/RaspbianDocumentation](https://www.raspbian.org/RaspbianDocumentation)
* Bug 反馈:[https://www.raspbian.org/RaspbianBugs](https://www.raspbian.org/RaspbianBugs)
*  镜像列表: [http://www.raspbian.org/RaspbianMirrors](http://www.raspbian.org/RaspbianMirrors)

#### 树莓派链接

*  树莓派基金会主页: [https://www.raspberrypi.org/](https://www.raspberrypi.org/)
*  树莓派基金会论坛 Raspberry Pi OS 版块: [https://raspberrypi.org/forums/viewforum.php?f=66](https://raspberrypi.org/forums/viewforum.php?f=66)
* 树莓派基金会主页: [https://www.raspberrypi.org/](https://www.raspberrypi.org/)
* 树莓派基金会论坛 Raspberry Pi OS 版块: [https://raspberrypi.org/forums/viewforum.php?f=66](https://raspberrypi.org/forums/viewforum.php?f=66)

### 关于本文档

Expand Down

0 comments on commit 59b4cdd

Please sign in to comment.