[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#33049: marked as done (Apt could handle half-way-mirrored mirror sites better)



Your message dated Sun, 7 Feb 1999 18:40:48 -0700 (MST)
with message-id <[🔎] Pine.LNX.3.96.990207183954.25954O-100000@wakko>
and subject line Bug#33049: Apt could handle half-way-mirrored mirror sites better
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Ian Jackson
(administrator, Debian bugs database)

Received: (at submit) by bugs.debian.org; 8 Feb 1999 00:36:07 +0000
Received: (qmail 14956 invoked from network); 8 Feb 1999 00:36:05 -0000
Received: from unknown (HELO rd31-144.quicknet.nl) (root@195.66.31.144)
  by master.debian.org with SMTP; 8 Feb 1999 00:36:05 -0000
Received: by rd31-144.quicknet.nl
	via sendmail from stdin
	id <m109eg3-000bciC@rd31-144.quicknet.nl> (Debian Smail3.2.0.102)
	for submit@bugs.debian.org; Mon, 8 Feb 1999 01:35:51 +0100 (CET) 
Date: Mon, 8 Feb 1999 01:35:51 +0100 (CET)
From: Remco Blaakmeer <remco-blaakmeer@quicknet.nl>
X-Sender: remco@rd31-144.quicknet.nl
To: Debian Bug System <submit@bugs.debian.org>
Subject: Apt could handle half-way-mirrored mirror sites better
Message-ID: <[🔎] Pine.LNX.3.96.990208010505.11919A-100000@rd31-144.quicknet.nl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

package: apt
version: 0.1.10
severity: wishlist

Hi,

I have a request for the enhancement of the great program called Apt. I
have been using the 'apt' method for dselect for quite a long time now and
there is one thing I think could be better handled. It's mirror sites that
are not quite in sync with the main archive.

There are a few mirror sites in my country to which I have faster access
than to ftp.debian.org, so my sources.list looks like this (yes, I have a 
local mirror of non-us and I am following potato almost day-to-day):

deb ftp://ftp.nluug.nl/pub/os/Linux/distr/Debian potato main contrib non-free
deb ftp://ftp.debian.org/debian potato main contrib non-free
deb file:/home/ftp/pub/debian/debian-non-US potato/binary-$(ARCH)/
deb ftp://nonus.debian.org/debian potato main contrib non-free non-US

deb ftp://ftp.nluug.nl/pub/os/Linux/distr/Debian slink main contrib non-free
deb ftp://ftp.debian.org/debian slink main contrib non-free
deb file:/home/ftp/pub/debian/debian-non-US slink/binary-$(ARCH)/
deb ftp://nonus.debian.org/debian slink non-US

Now, it happens a lot that ftp.nluug.nl has mirrored the latest Packages
file but not the newest .deb files. Most of the time it takes a day or two
before every package I want to upgrade has found its way to the mirror. In
the mean time, apt refuses to upgrade any of the already-downloaded
packages. I can call dpkg to install them, but that is of course a
suboptimal solution.

I would like apt to be extended like this:

- If a new package is to be installed, or an installed package is to be
upgraded,
1 try to download the latest version from the first site in sources.list
that carries the latest version of the package
2 if that fails, try to download the package from the next site that has
that version of the package
3 if that fails and there are more sites that carry the same version of
the package, go to 2
4 if the package still hasn't been found, fail this package like the
current apt does

That way, I could have a mirror site which is 'close' to me at the top of
sources.list, although it isn't always in sync with master. Second would
be a site which is somewhat further away, etc. etc. And ftp.debian.org
would be the last in the list because that site is assumed to be always
in sync.

If I have been unclear in any way, please contact me.

Remco


Reply to: