LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-28-2009, 09:59 AM   #1
kromberg
Member
 
Registered: Feb 2007
Location: Colorado
Distribution: FC6, FC7 x86_64
Posts: 218

Rep: Reputation: 30
Switching repositories


How bad would it be to switch repositories? I have been using freshrpms for a while, but I see rpmfusion has newer version of several packages I use frequently. Can I remove the freshrpms repository, add the rpmfusion repository, and then do a yum update? Or what that just all hell to break loss?
 
Old 01-28-2009, 12:55 PM   #2
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
You can add rpmfusion repo without a problem.For Fedora 8,9 or 10 like this;
Code:
su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
Freshrpms,Livna and Dribble are now merged together into rpmfusion,so you should remove Freshrpms.
To completely remove access to a repository:
  1. Delete the relevant file from /etc/yum.repos.d
  2. Delete the cache directory from /var/cache/yum

Protect your repository so you do not break your Fedora installation;
Code:
su -c 'yum -y install yum-protectbase'
su -c 'perl -i -pe "s/(\[.*\])/\1\nprotect=yes/" /etc/yum.repos.d/{fedora*,rpmfusion*}'

Last edited by alan_ri; 01-28-2009 at 05:25 PM. Reason: grammar
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using the repositories ankscorek Ubuntu 5 02-11-2008 04:29 AM
repositories mariotski SUSE / openSUSE 2 04-14-2007 09:03 PM
repositories mighty_falcon Debian 2 07-17-2006 01:59 PM
KDE 3.3 Bad Monitor Switching on Desktop Switching Inchoate Linux - Software 1 05-25-2005 02:00 PM
Repositories ac_dispatcher Fedora 4 11-10-2003 06:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration