[CentOS] Interrupting Yum Update

Sat Oct 31 08:45:53 UTC 2009
Akemi Yagi <amyagi at gmail.com>

On Sat, Oct 31, 2009 at 12:37 AM, Lee Perez <leecajun at windstream.net> wrote:
> Hi All,
>
> Quick question, I just finished googling and found the thread that is
> dealing with the rpmdup_remover.sh script, and thanks to everyone that
> was involved in this.  I followed the following threads:
> http://www.opensubscriber.com/message/centos@centos.org/11086209.html
> http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=17166&forum=37
>
> Which lead me to the following link and the script:
>
> http://www.centos.org/modules/newbb/viewtopic.php?topic_id=10139&forum=27&post_id=32527
>
> I started an update at about  5pm on the 30th and here it is 2:30 in the
> morning on the 31st.  I want to kill this update and start over.  I
> usually get around 155 KB/s now I'm getting 455 B/s.  I do believe it is
> the mirror that I am connected to.  I just want to make sure that by
> using the above mentioned script that I am going the right way.
>
> Just looking for a little reassurance before I do it.  If I don't I
> don't think this thing will finish until sometime next week :-)  and
> that is a bit long.

If you are still in the middle of downloading, it should be safe
tostop it.  Try Control-C once and see if you get to a faster mirror.
Do the second Control-C to stop the transfer entirely.

The script you referred to will work if a yum session gets interrupted
and you end up with duplicates.  Otherwise, you can try
yum-complete-transaction (included in yum-utils) to ... er ...
complete transactions.

Akemi / toracat