Skip to content

Commit

Permalink
debian-security: Fix for some distros not using debian-security path
Browse files Browse the repository at this point in the history
Closes: #259
  • Loading branch information
taoky committed Jun 30, 2024
1 parent 451e1ba commit ba48848
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/debian-security.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ Debian Old Old Stable, Old Stable, Stable
=== "`sources.list` 格式"

```shell
sudo sed -i 's/security.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
sudo sed -i -e 's|security.debian.org/\? |security.debian.org/debian-security |g' \
-e 's|security.debian.org|mirrors.ustc.edu.cn|g' \
-e 's|deb.debian.org/debian-security|mirrors.ustc.edu.cn/debian-security|g' \
/etc/apt/sources.list
```

=== "DEB822 格式"
Expand Down

0 comments on commit ba48848

Please sign in to comment.