Bug#583254: apt: Should pull multiple DEB files from multiple repositories if available
Package: apt
Version: 0.7.25.3
Severity: wishlist
I have a broadband 'Net connection, and apt could utilize this by pulling
multiple DEB files in parallel when those files are available from multiple
repository mirrors in sources.list.
I looked through the bug reports for apt and saw several bandwidth LIMITING
requests, this is the opposite.
When INDIVIDUAL DEB files are available, such as from volitile, Virtualbox,
debian-multimedia or backports, those DEB files are pulled by apt in
parallel while also pulling DEB files from the standard repositories.
So at the start of a serious update/upgrade/install, I see full network
utilization until the unique repositories are finished.
But when there is more than one repository in sources.list that contains
the same DEB files, only the first listed source is utilized so only a
single DEB file is being downloaded, one at a time, even if hundreds of
mirrored standard packages are being updated.
I have more than one "official" Debian mirrors in my sources.list, thank
you apt-spy, and if different DEB files were pulled from each of them in
parallel, this would better utilize my 'Net connection, as well as
spreading the load across different mirrors.
Thank you for listening,
Curt-
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Media "";
Dir::Media::MountPath "/media/apt";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
#deb http://http.us.debian.org/debian stable main contrib non-free
#deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org squeeze/updates main contrib non-free
# New for Lenny!
#deb http://volatile.debian.org/debian-volatile squeeze/volatile main contrib non-free
# deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
# Uncomment if you want the apt-get source function to work
#deb-src http://http.us.debian.org/debian stable main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US stable non-US
deb ftp://debian.mirror.iweb.ca/debian/ squeeze main contrib non-free
deb http://debian.yorku.ca/debian/ squeeze main contrib non-free
deb http://mirror.peer1.net/debian/ squeeze main contrib non-free
#deb http://http.us.debian.org/debian/ squeeze main non-free contrib
#Unofficial Mplayer
deb http://www.debian-multimedia.org squeeze main non-free
#Backports for WICD and etc
#deb http://www.backports.org/debian lenny-backports main contrib non-free
#VirtualBox
deb http://download.virtualbox.org/virtualbox/debian lenny non-free
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt depends on:
ii debian-archive-keyring 2009.01.31 GnuPG archive keys of the Debian a
ii libc6 2.10.2-9 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.4-1 GCC support library
ii libstdc++6 4.4.4-1 The GNU Standard C++ Library v3
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none> (no description available)
ii aptitude 0.6.1.5-3 terminal-based package manager (te
ii bzip2 1.0.5-4 high-quality block-sorting file co
pn dpkg-dev <none> (no description available)
ii lzma 4.43-14 Compression method of 7z format in
ii python-apt 0.7.94.2 Python interface to libapt-pkg
-- no debconf information
Reply to: