apt-mirror failing to download all files needed for install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-mirror (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I've configured apt-mirror to mirror bionic and xenial using the following mirror.list file.
############# config ##################
#
# set base_path /var/spool/
#
# 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 <running host architecture>
# set postmirror_script $var_path/
# set run_postmirror 0
set nthreads 20
set _tilde 0
#
############# end config ##############
deb http://
deb http://
deb http://
deb http://
deb http://
deb-i386 http://
deb-i386 http://
deb-i386 http://
deb-i386 http://
deb-i386 http://
deb http://
deb http://
deb http://
deb http://
deb http://
deb-i386 http://
deb-i386 http://
deb-i386 http://
deb-i386 http://
deb-i386 http://
clean http://
After running apt-mirror as the apt-mirror user I then attempt to perform a network install from the local mirror. When I do so I get errors in the syslog of the isntall environement stating files are missing. Here is a list of files I've manually downloaded locally to attempt to get a local network install to complete.
apt-mirror-
apt-setup-
base-installer_
block-modules-
It appears that apt-mirror is not collecting all the needed files for a version as designed.
Yes, it is also missing all files from http:// archive. ubuntu. com/ubuntu/ dists/focal/ main/installer- amd64/. Debmirror mirrors this if you give the --di option.
An additional difficulty is that the equivalent for http:// archive. ubuntu. com/ubuntu/ dists/bionic/ main/installer- amd64/current/ images/ for focal is http:// archive. ubuntu. com/ubuntu/ dists/focal/ main/installer- amd64/current/ legacy- images/ because for some reason Ubuntu decided for an incompatible change.