Koozali.org: home of the SME Server

Set up a permanent exclude for yum

Offline toothandnail

  • ****
  • 139
  • +0/-0
Set up a permanent exclude for yum
« on: March 15, 2016, 09:19:01 AM »
I've just installed the most recent version of Midnight Commander on several SME servers (which I need to get round a corruption problem in the standard CentOS6 version when handling large archives). I'd like to make sure that the stock version doesn't get installed the next time an update is run.

I'm used to editing template fragments to make changes to SME behaviour, but I'm not sure what template to use, and could do with some samples of how the changes would be made. Can anyone point me to the correct template to check?

Paul.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Set up a permanent exclude for yum
« Reply #1 on: March 15, 2016, 10:23:04 AM »
toothandnail

You could add an Exclude pkg to the repo configuration
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

guest22

Re: Set up a permanent exclude for yum
« Reply #2 on: March 15, 2016, 02:28:15 PM »
Yup, please see https://wiki.contribs.org/ELRepo as an example only.