[Yum] How to stop downloading?
Les Mikesell
lesmikesell at gmail.com
Wed Sep 6 13:06:44 UTC 2006
On Wed, 2006-09-06 at 03:49, Menno Smits wrote:
> seth vidal wrote:
> > On Fri, 2006-09-01 at 16:42 -0500, Les Mikesell wrote:
> >> Is there a graceful way to tell yum to stop when you realize it is
> >> not going to complete in some reasonable amount of time? By 'graceful'
> >> I mean don't retry every possible mirror for each of the remaining
> >> 200+ updates it is planning to get before actually stopping...
> >
> > yum 2.9.6 should resolve that.
> >
> > hit ctrl-c, twice, quickly.
> >
> > that will exit.
> > -sv
>
> To clarify, hitting CTRL-C once will abort the download from the current
> mirror and move to the next one. Hitting CTRL-C twice in quick
> succession will quit Yum.
What does 'quick' mean? I held the ctl-c key down, letting
the keyboard repeat happen at a rate I thought was quick (in
an xterm window ssh'd to another box on the LAN). Yum not
only retried each mirror for the current file, it cycled
through all the 200+ pending files, trying each mirror
before stopping. Even ctl-\ wouldn't stop it as you'd expect
if it followed unix traditions.
Of course I really didn't care if the downloads had completed.
In fact I would have preferred to let that continue. I just
didn't want it installing anything after realizing that it
wasn't going to complete the download until I would be gone
for the rest of the day (hence my other questions about the
--downloadonly option not available in Centos4.x)
--
Les Mikesell
lesmikesell at gmail.com
More information about the Yum
mailing list