Edit Info Other
Login

Diff for "Configuration"

Differences between revisions 3 and 6 (spanning 3 versions)
Revision 3 as of 2008-11-04 12:23:49
Size: 2882
Editor: sunset06
Comment:
Revision 6 as of 2008-11-05 15:54:38
Size: 4247
Comment: Merged upgrade from Freshrpms and Livna
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Upgrading from Livna == == Upgrading from Freshrpms or Livna ==
Line 3: Line 3:
All users that installed Livna properly (e.g. by installing the ''livna-release'' package) will get RPM Fusion free and nonfree repositories enabled automatically.

== Upgrading from Freshrpms ==

All users that installed Freshrpms properly (e.g. by installing the ''freshrpms-release'' package) will get RPM Fusion free and nonfree repositories enabled automatically.
All users that installed Freshrpms (e.g. by installing the ''freshrpms-release'' package) or Livna (e.g. by installing the ''livna-release'' package) properly will get RPM Fusion free and nonfree repositories enabled automatically.
Line 22: Line 18:
If you want to enable access via yum to the '''nonfree''' repository, either:
Line 25: Line 20:
 1. Click [[http://download1.rpmfusion.org/free/fedora/rpmfusion-nonfree-release-stable.noarch.rpm|rpmfusion-nonfree-release]]  1. Click [[http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm|rpmfusion-nonfree-release]]
Line 57: Line 52:

== Enabling other Third-Party Repositories ==

/!\ RPM Fusion is specifically designed to work with Fedora '''only'''. Mixing with other [[FedoraThirdPartyRepos|third-party RPM repositories]] can very easily lead to problems. '''''Enable them at you own risk!'''''

In this case, you should seriously consider using the '''priorities''' yum plugin to enforce ordered protection of repositories. Packages installed from repositories with a higher priority will never be upgraded with packages from repositories with a lower priority. The priorities are also in effect when a new package is installed - if a package is in more than one repository, it will be installed from the repository with the highest priority.

To install the priorities plugin, use the following command:

{{{
yum install yum-priorities
}}}

To enable this plugin, make sure that you have ''plugins=1'' in '''/etc/yum.conf''' and verify that the '''/etc/yum/pluginconf.d/priorities.conf''' file has the following content:

{{{
[main]
enabled=1
}}}

If you want the plugin to protect high-priority repositories against obsoletes in low-priority repositories, enable the ''check_obsoletes'' boolean:

{{{
check_obsoletes=1
}}}

You can add priorities to repositories by adding the line:

{{{
priority=N
}}}

to a repository entry, where N is an integer number from 1 to 99. The default priority for repositories is 99. The repositories with the lowest number have the highest priority.

You should give a very high priority to Fedora and RPM Fusion repositories.

Upgrading from Freshrpms or Livna

All users that installed Freshrpms (e.g. by installing the freshrpms-release package) or Livna (e.g. by installing the livna-release package) properly will get RPM Fusion free and nonfree repositories enabled automatically.

Installing Free and Non-Free Repositories

Installation can be done using either using a web browser, or via the command line.

Graphical Setup via firefox web browser and Package Kit

To enable access via yum to the free repository:

  1. Open a web browser window
  2. Click rpmfusion-free-release

  3. If you are asked where to save the rpmfusion-free-release-stable.noarch.rpm choose the desktop and click save. When complete, view the download window, and double-click the downloaded rpmfusion-free-release-stable.noarch.rpm file

  4. Package Kit will ask Do you want to install this file ?. Click OK to begin install.

  5. The install should go through various testing, and installing stages, and then complete.

To enable access via yum to the nonfree repository:

  1. Open a web browser window
  2. Click rpmfusion-nonfree-release

  3. If you are asked where to save the rpmfusion-nonfree-release-stable.noarch.rpm choose the desktop and click save. When complete, view the download window, and double-click the downloaded rpmfusion-nonfree-release-stable.noarch.rpm file

  4. Package Kit will ask Do you want to install this file ?. Click OK to begin install.

  5. The install should go through various testing, and installing stages, and then complete.

Command Line Setup using rpm

To enable access via yum to the free repository, use the following command as root:

rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm

If you want to enable access to the nonfree repository as well, you also need to type this command as root:

rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

Rawhide

If you installed a Fedora Beta or you use Rawhide then use the following command to enable RPM Fusion free for rawhide:

rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm 

And also this one if you want to use non-free too:

rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm

Enabling other Third-Party Repositories

/!\ RPM Fusion is specifically designed to work with Fedora only. Mixing with other third-party RPM repositories can very easily lead to problems. Enable them at you own risk!

In this case, you should seriously consider using the priorities yum plugin to enforce ordered protection of repositories. Packages installed from repositories with a higher priority will never be upgraded with packages from repositories with a lower priority. The priorities are also in effect when a new package is installed - if a package is in more than one repository, it will be installed from the repository with the highest priority.

To install the priorities plugin, use the following command:

yum install yum-priorities

To enable this plugin, make sure that you have plugins=1 in /etc/yum.conf and verify that the /etc/yum/pluginconf.d/priorities.conf file has the following content:

[main]
enabled=1

If you want the plugin to protect high-priority repositories against obsoletes in low-priority repositories, enable the check_obsoletes boolean:

check_obsoletes=1

You can add priorities to repositories by adding the line:

priority=N

to a repository entry, where N is an integer number from 1 to 99. The default priority for repositories is 99. The repositories with the lowest number have the highest priority.

You should give a very high priority to Fedora and RPM Fusion repositories.

Configuration (last edited 2024-11-04 10:48:43 by NicolasChauvet)