LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RPM Pacakages and YUM Packages unable to install in CentOS 6.4(Purpose Training) (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-pacakages-and-yum-packages-unable-to-install-in-centos-6-4-purpose-training-4175522746/)

KishanITIL 10-20-2014 07:42 AM

RPM Pacakages and YUM Packages unable to install in CentOS 6.4(Purpose Training)
 
Dear Team,

Pls help to me for below error in centos 6.4, iam unable to rectify this problem. pls provide the solution.
Note: I installed CentOS6.4 on VMware work station

[root@CentOS ~]# yum install samba
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...x86_64&repo=os error was
14: PYCURL ERROR 7 - "Failed to connect to 2a02:2498:1:3d:5054:ff:fed3:e91a: Network is unreachable"
Error: Cannot find a valid baseurl for repo: base

suicidaleggroll 10-20-2014 09:02 AM

What is the output of:
ping google.com
ping 8.8.8.8

John VV 10-20-2014 03:29 PM

centos 6.4 is unsupported
you need to upgrade to 6.5
then very VERY SOON upgrade again to 6.6
6.6 is is testing

also the base url for the now unsupported cent 6.4 might not be there any more
the default is to look for the mirror list
that might not be there
it would have been relocated to the historical archive "The Vault"

this is the PLACE HOLDER for the 6.4 repo

http://mirror.rackspace.com/CentOS/6.4/readme
Quote:

This directory (and version of CentOS) is deprecated. For normal users,
you should use /6/ and not /6.4/ in your path. Please see this FAQ
concerning the CentOS release scheme:

https://wiki.centos.org/FAQ/General

If you know what you are doing, and absolutely want to remain at the 6.4
level, go to http://vault.centos.org/ for packages.

Please keep in mind that 6.0, 6.1, 6.2, 6.3 and 6.4 no longer gets any updates, nor
any security fix's.
upgrade asap
Code:

su -
yum --releasever=6.5 upgrade


suicidaleggroll 10-20-2014 03:32 PM

A regular yum update will bring him to 6.5, there's no need to go out of his way or do anything special. His system is already configured to use the CentOS 6 (not 6.4 or 6.5, just 6) mirror list, so everything should be ready to go.

His main focus right now should be getting the network operational, since it looks like it's down.

Ihatewindows522 10-20-2014 03:49 PM

Make sure your network in VMware is set up correctly and you can access the repos. CentOS 6.4 wouldn't be discontinued THAT quickly...
http://wiki.centos.org/FAQ/General#h...91e1dde5b75e6d
Also, an update would be in order for it, just get it through yum once your network is fully functional. All of the mirrors are up and running, just checked them.


All times are GMT -5. The time now is 12:43 PM.