Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

add priority parameter to dnf repo files when using third party repos?

Hi, I'm new to linux and have chosen to use fedora workstation as my main os now. Recently, I've been reading a centos administrator book where it is recommended to use the priority plugin with yum when using third party repos. This would have the benefit to prioritize security patches from the original repos in favor of third-party repos.

DNF seems to have a builtin priority parameter.

Should you configure the priority parameter when using third party repos with dnf when using fedora?

I'm using the following priority settings on the enabled=1 hosts in my repo files: /etc/yum.repos.d/fedora.repo:priority=1 /etc/yum.repos.d/fedora-updates.repo:priority=1 /etc/yum.repos.d/rpmfusion-free.repo:priority=10 /etc/yum.repos.d/rpmfusion-free-updates.repo:priority=10 /etc/yum.repos.d/rpmfusion-nonfree.repo:priority=10 /etc/yum.repos.d/rpmfusion-nonfree-updates.repo:priority=10

What would you recommend or what is your experience? Thank you very much! Kind regards, Didier

click to hide/show revision 2
None

updated 2018-05-01 05:35:05 -0600

hhlp gravatar image

add priority parameter to dnf repo files when using third party repos?

Hi, I'm new to linux and have chosen to use fedora workstation as my main os now. Recently, I've been reading a centos administrator book where it is recommended to use the priority plugin with yum when using third party repos. This would have the benefit to prioritize security patches from the original repos in favor of third-party repos.

DNF seems to have a builtin priority parameter.

Should you configure the priority parameter when using third party repos with dnf when using fedora?

I'm using the following priority settings on the enabled=1 hosts in my repo files: files:

/etc/yum.repos.d/fedora.repo:priority=1
/etc/yum.repos.d/fedora-updates.repo:priority=1
/etc/yum.repos.d/rpmfusion-free.repo:priority=10
/etc/yum.repos.d/rpmfusion-free-updates.repo:priority=10
/etc/yum.repos.d/rpmfusion-nonfree.repo:priority=10
/etc/yum.repos.d/rpmfusion-nonfree-updates.repo:priority=10

/etc/yum.repos.d/rpmfusion-nonfree-updates.repo:priority=10

What would you recommend or what is your experience? Thank you very much! Kind regards, Didier