[Yum] Re: yum update stalling?

morgan read mstuff at pl.net
Sat Aug 27 00:17:27 UTC 2005


OOops - seems I'm in good company!
"timeout=300" seems to fix this for me too...
Big thanks.
Regards,
Morgan.

Morgan Read wrote:
> Hi list,
> Using yum recently has been very frustrating.  (Perhaps since I moved to
> fc4; perhaps since I had a rather nasty freeze trying to put my laptop to
> sleep - both about the same time and perhaps neither relavent.)
> 
> Here's the output of the last update session I ran (much like others
> recently) and following a copy of my yum.conf file.  I ran "retries=0", so
> it should just keep on trying?
> 
> Any ideas would be realy appreciated.  I'm on a modem, rrrrh!, and try to
> run yum overnight.
> 
> Regards,
> Morgan.
> 
> ########################
> [root at morgansmachine ~]# yum update
> Setting up Update Process
> Setting up repositories
> updates-released          100% |=========================|  951 B    00:00
> Reading repository metadata in from local files
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Package openoffice.org-draw.i386 1:1.9.117-3.1.0.fc4 set to be updated
> ---> Package tar.i386 0:1.15.1-8.FC4 set to be updated
> ---> Package openoffice.org-math.i386 1:1.9.117-3.1.0.fc4 set to be updated
> ---> Package openoffice.org-pyuno.i386 1:1.9.117-3.1.0.fc4 set to be updated
> ---> Package openoffice.org-core.i386 1:1.9.117-3.1.0.fc4 set to be updated
> ---> Package system-config-bind.noarch 0:4.0.0-30_FC4 set to be updated
> ---> Package openoffice.org-impress.i386 1:1.9.117-3.1.0.fc4 set to be updated
> ---> Package openoffice.org-writer.i386 1:1.9.117-3.1.0.fc4 set to be updated
> ---> Package doxygen.i386 1:1.4.4-0.fc4.1 set to be updated
> ---> Package openoffice.org-calc.i386 1:1.9.117-3.1.0.fc4 set to be updated
> ---> Package openoffice.org-javafilter.i386 1:1.9.117-3.1.0.fc4 set to be
> updated
> ---> Package openoffice.org-xsltfilter.i386 1:1.9.117-3.1.0.fc4 set to be
> updated
> ---> Package openoffice.org-graphicfilter.i386 1:1.9.117-3.1.0.fc4 set to be
> updated
> ---> Package redhat-rpm-config.noarch 0:8.0.34-1.1 set to be updated
> --> Running transaction check
> 
> Dependencies Resolved
> 
> =============================================================================
>  Package                 Arch       Version          Repository        Size
> =============================================================================
> Updating:
>  doxygen                 i386       1:1.4.4-0.fc4.1  updates-released  2.2 M
>  openoffice.org-calc     i386       1:1.9.117-3.1.0.fc4  updates-released
> 6.6 M openoffice.org-core     i386       1:1.9.117-3.1.0.fc4
> updates-released   78 M openoffice.org-draw     i386
> 1:1.9.117-3.1.0.fc4  updates-released  1.0 M openoffice.org-graphicfilter
> i386       1:1.9.117-3.1.0.fc4  updates-released  160 k
>  openoffice.org-impress  i386       1:1.9.117-3.1.0.fc4  updates-released
> 1.6 M openoffice.org-javafilter  i386       1:1.9.117-3.1.0.fc4
> updates-released  119 k
>  openoffice.org-math     i386       1:1.9.117-3.1.0.fc4  updates-released
> 1.3 M openoffice.org-pyuno    i386       1:1.9.117-3.1.0.fc4
> updates-released  117 k openoffice.org-writer   i386
> 1:1.9.117-3.1.0.fc4  updates-released  2.8 M openoffice.org-xsltfilter  i386
>       1:1.9.117-3.1.0.fc4  updates-released   63 k
>  redhat-rpm-config       noarch     8.0.34-1.1       updates-released   41 k
>  system-config-bind      noarch     4.0.0-30_FC4     updates-released  4.6 M
>  tar                     i386       1.15.1-8.FC4     updates-released  734 k
> 
> Transaction Summary
> =============================================================================
> Install      0 Package(s)
> Update      14 Package(s)
> Remove       0 Package(s)
> Total download size: 99 M
> Is this ok [y/N]: y
> Downloading Packages:
> (1/6): openoffice.org-cor 100% |=========================| 224 kB    00:51
> http://www.gtlib.cc.gatech.edu/pub/fedora.redhat/linux/core/updates/4/i386/openoffice.org-core-1.9.117-3.1.0.fc4.i386.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> (1/6): openoffice.org-cor 100% |=========================| 7.0 MB    26:09
> ftp://ftp.wicks.co.nz/pub/linux/dist/fedora/updates/4/i386/openoffice.org-core-1.9.117-3.1.0.fc4.i386.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> (1/6): openoffice.org-cor 100% |=========================| 312 kB    01:08
> http://mirror.clarkson.edu/pub/distributions/fedora/linux/core/updates/4/i386/openoffice.org-core-1.9.117-3.1.0.fc4.i386.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> (1/6): openoffice.org-cor 100% |=========================| 232 kB    00:59
> ftp://ftp.planetmirror.com/pub/fedora/linux/updates/4/i386/openoffice.org-core-1.9.117-3.1.0.fc4.i386.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> (1/6): openoffice.org-cor 100% |=========================| 328 kB    01:14
> http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/openoffice.org-core-1.9.117-3.1.0.fc4.i386.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> (1/6): openoffice.org-cor 100% |=========================| 240 kB    01:16
> http://gulus.usherbrooke.ca/pub/distro/fedora/linux/core/updates/4/i386/openoffice.org-core-1.9.117-3.1.0.fc4.i386.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> (1/6): openoffice.org-cor 100% |=========================| 264 kB    01:17
> http://public.www.planetmirror.com/pub/fedora/linux/updates/4/i386/openoffice.org-core-1.9.117-3.1.0.fc4.i386.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> (2/6): system-config-bind 100% |=========================| 232 kB    01:25
> http://www.gtlib.cc.gatech.edu/pub/fedora.redhat/linux/core/updates/4/i386/system-config-bind-4.0.0-30_FC4.noarch.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> (2/6): system-config-bind 100% |=========================| 136 kB    00:45
> ftp://ftp.wicks.co.nz/pub/linux/dist/fedora/updates/4/i386/system-config-bind-4.0.0-30_FC4.noarch.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> (2/6): system-config-bind 100% |=========================| 312 kB    01:07
> http://mirror.clarkson.edu/pub/distributions/fedora/linux/core/updates/4/i386/system-config-bind-4.0.0-30_FC4.noarch.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> ftp://ftp.planetmirror.com/pub/fedora/linux/updates/4/i386/system-config-bind-4.0.0-30_FC4.noarch.rpm:
> [Errno 4] IOError: [Errno ftp error] Requested Range Not Satisfiable
> Trying other mirror.
> (2/6): system-config-bind 100% |=========================| 240 kB    01:09
> http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/system-config-bind-4.0.0-30_FC4.noarch.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> (2/6): system-config-bind 100% |=========================| 352 kB    01:50
> http://gulus.usherbrooke.ca/pub/distro/fedora/linux/core/updates/4/i386/system-config-bind-4.0.0-30_FC4.noarch.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> (2/6): system-config-bind 100% |=========================| 264 kB    01:25
> http://public.www.planetmirror.com/pub/fedora/linux/updates/4/i386/system-config-bind-4.0.0-30_FC4.noarch.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> (3/6): openoffice.org-imp 100% |=========================| 192 kB    00:57
> http://www.gtlib.cc.gatech.edu/pub/fedora.redhat/linux/core/updates/4/i386/openoffice.org-impress-1.9.117-3.1.0.fc4.i386.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> (3/6): openoffice.org-imp 100% |=========================| 232 kB    01:25
> ftp://ftp.wicks.co.nz/pub/linux/dist/fedora/updates/4/i386/openoffice.org-impress-1.9.117-3.1.0.fc4.i386.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> (3/6): openoffice.org-imp 100% |=========================|  51 kB    00:10
> (4/6): openoffice.org-wri 100% |=========================| 296 kB    01:08
> http://mirror.clarkson.edu/pub/distributions/fedora/linux/core/updates/4/i386/openoffice.org-writer-1.9.117-3.1.0.fc4.i386.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> ftp://ftp.planetmirror.com/pub/fedora/linux/updates/4/i386/openoffice.org-writer-1.9.117-3.1.0.fc4.i386.rpm:
> [Errno 4] IOError: [Errno ftp error] Requested Range Not Satisfiable
> Trying other mirror.
> (4/6): openoffice.org-wri 100% |=========================| 416 kB    01:51
> http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/openoffice.org-writer-1.9.117-3.1.0.fc4.i386.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> (4/6): openoffice.org-wri 100% |=========================| 224 kB    01:06
> http://gulus.usherbrooke.ca/pub/distro/fedora/linux/core/updates/4/i386/openoffice.org-writer-1.9.117-3.1.0.fc4.i386.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> (4/6): openoffice.org-wri 100% |=========================| 751 kB    02:43
> (5/6): doxygen-1.4.4-0.fc 100% |=========================| 240 kB    00:54
> http://public.www.planetmirror.com/pub/fedora/linux/updates/4/i386/doxygen-1.4.4-0.fc4.1.i386.rpm:
> [Errno 4] Socket Error: timed out
> Trying other mirror.
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 15, in ?
>     yummain.main(sys.argv[1:])
>   File "/usr/share/yum-cli/yummain.py", line 149, in main
>     base.doTransaction()
>   File "/usr/share/yum-cli/cli.py", line 592, in doTransaction
>     problems = self.downloadPkgs(downloadpkgs)
>   File "__init__.py", line 565, in downloadPkgs
>   File "repos.py", line 605, in get
>   File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 414, in
> urlgrab
>     return self._mirror_try(func, url, kw)
>   File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 392, in
> _mirror_try
>     mirrorchoice = self._get_mirror(gr)
>   File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 290, in
> _get_mirror
>     return gr.mirrors[gr._next]
> IndexError: list index out of range
> [root at morgansmachine ~]#
> ########################
> 
> yum.conf:
> 
> ########################
> [main]
> cachedir=/var/cache/yum
> debuglevel=2
> errorlevel=2
> logfile=/var/log/yum.log
> pkgpolicy=newest
> distroverpkg=fedora-release
> tolerant=1
> exactarch=1
> retries=0
> keepalive=1
> gpgcheck=1
> #exclude=kernel
> 
> 
> ####################
> ## Local Packages ##
> ####################
> 
> # These are directories with locally available rpms.  Remember to run
> # 'createrepo .' when new rpms get added, so that the repodata/ subdir needed
> # by yum is updated.
> 
> [local]
> name=Local Packages
> baseurl=file:///usr/local/rpms+binpkgs=yumrepo
> enabled=0
> gpgcheck=0
> 
> ##################
> ## Basic Fedora ##
> ##################
> 
> [base]
> name=Fedora Core $releasever - $basearch - Base
> baseurl=ftp://ftp.wicks.co.nz/pub/linux/dist/fedora/$releasever/$basearch/os/
>   ftp://ftp.planetmirror.com/pub/fedora/linux/core/$releasever/$basearch/os/
> 
> http://public.www.planetmirror.com/pub/fedora/linux/core/$releasever/$basearch/os/
> 
> http://gulus.usherbrooke.ca/pub/distro/fedora/linux/core/$releasever/$basearch/os/
> 
> http://mirror.clarkson.edu/pub/distributions/fedora/linux/core/$releasever/$basearch/os/
> 
> http://www.gtlib.cc.gatech.edu/pub/fedora.redhat/linux/core/$releasever/$basearch/os/
> 
> http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
> enabled=0
> gpgcheck=1
> gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/RPM-GPG-KEY-fedora
> 
> #[base-debuginfo]
> #name=Fedora Core $releasever - $basearch - Debug Info
> #baseurl=http://gulus.usherbrooke.ca/pub/distro/fedora/linux/core/$releasever/$basearch/debug/
> #
> http://mirror.clarkson.edu/pub/distributions/fedora/linux/core/$releasever/$basearch/debug/
> #
> http://www.gtlib.cc.gatech.edu/pub/fedora.redhat/linux/core/$releasever/$basearch/debug/
> ##
> http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
> ##gpgcheck=1
> 
> [updates-released]
> name=Fedora Core $releasever - $basearch - Released Updates
> baseurl=ftp://ftp.wicks.co.nz/pub/linux/dist/fedora/updates/$releasever/$basearch/
>   ftp://ftp.planetmirror.com/pub/fedora/linux/updates/$releasever/$basearch/
> 
> http://public.www.planetmirror.com/pub/fedora/linux/updates/$releasever/$basearch/
> 
> http://mirror.clarkson.edu/pub/distributions/fedora/linux/core/updates/$releasever/$basearch/
> 
> http://www.gtlib.cc.gatech.edu/pub/fedora.redhat/linux/core/updates/$releasever/$basearch/
> 
> http://gulus.usherbrooke.ca/pub/distro/fedora/linux/core/updates/$releasever/$basearch/
> 
> http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
> enabled=1
> gpgcheck=1
> gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/RPM-GPG-KEY-fedora
> 
> 
> #[updates-testing]
> #name=Fedora Core $releasever - $basearch - Unreleased Updates
> #baseurl=ftp://ftp.wicks.co.nz/pub/linux/dist/fedora/updates/testing/$releasever/$basearch/
> #
> http://mirror.clarkson.edu/pub/distributions/fedora/linux/core/updates/testing/$releasever/$basearch/
> #
> http://www.gtlib.cc.gatech.edu/pub/fedora.redhat/linux/core/updates/testing/$releasever/$basearch/
> #
> http://gulus.usherbrooke.ca/pub/distro/fedora/linux/core/updates/testing/$releasever/$basearch/
> ##
> http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/
> #gpgcheck=1
> 
> ###################
> ## Fedora Extras ##
> ###################
> 
> [extras]
> name=Fedora Extras - $releasever - $basearch
> baseurl=ftp://ftp.planetmirror.com/pub/fedora/linux/extras/$releasever/$basearch/
> 
> http://public.www.planetmirror.com/pub/fedora/linux/extras/$releasever/$basearch/
> 
> http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
> gpgcheck=1
> gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras
> enabled=0
> 
> [extras-testing]
> name=Fedora Extras Test Updates - $releasever - $basearch
> baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/testing/$releasever/$basearch/
> gpgcheck=1
> gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras
> enabled=0
> 
> [extras-debug]
> name=Fedora Extras - $releasever - $basearch - Debugging packages
> baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/debug/
> gpgcheck=1
> gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras
> enabled=0
> 
> 
> ##############
> ## Raw Hide ##
> ##############
> #
> #[fedora-rawhide-devel]
> #name=Fedora Core $basearch - Raw Hide Development
> #baseurl=http://public.www.planetmirror.com/pub/fedora/linux/development/$basearch/
> #enabled=1
> ########################
> 


-- 
Morgan Read
<mailto:mstuffATplDOTnet>

get a life; GET FIREFOX!
<www.getfirefox.com>
WHY ME?  Read on:
<http://www.theregister.co.uk/2004/06/28/cert_ditch_explorer/>
<http://www.theregister.co.uk/2004/09/13/german_ie_jitters/>



More information about the Yum mailing list