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

Bug#56982: marked as done (apt: multiple sources for one file always fetches the first one found)



Your message dated Fri, 4 Feb 2000 12:11:09 -0700 (MST)
with message-id <Pine.LNX.3.96.1000204120942.7791D-100000@wakko.deltatee.com>
and subject line Bug#56982: apt: multiple sources for one file always fetches the first one found
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 am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 4 Feb 2000 08:46:05 +0000
Received: (qmail 18349 invoked from network); 4 Feb 2000 08:46:05 -0000
Received: from marilyn.plannet.de (root@194.162.80.3)
  by master.debian.org with SMTP; 4 Feb 2000 08:46:05 -0000
Received: from leona.planNET.de (leona.plannet.de [194.162.80.40])
	by marilyn.planNET.de (8.8.8/8.8.8) with ESMTP id JAA16802;
	Fri, 4 Feb 2000 09:46:03 +0100
Received: from mh by leona.planNET.de with local (Exim 3.12 #1 (Debian))
	id 12GeNP-00050Z-00; Fri, 04 Feb 2000 09:46:03 +0100
From: debian-bugs@marc-haber.de
Subject: apt: multiple sources for one file always fetches the first one found
To: submit@bugs.debian.org
X-Mailer: bug 3.2.9
Message-Id: <E12GeNP-00050Z-00@leona.planNET.de>
Sender: Marc Haber <mh@plannet.de>
Date: Fri, 04 Feb 2000 09:46:03 +0100

Package: apt
Version: 0.3.16
Severity: wishlist

Hi!

My sources.list is like this:
deb ftp://ftp.rz.uni-karlsruhe.de/pub/linux/mirror.debian potato main contrib non-free
deb ftp://basis.globe.de/debian potato main contrib non-free
deb ftp://ftp.uni-stuttgart.de/pub/mirror/ftp.de.debian.org/pub/debian potato main contrib non-free

All three mirrors are available, but the first two are currently de-synced.
So I added ftp.uni-stuttgart.de which has a current archive but is much
slower than the first two.

When I use apt-get to install new software, apt pulls the package from ftp.
rz.uni-karlsruhe.de even if ftp.uni-stuttgart.de does have a newer package.
I'd like to have apt notice that and ask me which version of the file it
should install.

That way, one could have maximum performance for packages available on a
"near" server while only resorting to a server that is more far away when
that server has a later version.

Greetings
Marc

-- System Information
Debian Release: potato
Kernel Version: Linux leona 2.2.13 #1 Sat Nov 20 12:44:19 EST 1999 i586 unknown

Versions of the packages apt depends on:
ii  libc6          2.1.2-12       GNU C Library: Shared libraries and Timezone
ii  libstdc++2.10  2.95.2-5       The GNU stdc++ library
---------------------------------------
Received: (at 56982-done) by bugs.debian.org; 4 Feb 2000 19:10:49 +0000
Received: (qmail 31199 invoked from network); 4 Feb 2000 19:10:45 -0000
Received: from wakko.powersurfr.com (HELO wakko.deltatee.com) (mail@24.108.53.97)
  by master.debian.org with SMTP; 4 Feb 2000 19:10:45 -0000
Received: from localhost (wakko.deltatee.com) [127.0.0.1] (jgg)
	by wakko.deltatee.com with smtp (Exim 2.11 #1)
	id 12Go8M-00023E-00 (Debian); Fri, 4 Feb 2000 12:11:10 -0700
Date: Fri, 4 Feb 2000 12:11:09 -0700 (MST)
From: Jason Gunthorpe <jgg@ualberta.ca>
X-Sender: jgg@wakko.deltatee.com
To: debian-bugs@marc-haber.de, 56982-done@bugs.debian.org
cc: APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#56982: apt: multiple sources for one file always fetches the first one found
In-Reply-To: <E12GeNP-00050Z-00@leona.planNET.de>
Message-ID: <Pine.LNX.3.96.1000204120942.7791D-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Fri, 4 Feb 2000 debian-bugs@marc-haber.de wrote:

> All three mirrors are available, but the first two are currently de-synced.
> So I added ftp.uni-stuttgart.de which has a current archive but is much
> slower than the first two.

Sounds like it is desync'd too.
 
> When I use apt-get to install new software, apt pulls the package from ftp.
> rz.uni-karlsruhe.de even if ftp.uni-stuttgart.de does have a newer package.
> I'd like to have apt notice that and ask me which version of the file it
> should install.

Nope, it always pulls the newer package, the problem must be that
stuttgart has an inconstent package file or you are wrong about what is
newer.

You can use 'apt-cache showpkg foo' to see versions and site availablility
for each package.

> That way, one could have maximum performance for packages available on a
> "near" server while only resorting to a server that is more far away when
> that server has a later version.

This is exactly how it works now.

Jason


Reply to: