Fedora Linux Support Community & Resources Center
  #1  
Old 12th May 2010, 02:58 PM
rana Offline
Registered User
 
Join Date: Jun 2008
Posts: 16
linuxfirefox
control-c in yum

hi!

i switched my laptop to f11, and i found that yum changed its interpretation of control-c

in other systems (Centos4 and Centos5 for instance), it switches to another download mirror. Now, in f11 it terminates yum

I like the termination thing (for some reason the double control-c to terminate it's quite tricky), but i couldn't find how to produce the old 'use other mirror'

does anybody know what key produces 'use other mirror other than the one you're using right now' ?


thanks in advance,
Rana
Reply With Quote
  #2  
Old 12th May 2010, 03:42 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 50
Posts: 1,088
windows_xp_2003firefox
Re: control-c in yum

Hello,
in /etc/yum.repos.d for each repo you need to set mirror to
enabled=1
Reply With Quote
  #3  
Old 12th May 2010, 03:45 PM
10sdassarma Offline
Registered User
 
Join Date: Feb 2010
Posts: 86
linuxfirefox
Re: control-c in yum

fastmirror plugin should automatically do this.
Reply With Quote
  #4  
Old 12th May 2010, 04:10 PM
rana Offline
Registered User
 
Join Date: Jun 2008
Posts: 16
linuxfirefox
Re: control-c in yum

Quote:
Originally Posted by scott32746 View Post
Hello,
in /etc/yum.repos.d for each repo you need to set mirror to
enabled=1
the mirrors are working, i want yum to change mirrors 'on the fly'

---------- Post added at 07:10 AM CDT ---------- Previous post was at 07:08 AM CDT ----------

Quote:
Originally Posted by 10sdassarma View Post
fastmirror plugin should automatically do this.
i do have fastmirror plugin installed, i want to manually switch to the next mirror while yum is running. It use to work that way with control-c
Reply With Quote
  #5  
Old 12th May 2010, 04:16 PM
10sdassarma Offline
Registered User
 
Join Date: Feb 2010
Posts: 86
linuxfirefox
Re: control-c in yum

rana, see this: http://osdir.com/ml/fedora-list/2010-01/msg00423.html
Reply With Quote
  #6  
Old 12th May 2010, 04:33 PM
rana Offline
Registered User
 
Join Date: Jun 2008
Posts: 16
linuxfirefox
Re: control-c in yum

Quote:
Originally Posted by 10sdassarma View Post
that message refers to the old way yum use to function: one control-c switches mirror, two control-c quits. The response refers to a plugin that i don't find in the standard repositories, nor in rpm.pbone.net. I find it in the author's page, but the most recent version is for f8


thanks,
Rana
Reply With Quote
  #7  
Old 12th May 2010, 05:18 PM
10sdassarma Offline
Registered User
 
Join Date: Feb 2010
Posts: 86
linuxfirefox
Re: control-c in yum

You can only downgrade, I'm afraid. I may write a patch to get this useful behaviour back, but don't hold your breath.
Reply With Quote
  #8  
Old 12th May 2010, 06:42 PM
rana Offline
Registered User
 
Join Date: Jun 2008
Posts: 16
linuxfirefox
Re: control-c in yum

Quote:
Originally Posted by 10sdassarma View Post
You can only downgrade, I'm afraid. I may write a patch to get this useful behaviour back, but don't hold your breath.
thank you very much for your offer, but i prefer to have a mainstream yum. It's not a big deal anyway
Reply With Quote
  #9  
Old 12th May 2010, 07:05 PM
kurtdriver Offline
Registered User
 
Join Date: Jul 2005
Location: Vancouver, Canada
Posts: 1,547
windows_xp_2003firefox
Re: control-c in yum

Ctrl-X does it for me in Fedora 13
What I'd like to know is how to kill it so I can restart it. Yum or Packagekit is always holding the lock and I end up running kill -9 pid. Sorry for hijacking the thread.

Last edited by kurtdriver; 12th May 2010 at 07:08 PM.
Reply With Quote
  #10  
Old 12th May 2010, 07:53 PM
rana Offline
Registered User
 
Join Date: Jun 2008
Posts: 16
linuxfirefox
Re: control-c in yum

Quote:
Originally Posted by kurtdriver View Post
Ctrl-X does it for me in Fedora 13
What I'd like to know is how to kill it so I can restart it. Yum or Packagekit is always holding the lock and I end up running kill -9 pid. Sorry for hijacking the thread.
control-x doesn't appear to do that in F11. It's strange, running with '-v' option, and hitting control-c during rpm download, it says: 'Trying other mirror.', and immediately yum ends
Reply With Quote
Reply

Tags
controlc, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Volume control keys on keyboard don't control volume anymore Reindeer Using Fedora 7 5th January 2010 04:07 PM
Lost volume control, internet and battery indicator from control panel on F11 gslams Using Fedora 1 15th July 2009 12:24 AM
AMD 64 X2 cpu fan control in F8? hank_le Using Fedora 2 1st January 2008 05:25 AM
Fan Control Help DaUnKnOwN Using Fedora 3 22nd August 2004 05:23 PM


Current GMT-time: 03:34 (Saturday, 23-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat