Debian10 apt update问题 更新软件源 2025-8-11
不知道现在还有多少人在用 Debian10
是不是觉得自己的VPS内存太小, 不敢用 Debian 11 / 12
我今天突发奇想, 拿一个 Racknerd 的 小内存VPS 重装成 Debian10 看今时今日(2025-8-11)用 Debian10 搭梯有没有什么问题.
一开始 apt update 报错, 我想到了以前的经验
apt update --allow-releaseinfo-change
apt dist-upgrade
但是发现这样操作之后 还是 apt update 不成功.
再继续搜索了一些资料
需要编辑软件源文件
/etc/apt/sources.list
原来的文件内容全部删掉, 修改为
deb https://archive.debian.org/debian buster main contrib non-freedeb-src https://archive.debian.org/debian buster main contrib non-freedeb https://archive.debian.org/debian-security buster/updates main contrib non-freedeb-src https://archive.debian.org/debian-security buster/updates main contrib non-freedeb https://archive.debian.org/debian buster-updates main contrib non-freedeb-src https://archive.debian.org/debian buster-updates main contrib non-free
然后安装证书
apt install debian-archive-keyring
就可以正常安装其它软件了.
我试了以下这些都没问题
caddy
v2ray
xray
hysteria2
aria2
go编译 (naive caddy)
python3 (telegram bot)
node.js (酒馆SillyTavern)
用到我自己的一键脚本项目
https://github.com/crazypeace/v2ray_wss
https://github.com/crazypeace/xray-vless-reality
https://github.com/crazypeace/hy2
https://github.com/crazypeace/ccaa
https://github.com/crazypeace/naive
https://github.com/crazypeace/keyword_alert_bot
BTW
装warp的时候, 不成功. 需要修改 Endpoint
如果你是用的 Fscarmen 的脚本
那么修改如下
sed -i "s/Endpoint.*/Endpoint = engage.cloudflareclient.com:4500/" /etc/wireguard/warp.conf
然后再尝试在脚本的菜单中启用warp
yt-dlp 最低需要 python 3.9
而 Debian10 官方源 apt 里面最高只有 3.7
需要手动安装高版本的python, 具体的就不写了, 问google或gpt, 遍地是教程.
我采用的方案是 pyenv 安装了 3.9 可以正常使用 yt-dlp
ffmpeg
Debian10官方的ffmpeg版本较低, 在yt-dlp下载av1相关格式时, 最终会合并失败.
可以指定下载mp4格式的, 如
yt-dlp -f "bestvideo[ext=mp4][height<=1080]+bestaudio[ext=m4a]" --merge-output-format mp4 https://www.youtube.com/watch?v=XxXxXxXxXxXx
最后
其实个人搭梯, 1G内存安装 Debian 11 / 12 是没问题的. 参考我的实验
https://zelikk.blogspot.com/2023/07/racknerd-debian-91011.html
Debian13 都发布了, 未来使用 Debian10 也许会越来越麻烦.
评论
发表评论