LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-20-2014, 07:42 AM   #1
KishanITIL
LQ Newbie
 
Registered: Oct 2014
Posts: 2

Rep: Reputation: Disabled
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
 
Old 10-20-2014, 09:02 AM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
What is the output of:
ping google.com
ping 8.8.8.8
 
Old 10-20-2014, 03:29 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
Old 10-20-2014, 03:32 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
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.
 
1 members found this post helpful.
Old 10-20-2014, 03:49 PM   #5
Ihatewindows522
Member
 
Registered: Oct 2014
Location: Fort Wayne
Distribution: Ubuntu 16.04 LTS
Posts: 616
Blog Entries: 2

Rep: Reputation: 166Reputation: 166
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.

Last edited by Ihatewindows522; 10-20-2014 at 03:52 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm packages unable to install sagar666 Linux - Server 7 03-28-2013 06:31 AM
How to force yum and rpm install only current archetecture match packages Rodnower Linux - Software 8 08-14-2010 12:29 PM
Unable to install packages from YUM repository ( RHEL5 ) saagar Linux - Newbie 7 01-07-2009 09:55 AM
Unable to install packages from DVD using YUM Mr. ameya sathe Linux - Enterprise 21 08-23-2008 05:16 AM
Unable to install RPM packages (a PAM issue - i think!) thebeardedladie Linux - Software 5 11-18-2002 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration