how to stop yum update -

Reindl Harald h.reindl at thelounge.net
Wed Sep 5 11:02:05 UTC 2012


"killall yum" is your friend

Am 05.09.2012 12:55, schrieb Yashar Pezeshki:
> CTRL+C doesn't work for me neither! But you don't need to know the process id of yum, "kill `pidof yum`"
> will automatically replace the process id in front of the kill command. And if anything went wrong with your yum
> database, you can simply run "yum clean all" to clean your database, and any other time that you try to update your
> packages, it will be rebuild. 
> 
> On Wed, Sep 5, 2012 at 3:13 PM, Bob Goodwin - Zuni, Virginia, USA <bobgoodwin at wildblue.net
> <mailto:bobgoodwin at wildblue.net>> wrote:
> 
>     On 05/09/12 05:36, Suvayu Ali responds:
> 
>         On Wed, Sep 05, 2012 at 04:08:47AM -0400, Bob Goodwin - Zuni, Virginia, USA wrote:
> 
>                 I've run into this problem before. My ISP appears to have some early
>                 morning problem and when I start yum update it simply keeps trying
>                 to find another update. I can live with that and just try again
>                 later but there is no graceful way to tell yum to stop!
> 
>         Please do not kill it as advised in the other response to the thread.
>         You could corrupt your package database.
> 
>         You can simply hit Ctrl+c; yum/python is smart enough to under stand the
>         user is trying to cancel.  If it is downloading somehting, it will say
>         to hit Ctrl+c again within 20s to confirm (or something along those
>         lines), after the second Ctrl+c yum quits gracefully.
> 
> 
>        I wasn't able to kill it anyway since top in an another terminal
>        didn't show yum I had no PID.
> 
>        Several CTRL+c's did nothing I could see, nor did a stream of
>        perhaps ten. It just keeps trying and seems to ignore my effort to
>        stop.
> 
> 
>     -- 
>     http://www.qrz.com/db/W2BOD
> 
>     box9
> 
> 
>     -- 
>     users mailing list
>     users at lists.fedoraproject.org <mailto:users at lists.fedoraproject.org>
>     To unsubscribe or change subscription options:
>     https://admin.fedoraproject.__org/mailman/listinfo/users <https://admin.fedoraproject.org/mailman/listinfo/users>
>     Guidelines: http://fedoraproject.org/wiki/__Mailing_list_guidelines
>     <http://fedoraproject.org/wiki/Mailing_list_guidelines>
>     Have a question? Ask away: http://ask.fedoraproject.org
> 
> 
> 
> 

-- 

Reindl Harald
the lounge interactive design GmbH
A-1060 Vienna, Hofmühlgasse 17
CTO / CISO / Software-Development
p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40
icq: 154546673, http://www.thelounge.net/

http://www.thelounge.net/signature.asc.what.htm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120905/3e0343c9/attachment.sig>


More information about the users mailing list