I have performed the 5.1 update via the 5 repo on a couple of systems. I then went to switch these systems to my new local repo using ther $releasever variable. It still has the value of 5, not 5.1 Where is this set? Why was it not changed to 5.1? On the one clean install from the 5.1 isos, $releasever is at 5.1 I think.
On Dec 11, 2007 2:47 PM, Robert Moskowitz <rgm at htt-consult.com> wrote:> I have performed the 5.1 update via the 5 repo on a couple of systems. > I then went to switch these systems to my new local repo using ther > $releasever variable. It still has the value of 5, not 5.1 > > Where is this set? Why was it not changed to 5.1? > > On the one clean install from the 5.1 isos, $releasever is at 5.1 I think.See http://wiki.centos.org/FAQ/CentOS5#q8, it is related. Regards, Tim -- Tim Verhoeven - tim.verhoeven.be at gmail.com - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds)
Hi I have been googling without success so I thought to ask the following question to the list: I was wondering if any of you know of a site that shows how to setup a wireless access point using Centos. Thanks Alfredo The sauce
Robert Moskowitz wrote:> Where is this set? Why was it not changed to 5.1?The question has been answered a few times already, i suggest you do some research on your own part before just blindly writing to the list.> > On the one clean install from the 5.1 isos, $releasever is at 5.1 I > think.either someone changed that manually, or you are wrong. Please confirm if there is indeed a 5.1 being reported as $releasever ? if so, your yum configs are broken or manually modified. CentOS has always had trunk release at the main version number in repo tree's, for CentOS-3, 4 and now 5 -- Karanbir Singh : http://www.karan.org/ : 2522219 at icq
Karanbir Singh wrote:> Robert Moskowitz wrote: >> Where is this set? Why was it not changed to 5.1? > > The question has been answered a few times already, i suggest you do > some research on your own part before just blindly writing to the list.Myst have mystyped $releasever when I did a serch in my mail folder.... My dyslexia at work. Or just my poor typing.>> On the one clean install from the 5.1 isos, $releasever is at 5.1 I >> think. > > > either someone changed that manually, or you are wrong. Please confirm > if there is indeed a 5.1 being reported as $releasever ? if so, your > yum configs are broken or manually modified.Kind of hard on that system as the drive crashed, but I have another install set up for later today.> CentOS has always had trunk release at the main version number in repo > tree's, for CentOS-3, 4 and now 5I did a search for $rel in the message body (instead of trying to spell it right), and found the various discussions. Thanks for the pointer.
On Dec 11, 2007 8:09 AM, Alfredo Perez <alfredoj69 at rogers.com> wrote:> Hi > > I have been googling without success so I thought > to ask the following question to the list: > > I was wondering if any of you know of a site > that shows how to setup a wireless access point > using Centos. >Please clarify - are you asking how to use CentOS to access a wireless router, either to set it up or just to use it, or how to use a CentOS machine as a router to be a wireless access point? The former is pretty much just like any other router setup - open a browser to point at the router and set it up like any other (even Windows non-wizard setup). The latter I don't know. Thanks. mhr
On Tue, Dec 11, 2007, Alfredo Perez wrote:>Hi > >I have been googling without success so I thought >to ask the following question to the list: > >I was wondering if any of you know of a site >that shows how to setup a wireless access point >using Centos.You might look at http://www.linux-sxs.org/ Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 If ye love wealth greater than liberty, the tranquillity of servitude greater than the animating contest for freedom, go home from us in peace. We seek not your consul, nor your arms. Crouch down and lick the hand that feeds you. May your chains set lightly upon you; and may posterity forget ye were our countrymen. -- Samuel Adams (American Patriot)
Robert Moskowitz wrote:> I have performed the 5.1 update via the 5 repo on a couple of systems. > I then went to switch these systems to my new local repo using ther > $releasever variable. It still has the value of 5, not 5.1 > > Where is this set? Why was it not changed to 5.1? >Just to answer this "technical question" ... $releasever is obtained by getting the release string from a package that is defined in the yum.conf file. The package is set with this variable in yum.conf: distroverpkg In the case of centos, that variable is either centos-release or /etc/redhat-release. You can see what the $releasever is with this command: rpm -q --qf '%{VERSION}\n' centos-release OR rpm -q --qf '%{VERSION}\n' `rpm -q --whatprovides /etc/redhat-release` (Both of these will work, and one is used, depending on the value of distroverpkg= in /etc/yum.conf) Every release of CentOS-3.x, CentOS-4.x, and CentOS-5.x has ALWAYS had 3, 4, or 5 as the $releasever. We control WHAT /4/ or /5/ is (as a symlink) so that we set the "Current Version" by pointing 4 to 4.5 or 4.6 and 5 to 5.0 or 5.1. We have been doing this for 4 years. We have NEVER had 3.5, 4.5, 5.1, etc. as a $releasever. We MAY have a 5.1 or 4.6 as a release version for people who want to stay on a point release (after a new version is available) as the upstream provider releases their "z stream" releases later. We may also just provide CentOS-Base.repo files as replacement files that have hard coded versions in place. Keep in mind that other (3rd party) sites use 3, 4, 5 in their .repo files for centos ... and if we change this (to 4.6 or 5.1), it will possibly break their repos on your system until they take action to make 5.1 or 4.6 work on their server, or until you edit THEIR .repo files and make changes.> On the one clean install from the 5.1 isos, $releasever is at 5.1 I > think.Thanks, Johnny Hughes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20071216/919ab882/attachment-0002.sig>
On Sun, 2007-12-16 at 06:58 -0600, Johnny Hughes wrote: But in the 4.xx version when you do a 'cat /etc/redhat-release' it shows you the version "CentOS release 4.5 (Final)" for example, now with version 5 after the upgrade to version 5.1 if you do a 'cat /etc/redhat-release' it always shows "CentOS release 5 (Final)" and not "CentOS release 5.1 (Final)"> Robert Moskowitz wrote: > > I have performed the 5.1 update via the 5 repo on a couple of systems. > > I then went to switch these systems to my new local repo using ther > > $releasever variable. It still has the value of 5, not 5.1 > > > > Where is this set? Why was it not changed to 5.1? > > > > Just to answer this "technical question" ... > > $releasever is obtained by getting the release string from a package > that is defined in the yum.conf file. > > The package is set with this variable in yum.conf: > > distroverpkg> > In the case of centos, that variable is either centos-release or > /etc/redhat-release. > > You can see what the $releasever is with this command: > > rpm -q --qf '%{VERSION}\n' centos-release > > OR > > rpm -q --qf '%{VERSION}\n' `rpm -q --whatprovides /etc/redhat-release` > > (Both of these will work, and one is used, depending on the value of > distroverpkg= in /etc/yum.conf) > > Every release of CentOS-3.x, CentOS-4.x, and CentOS-5.x has ALWAYS had > 3, 4, or 5 as the $releasever. We control WHAT /4/ or /5/ is (as a > symlink) so that we set the "Current Version" by pointing 4 to 4.5 or > 4.6 and 5 to 5.0 or 5.1. We have been doing this for 4 years. > > We have NEVER had 3.5, 4.5, 5.1, etc. as a $releasever. > > We MAY have a 5.1 or 4.6 as a release version for people who want to > stay on a point release (after a new version is available) as the > upstream provider releases their "z stream" releases later. We may also > just provide CentOS-Base.repo files as replacement files that have hard > coded versions in place. > > Keep in mind that other (3rd party) sites use 3, 4, 5 in their .repo > files for centos ... and if we change this (to 4.6 or 5.1), it will > possibly break their repos on your system until they take action to make > 5.1 or 4.6 work on their server, or until you edit THEIR .repo files and > make changes. > > > > > On the one clean install from the 5.1 isos, $releasever is at 5.1 I > > think. > > > Thanks, > Johnny Hughes > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos-- M$-Internet Exploder est le cancer de l'Internet, voyez pourquoi ici : http://www.aful.org/ressources/documentations/msie-problemes-securite/ -- (?- Bernard Lheureux Gestionnaire des MailingLists ML, TechML, LinuxML //\ http://www.bbsoft4.org/Mailinglists.htm ** MailTo:root at bbsoft4.org v_/_ http://www.bbsoft4.org/ <<<<<< () >>>>>> http://www.portalinux.org