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-free
deb-src https://archive.debian.org/debian buster main contrib non-free
deb https://archive.debian.org/debian-security buster/updates main contrib non-free
deb-src https://archive.debian.org/debian-security buster/updates main contrib non-free
deb https://archive.debian.org/debian buster-updates main contrib non-free
deb-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

意思是下载 mp4 格式的视频 和 音频, 且视频的分辨率不超过 1080p


最后

其实个人搭梯, 1G内存安装 Debian 11 / 12 是没问题的. 参考我的实验

https://zelikk.blogspot.com/2023/07/racknerd-debian-91011.html

Debian13 都发布了, 未来使用 Debian10 也许会越来越麻烦.


评论

The Hot3 in Last 30 Days

搭 Docker版 Sub-Store 带 http-meta 实现 集合订阅 测延迟 排序 筛选 生成新订阅 定时任务上传Gist

Mihomo (Clash-meta) 择优录取 url-test 自动选择能用的端口和协议

Mihomo (Clash-meta) 故障转移 fallback 自动选择能用的端口