yum / http proxy / downloads stop
Satish Balay
balay at fastmail.fm
Mon Apr 19 16:05:57 UTC 2004
On Sun, 18 Apr 2004, Satish Balay wrote:
>
> On Sun, 18 Apr 2004, Darrell Esau wrote:
>
> > Hello all,
> >
> > Can't seem to find anything in the archives --
> >
> > Trying to update a FC1 box behind an HTTP proxy.
> >
> > I've set http_proxy, and yum generally works except for one annoying problem:
> > Downloads of packages start well but then just stop (at some random
> > percentage). Sometimes they start again (after several minutes) .. sometimes
> > they dont. Hitting CTRL-C will sometimes wake up the transfer and it will
> > begin to transfer again (usually from 0%).
> >
> > It generally takes several attempts to get the package downloaded.
> >
> > If I download the package directly from the FTP server (just using FTP through
> > the proxy), everything works fine.
> >
> > Is this just a proxy thing, or do other people see this as well?
>
> I might have seen this - but not sure.. I know I had some problems
> with http (no proxy). Perhaps it was the same thing. Now I primarily
> use ftp urls. However I do see hangs occasionally with ftp (for eg:
> after completing a .hdr download). It just sits there. Ctrl-C snaps it
> out of it - and it continues with the next file download.
Ok.. The problem I described above happened again today. Unfortunately
I didn't use 'strace' but only '-d8' .
[root at n-gage old]# rpm -q yum
yum-2.0.7-0.20040416
% yum -d8 check-update
< worked fine>
% yum -y -d8 upgrade
<snip>
Dependencies resolved
I will do the following:
[install: kernel 2.6.5-1.327.i686]
[update: binutils 2.15.90.0.3-2.i386]
[update: syslinux 2.08-3.i386]
Downloading Packages
Download start for kernel.i686
localhdrpath= /var/cache/yum/1fast/headers/kernel-0-2.6.5-1.327.i686.hdr for kernel i686
Getting kernel-2.6.5-1.327.i686.rpm
failover: baseURL = ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/development/i386
failover: path = /Fedora/RPMS/kernel-2.6.5-1.327.i686.rpm
kernel-2.6.5-1.327.i686.r 100% |=========================| 14 MB 02:13
<freeze - hence Ctrl-C>
Download start for binutils.i386
localhdrpath= /var/cache/yum/1fast/headers/binutils-0-2.15.90.0.3-2.i386.hdr for binutils i386
Getting binutils-2.15.90.0.3-2.i386.rpm
failover: baseURL = ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/development/i386
failover: path = /Fedora/RPMS/binutils-2.15.90.0.3-2.i386.rpm
binutils-2.15.90.0.3-2.i3 100% |=========================| 2.8 MB 00:28
Download start for syslinux.i386
localhdrpath= /var/cache/yum/1fast/headers/syslinux-0-2.08-3.i386.hdr for syslinux i386
Getting syslinux-2.08-3.i386.rpm
failover: baseURL = ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/development/i386
failover: path = /Fedora/RPMS/syslinux-2.08-3.i386.rpm
syslinux-2.08-3.i386.rpm 100% |=========================| 102 kB 00:03
Creating Transaction Set
Installing: kernel.i686
localhdrpath= /var/cache/yum/1fast/headers/kernel-0-2.6.5-1.327.i686.hdr for kernel i686
Updating: binutils, i386
localhdrpath= /var/cache/yum/1fast/headers/binutils-0-2.15.90.0.3-2.i386.hdr for binutils i386
Not an install only pkg, adding to ts
[The above download completes - but no pakckages are installed -
reinvoking yum installs the new packages]
% yum -y -d8 upgrade
< snip >
Creating Transaction Set
Installing: kernel.i686
localhdrpath= /var/cache/yum/1fast/headers/kernel-0-2.6.5-1.327.i686.hdr for kernel i686
Updating: binutils, i386
localhdrpath= /var/cache/yum/1fast/headers/binutils-0-2.15.90.0.3-2.i386.hdr for binutils i386
Not an install only pkg, adding to ts
Updating: syslinux, i386
localhdrpath= /var/cache/yum/1fast/headers/syslinux-0-2.08-3.i386.hdr for syslinux i386
Not an install only pkg, adding to ts
Running test transaction:
Test transaction complete, Success!
Installing: kernel.i686
localhdrpath= /var/cache/yum/1fast/headers/kernel-0-2.6.5-1.327.i686.hdr for kernel i686
Updating: binutils, i386
localhdrpath= /var/cache/yum/1fast/headers/binutils-0-2.15.90.0.3-2.i386.hdr for binutils i386
Not an install only pkg, adding to ts
Updating: syslinux, i386
localhdrpath= /var/cache/yum/1fast/headers/syslinux-0-2.08-3.i386.hdr for syslinux i386
Not an install only pkg, adding to ts
binutils 100 % done 1/5
kernel 100 % done 2/5
syslinux 100 % done 3/5
Completing update for binutils - 4/5
Completing update for syslinux - 5/5
localhdrpath= /var/cache/yum/1fast/headers/kernel-0-2.6.5-1.327.i686.hdr for kernel i686
Kernel Updated/Installed, checking for bootloader
Grub found - making this kernel the default
Installed: kernel 2.6.5-1.327.i686
Updated: binutils 2.15.90.0.3-2.i386 syslinux 2.08-3.i386
Transaction(s) Complete
More information about the fedora-test-list
mailing list