解决本地APT仓库索引文件报错问题求助
解决本地APT仓库索引文件报错问题求助
大家好,我正在搭建本地Ubuntu APT镜像仓库,运行apt-mirror后遇到了卡顿情况,想请各位帮忙排查下问题。
先给大家展示我的镜像配置文件内容,执行cat /etc/apt/mirror.list得到以下信息:
root@aus-ntnx-ubuntu:/etc/apt# cat mirror.list set base_path /var/spool/apt-mirror set mirror_path $base_path/mirror set skel_path $base_path/skel set var_path $base_path/var set cleanscript $var_path/clean.sh set defaultarch amd64 set nthreads 20 set _tilde 0 deb http://archive.ubuntu.com/ubuntu noble main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu noble-backports main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu noble-security main restricted universe multiverse clean http://archive.ubuntu.com/ubuntu
配置完成后我启动了同步命令apt-mirror,得到的输出停在了这里:
root@aus-ntnx-ubuntu:/etc/apt# apt-mirror Downloading 152 index files using 20 threads... Begin time: Wed Aug 7 03:57:09 2024 [20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... ...
现在进程没有继续输出新内容,也没有报错退出,我不确定这是正常的同步过程还是出现了异常卡顿。想请教下各位,这种情况该怎么判断问题所在,有没有什么排查或解决的方法?
备注:内容来源于stack exchange,提问作者Adithya R




