你说的 fetchdebian 可能指下面几种情况之一,我分别说明一下,你可以对号入座:
Debian 官方仓库里 并没有叫 fetchdebian 的软件包,所以直接 apt install fetchdebian 是不行的。
常见替代方案:
sudo apt update
apt-get download 包名
只下载 .deb,不安装。
sudo apt install apt-rdepends
apt-rdepends 包名 | grep -v "^ " | xargs apt-get download
sudo apt install devscripts
包含:
dgetapt-get source该站提供的是 离线 Debian 镜像生成工具,通常是脚本形式:
git clone https://github.com/fetchdebian/fetchdebian.git
cd fetchdebian
./fetchdebian.sh
⚠️ 注意:
一个“加速 apt 下载”的工具,常被误叫成 fetchdebian:
sudo apt install apt-fast
你可以告诉我:
我可以直接给你一条最准确、能跑的命令。