[Yum] yum cancelling doesn't work ?

Paul Dickson dickson at permanentmail.com
Mon Aug 9 01:34:55 UTC 2004


On Sat, 7 Aug 2004 16:29:22 +0200, dan1 wrote:

> Hi to all,
> 
> I tried to cancel the execution of yum while it was downloading something
> (with ctrl-c), but it wasn't possible.
> I find that annoying. Is this behaviour planned, or is it a bug ?
> I am working on centOS 3.1, i386.
> 
> If you need to forbid this possibility during the installation, you could
> perhaps allow it during the download process.
> 
> Finally, it has stopped after having downloaded everything, but the
> /var/run/yum.pid has been left after the cancel, and I wasn't able to run
> yum anymore. Now I just deleted this file and it seems OK.
> Perhaps there is also a little bug this way.

What version of yum and python are you using?

The latest version I got from freshrpms aborts everything on a Ctl-C, with
about 20 lines of a stack trace.  Previous versions would restart a
download unless I pressed Ctl-C several times quickly.

	-Paul




More information about the Yum mailing list