Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384427 - Portage sometimes hangs when downloading binary packages using sftp
Summary: Portage sometimes hangs when downloading binary packages using sftp
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Binary packages support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-25 12:01 UTC by Markos Chandras (RETIRED)
Modified: 2011-09-28 00:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markos Chandras (RETIRED) gentoo-dev 2011-09-25 12:01:42 UTC
Hi, sometimes ( especially when there are lot of packages to fetch ) portage hangs when downloading a binary package using sftp protocol


Connected to XXXXXXX.
Fetching /packages/eternity/dev-libs/apr-util-1.3.12.tbz2 to /usr/portage/packages/eternity/dev-libs/apr-util-1.3.12.tbz2
/packages/eternity/dev-libs/apr-uti 100%  160KB  39.9KB/s 127.6KB/s   00:04    
 * apr-util-1.3.12.tbz2 MD5 SHA1 size ;-) ...                            [ ok ]

>>> Fetching (154 of 227) sys-apps/openrc-0.9.3-r1
Connected to XXXXXXXX.
Fetching /packages/eternity/sys-apps/openrc-0.9.3-r1.tbz2 to /usr/portage/packages/eternity/sys-apps/openrc-0.9.3-r1.tbz2
/packages/eternity/sys-apps/openrc- 100%  245KB  81.8KB/s  96.0KB/s   00:03    
 * openrc-0.9.3-r1.tbz2 MD5 SHA1 size ;-) ...                            [ ok ]

>>> Fetching (155 of 227) sys-fs/mtools-4.0.17
<stays here forever>

If I stop it and resume it i stalls again but on a different package

I am not sure how to debug it
Comment 1 Zac Medico gentoo-dev 2011-09-25 17:26:59 UTC
It just calls FETCHCOMMAND_SFTP, which is no different from how FETCHCOMMAND_* is called for any other protocol. No issues like this have been reported for any other protocol, so it seems like an issue between the sftp program and the server, or maybe the sftp program is just deadlocking with ssh-agent or something.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2011-09-28 00:28:38 UTC
Hmm ok so I will close this for now and check the connectivity of the two hosts once again :)