定制FetchDebian镜像源需编辑其配置文件,具体步骤如下:
sudo apt update和sudo apt install fetchdebian命令安装。/etc/fetchdebian.conf,用文本编辑器(如nano)打开,可设置以下选项:
mirror:指定镜像源,如https://deb.debian.org/debian/。distribution:设置Debian版本,如bullseye。components:指定软件包组件,如main contrib non-free。architectures:设置目标架构,如amd64。output:设置下载文件输出目录,如/var/cache/fetchdebian。sudo fetchdebian命令运行,可添加sync参数进行同步。