Hello.
I did try to find out some information about centos-yumconf, but I didn't find any. I would like to know what centos-yumconf rpm is made for and what it does (just overwrite the yum.conf file, or copy things from the original and create a new one ?). I dont' really understand the necessity of this package, because I thought that the version upgrade was made through the $releasever environment variable. Any help would be much appreciated.
Kind regards,
Daniel
On Mon, 18 Oct 2004 22:00:45 +0200 "dan1" dan1@edenpics.com disait:
Hello.
I did try to find out some information about centos-yumconf, but I didn't find any. I would like to know what centos-yumconf rpm is made for and what it does(just overwrite the yum.conf file, or copy things from the original and create a new one ?). I dont' really understand the necessity of this package, because I thought that the version upgrade was made through the $releasever environment variable. Any help would be much appreciated.
Hello Dan,
Here it is what i've understood about it:
!!! it's right SINCE centos 3.3 (it's not right for a 3.1 systems upgraded in 3.3 because of an old symbolic link ! ):
- yum RPM put a "/etc/yum.conf" , each time yum RPM is upgraded, /etc/yum.conf is NOT replaced.
- centos-yumconf put a "/etc/centos-yum.conf" , each time centos-yumconf RPM is upgraded, "/etc/centos-yum.conf" is *overwritten*.
the necessity of this package (i think ... ) is simply to provide the proper clean configuration for centos ... who remain in /etc/centos-yum.conf( which is never used by yum in *3.3* ), while /etc/yum.conf is an exact copy of it, but this last one is used by yum. So you never loose the original configuration while you make change into /etc/yum.conf, in addition of that, don't worry about yum's RPM updates which *could* be make changes to /etc/yum.conf, it *should* not: changes are to be made (will be made) in /etc/centos-yum.conf.
He hope it's clear enough :-]
yum should have an include directive and/or an include directory (like apache) so we can set our custom local configuration files. If we want to use a specific yum mirror and/or our local repository, it should be set in our local files that should never be updated.
To do that simply, yum could call a preprocessing tool like m4 for the yum.conf file.
By the way, is there a way that the yum.conf file sets the http_proxy variable?
Martin Hamant wrote:
On Mon, 18 Oct 2004 22:00:45 +0200 "dan1" dan1@edenpics.com disait:
Hello.
I did try to find out some information about centos-yumconf, but I didn't find any. I would like to know what centos-yumconf rpm is made for and what it does(just overwrite the yum.conf file, or copy things from the original and create a new one ?). I dont' really understand the necessity of this package, because I thought that the version upgrade was made through the $releasever environment variable. Any help would be much appreciated.
Hello Dan,
Here it is what i've understood about it:
!!! it's right SINCE centos 3.3 (it's not right for a 3.1 systems upgraded in 3.3 because of an old symbolic link ! ):
- yum RPM put a "/etc/yum.conf" , each time yum RPM is upgraded,
/etc/yum.conf is NOT replaced.
- centos-yumconf put a "/etc/centos-yum.conf" , each time centos-yumconf
RPM is upgraded, "/etc/centos-yum.conf" is *overwritten*.
the necessity of this package (i think ... ) is simply to provide the proper clean configuration for centos ... who remain in /etc/centos-yum.conf( which is never used by yum in *3.3* ), while /etc/yum.conf is an exact copy of it, but this last one is used by yum. So you never loose the original configuration while you make change into /etc/yum.conf, in addition of that, don't worry about yum's RPM updates which *could* be make changes to /etc/yum.conf, it *should* not: changes are to be made (will be made) in /etc/centos-yum.conf.
He hope it's clear enough :-]
On Tue, 19 Oct 2004 16:19:58 +0200 sophana sophana78@yahoo.fr disait:
:-O What is this way to quote ?
yum should have an include directive and/or an include directory (like
apache) so we can set our custom local configuration files. If we want to use a specific yum mirror and/or our local repository, it should be set in our local files that should never be updated.
for fresh 3.3 installs, yum.conf is never updated anymore, and will never be. ( i hope it will stay like that in the future ).
To do that simply, yum could call a preprocessing tool like m4 for the
yum.conf file.
hey :) np, just contact yum's dev team :P
By the way, is there a way that the yum.conf file sets the http_proxy variable?
dunno
Thank you, Martin.
That's exactly the information I was looking for, and it IS clear enough, definitely.
Have a nice day,
Daniel
Hello.
I did try to find out some information about centos-yumconf, but I didn't find any. I would like to know what centos-yumconf rpm is made for and what it does(just overwrite the yum.conf file, or copy things from the original and create a new one ?). I dont' really understand the necessity of this package, because I thought that the version upgrade was made through the $releasever environment variable. Any help would be much appreciated.
Hello Dan,
Here it is what i've understood about it:
!!! it's right SINCE centos 3.3 (it's not right for a 3.1 systems upgraded in 3.3 because of an old symbolic link ! ):
- yum RPM put a "/etc/yum.conf" , each time yum RPM is upgraded, /etc/yum.conf is NOT replaced.
- centos-yumconf put a "/etc/centos-yum.conf" , each time centos-yumconf RPM is upgraded, "/etc/centos-yum.conf" is *overwritten*.
the necessity of this package (i think ... ) is simply to provide the proper clean configuration for centos ... who remain in /etc/centos-yum.conf( which is never used by yum in *3.3* ), while /etc/yum.conf is an exact copy of it, but this last one is used by yum. So you never loose the original configuration while you make change into /etc/yum.conf, in addition of that, don't worry about yum's RPM updates which *could* be make changes to /etc/yum.conf, it *should* not: changes are to be made (will be made) in /etc/centos-yum.conf.
He hope it's clear enough :-]