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
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.
Hmm ok so I will close this for now and check the connectivity of the two hosts once again :)