Comment 26 for bug 314212

Revision history for this message
Alex Krastelev (alex-netrc) wrote :

Here is the reason for apport timeouts:
apt package ( imported by apport/packaging_impl.py) sets default timeout to 2 seconds, this seems to be too short for apport uploads.

in /usr/lib/python2.5/site-packages/apt/package.py
...
# Set a timeout for the changelog download
socket.setdefaulttimeout(2)
...

***This timeout must be increased.***

I wonder whether this timeout changed recently ?
Could anyone with 8.04 or 8.10 check if this timeout is 2 seconds, too ?
(please check in /usr/lib/python2.5/site-packages/apt/package.py)