Mailinglist Archive: opensuse-buildservice (219 mails)

< Previous Next >
Re: [opensuse-buildservice] Apt-get doesn't follow HTTP redirects
  • From: "Dr. Peter Poeml" <poeml@xxxxxxx>
  • Date: Mon, 11 Feb 2008 16:46:28 +0100
  • Message-id: <20080211154628.GN30274@xxxxxxx>
Hi Gianluca,

On Tue, Jan 29, 2008 at 04:13:24PM +0100, G. Massera wrote:
Dirk Stoecker ha scritto:
On Tue, 29 Jan 2008, G. Massera wrote:

If I inspect manually the HTTP 302 response, and I put directly the
hostname that mirror my repositories in this way:


all goes fine and I can use my repositories without problems. But
because the 302 is a temporary redirection, I cannot tell to my users to
use the host above!

What is the best solution to this problems ???

Point the users to
and report your problem to apt-developers again. Maybe the now change
their mind :-)

Not all Mirrors mirrors also the repositories directory... so, is not so
useful to direct users to Mirrors_Development_Build :-(

What's the exact name of the user agent which apt sends?
We could possibly grant an exception in the download redirectory, so it
doesn't send redirects for those clients.
That makes sense if we are not talking about a huge amounts of requests
each day.

But anyway... can I mirror my repositories via rsync ??

yes, you can access and mirror repositories without
problems. See for available
rsync modules.

Also, you could solve the issue by pointing your user's apt clients to For the time being it is a
complete (and mostly fresh) mirror of, and I don't
think it is a problem if all those apt clients access it directly.
It's not guaranteed to exist forever, and it might not set the caching
headers as thoughtfully as, because it is only a
stupid mirror, but for you it would be a viable option I think.

"WARNING: This bug is visible to non-employees. Please be respectful!"

SUSE LINUX Products GmbH
Research & Development
< Previous Next >
Follow Ups