Post your yum repository settings

Discussion in 'all things UNIX' started by mack_guy911, Dec 6, 2011.

Thread Status:
Not open for further replies.
  1. mack_guy911

    mack_guy911 Registered Member

    Joined:
    Mar 21, 2007
    Posts:
    2,677
    i wonder which is better priorities or protectbase :rolleyes:

    http://wiki.centos.org/PackageManagement/Yum/ProtectBase

    http://wiki.centos.org/PackageManagement/Yum/Priorities


    also please post your yum

    /etc/yum.repos.d/

    here is mine


















     
  2. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,677
    Location:
    George, S.Africa
    This has worked well for me so far. (I think I have posted before, this setup only has minor
    additions/alterations).

    Code:
    $ sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n
    priority = 1 [adobe-linux-x86_64] >>>>>>> Enabled  For 64 bit Flash Player
    priority = 1 [sl]               >>>>>>>>> Enabled
    priority = 1 [sl-security]     >>>>>>>>>> Enabled
    priority = 2 [bitdefender]  >>>>>>>>>>>>> Enabled
    priority = 2 [epel]  >>>>>>>>>>>>>>>>>>>> Enabled
    priority = 3 [PUIAS_6_addons_2] >>>>>>>>>> Disabled If you want enabled only for abiword - see below.
    priority = 3 [rpmforge] >>>>>>>>>>>>>>>>>> Enabled
    priority = 3 [sl-debuginfo] >>>>>>>>>>>>>> Disabled
    priority = 3 [sl-fastbugs]  >>>>>>>>>>>>>>   "
    priority = 4 [adobe-linux-i386]   >>>>>>> Enabled  For Reader. 
    priority = 4 [atrpms] >>>>>>>>>>>>>>>>>>>>   " Check from time to time as a few packages are fr. atrpms
    priority = 4 [atrpms-debuginfo] >>>>>>>>>>   "
    priority = 4 [atrpms-source] >>>>>>>>>>>>>   "
    priority = 4 [elrepo] >>>>>>>>>>>>>>>>>>>>   " Check from time to time for updates to nvidia drivers
    priority = 4 [epel-debuginfo] >>>>>>>>>>>>> Disabled
    priority = 4 [epel-source] >>>>>>>>>>>>>>>>    "
    priority = 4 [sl-source] >>>>>>>>>>>>>>>>>>    "
    priority = 4 [sl-testing] >>>>>>>>>>>>>>>>>    "
    priority = 5 [atrpms-testing] >>>>>>>>>>>>>    "
    priority = 5 [rpmforge-extras] >>>>>>>>>>>>    "
    priority = 5 [rpmforge-testing] >>>>>>>>>>>    "
    priority = 5 [virtualbox] >>>>>>>>>>>>>>>>>  Enabled
    priority = 5 [google-earth] >>>>>>>>>>>>>>>     "
    priority = 6 [atrpms-bleeding] >>>>>>>>>>>>  Disabled
    priority = 6 [atrpms-bleeding-debuginfo] >>>    "
    priority = 6 [atrpms-bleeding-source] >>>>>> Disabled
    priority = 6 [atrpms-testing-debuginfo] >>>> Disabled
    priority = 6 [atrpms-testing-source] >>>>>>> Disabled
    priority = 6 [epel-testing] >>>>>>>>>>>>>>>>    "
    priority = 6 [epel-testing-debuginfo] >>>>>>    "
    priority = 6 [epel-testing-source] >>>>>>>>>    "
    priority = 6 [sl-testing-source] >>>>>>>>>>>    "
    priority = 7 [elrepo-extras] >>>>>>>>>>>>>>>    "
    priority = 7 [elrepo-kernel] >>>>>>>>>>>>>>>    "
    priority = 7 [elrepo-testing] >>>>>>>>>>>>>>    "
    priority = 8 [linuxtech-release] >>>>>>>>>>>    "  For SeaMonkey, Handbrake 
    priority = 10 [linuxtech-testing] >>>>>>>>>>    "
    ~]$ 
    
    ********** Notes *********
    
    vlc is from rpmforge. To avoid conflicts with epel...
    
    [epel]
    name=Extra Packages for Enterprise Linux 6 - $basearch
    #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
    mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
    failovermethod=priority
    enabled=1
    gpgcheck=1
    priority=2
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
    exclude=libmodplug, libupnp, libcdaudio
    
    [PUIAS_6_addons_2]
    name=PUIAS addons Base $releasever - $basearch - 2
    #mirrorlist=http://www.puias.princeton.edu/data/puias/$releasever/$basearch/os/Addons/mirrorlist
    baseurl=http://www.math.ias.edu/data/puias/$releasever/$basearch/os/Addons
    gpgcheck=1
    priority=3
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puias
    enabled = 0
    includepkgs = abiword*
    
    For 64 bit Flash Player from Adobe:
    
    [adobe-linux-x86_64]
    name=Adobe Systems Incorporated
    baseurl=http://linuxdownload.adobe.com/linux/x86_64/
    enabled=1
    gpgcheck=1
    priority=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
    
     
    Last edited: Dec 6, 2011
  3. mack_guy911

    mack_guy911 Registered Member

    Joined:
    Mar 21, 2007
    Posts:
    2,677
    thanks ocky i check my config again i feel less updates as compare to fedora :D
     
  4. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,677
    Location:
    George, S.Africa
    Well, certainly a lot less than (U)(K) buntu. :)

    I was too lazy to change my priorities to two digits like 51, 52 instead of 5 for several. So, you have done it a better way. :thumb:
     
  5. mack_guy911

    mack_guy911 Registered Member

    Joined:
    Mar 21, 2007
    Posts:
    2,677
    hahahaha :D

    ocky you talk like real politician ocky no budy can win you in argument :thumb:

    edit: by the way by politician i mean great legends like Chanakya Aristotle Vidura :p
     
    Last edited: Dec 7, 2011
  6. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,677
    Location:
    George, S.Africa
    :D hahaha.... no argument - you are the oracle of Unix forum. :D
     
Loading...
Thread Status:
Not open for further replies.