HI people,
I am using centos 5 and I am confused on what file to put in my yum.repo.d to update my centos.
Can some one provide me with a link or an example file.
Thanks,
rotsen
On Thu, Oct 23, 2014 at 08:07:30AM -0700, Néstor wrote:
HI people,
I am using centos 5 and I am confused on what file to put in my yum.repo.d to update my centos.
do you mean "update", or "upgrade" ??
update simply means to install whatever fixes/enhancements have been released for Centos 5. you still end up with Centos 5, but it has all the various fixes/enhancements Centos has made available for it. You can do the "update" by simply becoming root (in a terminal, "su -" and enter root's password) then type in "yum update". that's it.
upgrade means to go to Centos-6 or Centos-7. Until recently, there has been no centos-blessed upgrade mechanism (though in earlier versions I have used the installer's upgrade mode, it was always suggested not to do so because things could go bad in a hurry).
The recommended method of doing a system upgrade was to back up ALL your data, install the new version over the prior one, then restore your data. there is a new upgrade tool now, and some people have tested it, but I'm not sure if it is officially approved, yet, or not. And, unfortunately, I don't remember what it's called.
Fred
On Thu, Oct 23, 2014 at 08:07:30AM -0700, Néstor wrote:
HI people,
I am using centos 5 and I am confused on what file to put in my yum.repo.d to update my centos.
Can some one provide me with a link or an example file.
Do you have the /etc/yum.repos.d/CentOS-Base.repo file that's part of the centos-release package? That's all you should need.
Or were you asking how to upgrade from CentOS 5 to CentOS 6 or 7?
That is the file I am missing. Where can I get a copy of it.
Thanks
On Thu, Oct 23, 2014 at 8:23 AM, Jonathan Billings billings@negate.org wrote:
On Thu, Oct 23, 2014 at 08:07:30AM -0700, Néstor wrote:
HI people,
I am using centos 5 and I am confused on what file to put in my
yum.repo.d
to update my centos.
Can some one provide me with a link or an example file.
Do you have the /etc/yum.repos.d/CentOS-Base.repo file that's part of the centos-release package? That's all you should need.
Or were you asking how to upgrade from CentOS 5 to CentOS 6 or 7?
-- Jonathan Billings billings@negate.org _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Thu, Oct 23, 2014 at 11:24 AM, John R Pierce pierce@hogranch.com wrote:
On 10/23/2014 9:16 AM, Néstor wrote:
That is the file I am missing. Where can I get a copy of it.
from the centos-release RPM
I'd start here: http://vault.centos.org/ and work down through your current OS version then /os/ and arch, then CentOS/ and download/instal the centos-release rpm from there. You are probably pretty far out-of-date (a bad thing...) if yum has been broken.
I will take a look.
THANKS!!!
On Thu, Oct 23, 2014 at 9:30 AM, Les Mikesell lesmikesell@gmail.com wrote:
On Thu, Oct 23, 2014 at 11:24 AM, John R Pierce pierce@hogranch.com wrote:
On 10/23/2014 9:16 AM, Néstor wrote:
That is the file I am missing. Where can I get a copy of it.
from the centos-release RPM
I'd start here: http://vault.centos.org/ and work down through your current OS version then /os/ and arch, then CentOS/ and download/instal the centos-release rpm from there. You are probably pretty far out-of-date (a bad thing...) if yum has been broken.
-- Les Mikesell lesmikesell@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 10/24/2014 3:49 PM, Néstor wrote:
I will take a look.
the question is, how did these files NOT get installed on a CentOS 5 system? they are part of the most minimal package set. Is this really CentOS 5, or is it some 3rd party hacked virtual machine based on C5 ?
I messed the files up at some point, that is why I am trying to get a hold of the original repo files
Thanks On Oct 24, 2014 4:08 PM, "John R Pierce" pierce@hogranch.com wrote:
On 10/24/2014 3:49 PM, Néstor wrote:
I will take a look.
the question is, how did these files NOT get installed on a CentOS 5 system? they are part of the most minimal package set. Is this really CentOS 5, or is it some 3rd party hacked virtual machine based on C5 ?
-- john r pierce 37N 122W somewhere on the middle of the left coast
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
It is Centos 6.5. On Oct 24, 2014 5:45 PM, "Néstor" rotsen@gmail.com wrote:
I messed the files up at some point, that is why I am trying to get a hold of the original repo files
Thanks On Oct 24, 2014 4:08 PM, "John R Pierce" pierce@hogranch.com wrote:
On 10/24/2014 3:49 PM, Néstor wrote:
I will take a look.
the question is, how did these files NOT get installed on a CentOS 5 system? they are part of the most minimal package set. Is this really CentOS 5, or is it some 3rd party hacked virtual machine based on C5 ?
-- john r pierce 37N 122W somewhere on the middle of the left coast
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Fri, Oct 24, 2014 at 05:46:30PM -0700, Néstor wrote:
It is Centos 6.5.
At the beginning of this thread you said it was CentOS 5. Now it's CentOS 6.5? Be sure to put the right repo configuration files in place, because otherwise you'll end up with a very broken system.
I just look amd it is 6.5 On Oct 24, 2014 6:04 PM, "Jonathan Billings" billings@negate.org wrote:
On Fri, Oct 24, 2014 at 05:46:30PM -0700, Néstor wrote:
It is Centos 6.5.
At the beginning of this thread you said it was CentOS 5. Now it's CentOS 6.5? Be sure to put the right repo configuration files in place, because otherwise you'll end up with a very broken system.
-- Jonathan Billings billings@negate.org _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 10/24/2014 6:06 PM, Néstor wrote:
I just look amd it is 6.5
rpm -ivh http://mirror.centos.org/centos/6/os/x86_64/Packages/centos-release-6-5.el6....
or
rpm -ivh http://mirror.centos.org/centos/6/os/i386/Packages/centos-release-6-5.el6.ce...
depending if its 64 or 32bit.
if it complains the package is already installed, run it again with --replacepkgs ......
Thanks!!!! On Oct 24, 2014 6:38 PM, "John R Pierce" pierce@hogranch.com wrote:
On 10/24/2014 6:06 PM, Néstor wrote:
I just look amd it is 6.5
rpm -ivh http://mirror.centos.org/centos/6/os/x86_64/Packages/ centos-release-6-5.el6.centos.11.1.x86_64.rpm
or
rpm -ivh http://mirror.centos.org/centos/6/os/i386/Packages/ centos-release-6-5.el6.centos.11.1.i686.rpm
depending if its 64 or 32bit.
if it complains the package is already installed, run it again with --replacepkgs ......
-- john r pierce 37N 122W somewhere on the middle of the left coast
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos