在 Debian 系统里,fetchdebian 并不是一个系统自带的标准命令或常见工具,所以它通常不在系统的默认 PATH 中,也不在常见的软件包里。
你可以从以下几个方面确认和处理:
which fetchdebian
或
command -v fetchdebian
如果没有输出,说明系统里没有这个命令。
sudo find / -name fetchdebian 2>/dev/null
apt search fetchdebian
或
apt-file search fetchdebian
(需要先 apt install apt-file && apt-file update)
一般结果是:Debian 官方仓库中没有叫 fetchdebian 的包。
fetchdebian 常见于:
例如可能是类似:
git clone https://github.com/xxx/fetchdebian
你可能实际想要的是:
apt-get downloadwget / curldebootstrapfetch-url(在 d-i 安装环境中)如果你能补充一下:
fetchdebian 的我可以直接告诉你该用什么命令替代它。