Admin Books
DOWNLOAD Free e-Books for Linux Admin Servers :
Browse » Home
» yum
» protect one Yum repo’s packages from being replaced by packages from another source
protect one Yum repo’s packages from being replaced by packages from another source
How to protect one Yum repo’s packages from being replaced by packages from another source?
If we use two different repositories, each holding a different version of the same package, only the latest of the two will be installed if you use yum to update that package. This can lead to problems if the third party repository contains a newer version of a core system package than the Red Hat repository.
The yum-protectbase plugin will protect files of the base repository from being replaced by packages from a third party repository.
To install the plugin, use this command:
yum install yum-protectbase
This will install the plugin and its basic configuration file, /etc/yum/pluginconf.d/protectbase.conf
Setting are stored under /etc/yum/pluginconf.d/rhnplugin.conf with a section name matching the repo.id of the channel. You need to add :
protect = yes
To protect a different repository, go to its configuration file in /etc/yum.repos.d/repository.repo and add this line to its configuration
/etc/yum.repos.d/repository.repo
Add
[repository]
…
protect = 1
You will need to add this for each repository which needs to be protected.
Subscribe to:
Post Comments (Atom)
Category
vps
bash
csf
security
backup
virtualmin
webmin
browser
ConfigServer Security Firewall
apache2
centos
control panel
dns
dovecot
firewall
hack
import firefox into linux
installation
klogd
nginx
passwordless ssh
promo vps
rsync backup
search bash find
ssh
syslog
tips
varnish
webuzo
wordpress
Suspicious Process
apache
awstats
bash pdf search
cache server
centos server
centos web panel
cheapest vps
cloudflare
compare area
compare region
cwp
date
deb
debian
discount vps
domain name
exim
file management
find and replace
google map
hosting
how to hack vps phpmyadmin 2012
ip address
ipt_recent
linux mint
map
misleading
mysql
perl
php vps info script
plugin
postfix
proxy
rdiff-backup
recursive
red hat
relay email not permitted
repo
seo
server monitor
special offer
squirrel mail
time
timezone
ubutu
vps hosting
vps info
vps monitor
vps special
vzctl
web hosting
xt_connlimit
yum
No comments:
Post a Comment