apt-mirror failing to download all files needed for install

Bug #1782214 reported by EdwardClay
18
This bug affects 4 people
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/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 <running host architecture>
# set postmirror_script $var_path/postmirror.sh
# set run_postmirror 0
set nthreads 20
set _tilde 0
#
############# end config ##############

deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse

deb-i386 http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse

deb-i386 http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu bionic-proposed main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse

clean http://archive.ubuntu.com/ubuntu

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-setup_0.104ubuntu5_all.udeb
apt-setup-udeb_0.104ubuntu5_amd64.udeb
base-installer_1.158ubuntu4_amd64.udeb
block-modules-4.15.0-20-generic-di_4.15.0-20.21_amd64.udeb

It appears that apt-mirror is not collecting all the needed files for a version as designed.

Revision history for this message
Olaf Seibert (oseibert-sys11) wrote :

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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt-mirror (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.