[Yum] yum hangs up during file downloads and never recovers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Several months ago there was a thread about Yum hanging up during
downloads.  I don't think I saw a resolution to this and I am still
having that problem.

I have a somewhat unique system that uses a phone line to send and a
satellite dish to receive (DirecPC one way). That may cause timing or
latency issues I guess.  What happens is that file downloads basically
hang up forever.  If I do a CTRL-C and restart the Yum script enough
time I can eventually get my updates loaded.  I've attached a capture
file from my terminal session below if that helps (in this case, the
update to Open Office hung up at 1% and I aborted after waiting 10
minutes by doing a CTRL-C).

[root@mypc etc]# yum -y update
Gathering header information file(s) from server(s)
Server: Fedora Core 2 - i386 - Base
Server: Fedora Core 1 Dag Wieers' repository
Server: Macromedia flash-plugin site
Server: Fedora Core 2 - i386 - Released Updates
Finding updated packages
Downloading needed headers
openoffice.org-0-1.1.2-10 100% |=========================|  98 kB   
00:02
openoffice.org-libs-0-1.1 100% |=========================|  17 kB   
00:00
openoffice.org-i18n-0-1.1 100% |=========================| 138 kB   
00:01
xpdf-1-3.00-3.4.i386.hdr  100% |=========================| 9.9 kB   
00:00
openoffice.org-kde-0-1.1. 100% |=========================| 5.9 kB   
00:00
Resolving dependencies
Dependencies resolved
I will do the following:
[update: openoffice.org 1.1.2-10.fc2.i386]
[update: openoffice.org-libs 1.1.2-10.fc2.i386]
[update: openoffice.org-i18n 1.1.2-10.fc2.i386]
[update: xpdf 1:3.00-3.4.i386]
Downloading Packages
Getting openoffice.org-1.1.2-10.fc2.i386.rpm
openoffice.org-1.1.2-10.f   1% |                         | 480 kB  
40:32 ETA ^[[ATraceback (most recent call last):
  File "/usr/bin/yum", line 30, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum/yummain.py", line 339, in main
    clientStuff.download_packages(tsInfo)
  File "/usr/share/yum/clientStuff.py", line 1212, in download_packages
    checkfunc=(rpmUtils.checkRpmMD5, (), {'urlgraberror':1}))
  File "/usr/share/yum/clientStuff.py", line 1327, in grab
    bandwidth, conf.retries, retrycodes, checkfunc)
  File "/usr/share/yum/urlgrabber.py", line 237, in retrygrab
    progress_obj, throttle, bandwidth)
  File "/usr/share/yum/urlgrabber.py", line 343, in urlgrab
    _do_grab(filename, fo, progress_obj, raw_throttle)
  File "/usr/share/yum/urlgrabber.py", line 387, in _do_grab
    block = fo.read(bs)
  File "/usr/share/yum/keepalive.py", line 235, in read
    s = self._rbuf + self._raw_read(amt)
  File "/usr/lib/python2.3/httplib.py", line 409, in read
    s = self.fp.read(amt)
  File "/usr/lib/python2.3/socket.py", line 301, in read
    data = self._sock.recv(recv_size)
socket.error: (4, 'Interrupted system call')
[root@mypc etc]#

In addition,  is there any way to configure Yum so that it can resume a
broken download ? The Arch Linux update does this so I guess its
technically possible.  It gets discouraging to fail at the 80% point of
a 10M download and know that you will have to throw it away and start
from scratch.

Tony




[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux