bin456789 / bin456789/reinstall
国内服务器卡 Debian Security
- Dominant language
- Shell
- Stars
- 13.3k
- Forks
- 2.1k
- Avg merge
- 9h 19m
- Merged PRs (30d)
- 1
Description
原来的系统:Debian 12
要安装的系统:Debian 12
遇到的问题:Alpine 环境下卡在 Debian Security
服务器:杭州阿里云
重装命令:
```shell
curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh || wget -O reinstall.sh $_
bash reinstall.sh debian --ci
```
```shell
***** MODIFY DISK IF IS LINUX *****
***** MODIFY LINUX *****
linux-image-amd64 set to automatically installed.
using disk driver: virtio_blk
using disk driver: virtio-pci
using net driver: virtio_net
using net driver: virtio-pci
Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [33 B]
Get:5 file:/etc/apt/mirrors/debian-security.list Mirrorlist [39 B]
Get:2 https://mirror.nju.edu.cn/debian bookworm InRelease [151 kB]
Get:3 https://mirror.nju.edu.cn/debian bookworm-updates InRelease [55.4 kB]
Get:4 https://mirror.nju.edu.cn/debian bookworm-backports InRelease [59.4 kB]
Get:7 https://mirror.nju.edu.cn/debian bookworm/main Sources [9496 kB]
Get:8 https://mirror.nju.edu.cn/debian bookworm/main amd64 Packages [8792 kB]
Get:9 https://mirror.nju.edu.cn/debian bookworm/main Translation-en [6109 kB]
Get:10 https://mirror.nju.edu.cn/debian bookworm-updates/main Sources [16.2 kB]
Get:11 https://mirror.nju.edu.cn/debian bookworm-updates/main amd64 Packages [13.5 kB]
Get:12 https://mirror.nju.edu.cn/debian bookworm-updates/main Translation-en [16.0 kB]
Get:13 https://mirror.nju.edu.cn/debian bookworm-backports/main Sources [328 kB]
Get:14 https://mirror.nju.edu.cn/debian bookworm-backports/main amd64 Packages [287 kB]
Get:15 https://mirror.nju.edu.cn/debian bookworm-backports/main Translation-en [239 kB]
Get:6 https://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:16 https://deb.debian.org/debian-security bookworm-security/main Sources [145 kB]
Get:17 https://deb.debian.org/debian-security bookworm-security/main amd64 Packages [246 kB]
Get:18 https://deb.debian.org/debian-security bookworm-security/main Translation-en [147 kB]
Fetched 26.1 MB in 36s (731 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
firmware-linux-free linux-image-6.1.0-31-cloud-amd64
Suggested packages:
linux-doc-6.1 debian-kernel-handbook grub-pc | grub-efi-amd64 | extlinux
The following NEW packages will be installed:
firmware-linux-free linux-image-6.1.0-31-cloud-amd64 linux-image-cloud-amd64
0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 26.0 MB of archives.
After this operation, 107 MB of additional disk space will be used.
Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [33 B]
Get:2 file:/etc/apt/mirrors/debian-security.list Mirrorlist [39 B]
Get:3 https://mirror.nju.edu.cn/debian bookworm/main amd64 firmware-linux-free all 20200122-1 [24.2 kB]
Get:4 https://deb.debian.org/debian-security bookworm-security/main amd64 linux-image-6.1.0-31-cloud-amd64 amd64 6.1.128-1 [25.9 MB]
```
/etc/apt/mirrors/debian-security.list
https://deb.debian.org/debian-security
建议国内服务器处理 Debian Security 源,避免造成因网络问题导致安装卡住
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading reinstall.sh's Debian installation and APT mirror setup, then reproduce the command in the reported Alpine environment on a Hangzhou Alibaba Cloud server. Done means Debian Security no longer stalls for domestic servers and the Debian installation completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, shell
- Domain
- networking, operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100