[Aptitude-devel] Bug#818582: Bug#818582: aptitude cannot deal with often changing IP

David Kalnischkies david at kalnischkies.de
Wed Mar 23 13:07:17 UTC 2016


Control: reassign -1 apt
Control: retitle -1 methods cannot deal with often changing IP

On Wed, Mar 23, 2016 at 12:29:44PM +0100, Jaakov wrote:
> >aptitude doesn't use sockets directly, the download functionality
> >happens through libapt, so I don't think that we can do much about it.
> >
> >The problem also happens when using apt, I suppose?
> Yes. Can you redirect the bug report appropriately?

Grabbing for our bug-pile then. ;)


> Feh ftp://ftp.debian.org/debian testing/main Translation-fi
>   Datei konnte nicht heruntergeladen werden; Server meldet: »Failed to open
> file.  « [IP: xxx.xxx.xxx.xxx xx]
[…]
> Fehl:5 ftp://ftp.debian.org/debian testing/main amd64 libreoffice-gnome
> amd64 1:5.1.1-1
> 
>   Passiver Socket konnte nicht verbunden werden. [IP: xxx.xxx.xxx.xxx xx]

These are two distinct errors, but I would put both in the realm of
general problems with the ftp protocol (or nearly any protocol).

Have you tried http mirrors and do they have similar problems (just
change "ftp:" to "http:")? Desperate the name the "file transport
protocol" (ftp) is actually discouraged, non-default and also slower
compared to the usage of the "hypertext transfer protocol" (http).
It is a common misbelieve that ftp would be better and that many mirrors
have ftp as part of their domain name is probably not helping either.
Might be also a good moment to change to
http://httpredir.debian.org/debian
See also: https://www.debian.org/mirror


If you can't reproduce this with http I am inclined to close this
bugreport as ftp has all sorts of shortcomings compared to http and
purring development time into it (assuming we would even find someone
who would) might not be the best use of time. Assuming that this would
be even fixable – I have my doubts that changing IP midair is a good
idea in any protocol not built specifically for this usecase.


> Above, the IP was anonymized.

You don't have to – the IP is the one of the mirror and is printed
because multiple mirrors are behind the same name ftp.debian.org, so
with the IP we have a chance to figure out which mirror of the many in
the rotation is it your machine was talking to (aka: its not your IP or
otherwise a secret).


Best regards

David Kalnischkies
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20160323/e3fde61e/attachment.sig>


More information about the Aptitude-devel mailing list