為解決 CN2/9929/浦東電信 機型拉取 Debian apt卡頓問題, 我們運營了内網APT源. 替換方法如下:
To better smoothen Debian apt curlling speed, we operate the Intranet apt source. You shall:
wget http://files.leikwanhost.com/apt-leikwan.sh && bash apt-leikwan.sh
我們的Debian 11系統鏡像不需要運行這個脚本. 如果遇到更改後 apt update 卡住不動的問題, 請先:
If you are running on Debian 11 OS from our template, you don’t need to run this script. If it stucks on apt update, then:
ping files.leikwanhost.com
如果提示”Unable to resolve”, 則
If it pops up “Unable to resolve”, then
grep -q "files.leikwanhost.com" /etc/hosts || echo "10.10.10.10 files.leikwanhost.com" >> /etc/hosts


没有回复内容