你指的应该是 fetchec2 / fetchmail,不过 Debian 下最常见的相关工具是 fetchmail(用来从 POP3/IMAP 拉取邮件)。如果你说的是 fetchdebian(并不存在于官方仓库),那大概率是误解。
下面分别说明:
fetchmail(最常见)sudo apt update
sudo apt install fetchmail
配置文件:~/.fetchmailrc
poll mail.example.com
protocol POP3
user "youruser"
password "yourpass"
is localuser
keep
修改权限:
chmod 600 ~/.fetchmailrc
fetchmail -v
后台运行:
fetchmail -d 300 # 每 300 秒拉一次
fetchdebian 的工具⚠️ Debian 官方仓库中没有 fetchdebian 这个包
可能的情况:
fetch-debian.sh)如果是:
sudo apt install debootstrap
sudo apt install apt-mirror
wget https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-12.x.x-amd64-netinst.iso
你可以补充:
fetchdebian 这个名字?我可以直接给你准确的安装命令。