====== Additional repositories for Yum and their cohabitation ====== <color red>yum</color> comes by default with 3 repositories: * core, contains exactly the same packages that are on your installation CD * updates, the core packages but updated on a regular basis * extras, semi-official repository maintained by volunteers (the community) But you can - and should - add other (unofficial) repositories. The most important one is Livna, it contains a lot of multimedia stuff (graphic cards drivers, mplayer, videolan, xmms plugins...). To add Livna to your Fedora Core 5, just type : <code console> # rpm -Uvh http://rpm.livna.org/livna-release-5.rpm </code> Personally I also use the Freshrpms repository. It's a bit like Livna, but contains some stuff Livna doesn't ! Type this to add it: <code console> # rpm -Uvh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/5/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm </code> Now, the problem is that these repositories are sharing a couple of packages. For example mplayer is available in both Livna and Freshrpms. This can be a problem : each version may try to install itself instead of the other one. To avoid this, we're going to set an exclude rule on Freshrpms, to tell it to ignore the mplayer packages (hence letting Livna taking care of these). Go to the <color green>/etc/yum.repos.d/</color> directory. You'll find a couple of .repo files there. That's where each repository settings are stored. Edit <color green>freshrpms.repo</color> and add this line: <file> exclude=mplayer* ffmpeg* </file> Freshrpms' packages beggining with mplayer and ffmpeg (another package shared with Livna) will be ignored by Yum. Note that you can also set a global ignore (ignore a package name from any repository), editing the <color green>/etc/yum.conf</color> file. ~~META:date created = 2006-08-26 12:57:00~~

 
blog/additional_repositories_for_yum_and_their_cohabitation.txt · Last modified: 08/03/2010 13:25 (external edit) · []
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki