LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 03-16-2016, 01:00 PM   #1
GuyCorr
LQ Newbie
 
Registered: Mar 2016
Posts: 3

Rep: Reputation: Disabled
Question Why yum -C --security check-update try to connect to remote url


Httpd service is off on remote machine (server)
both centOS 6.4 and 7.2.1511 have the same remote server IP address but with different repository


on client centOS 6.4
when I try the following
yum -C --security check-update
Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security
Limiting package lists to security relevant ones
....

now on centOS 7.2.1511
yum -C --security check-update
Loaded plugins: fastestmirror, langpacks
http://x.x.x.x/repos/centos/7.2.1511...ta/repomd.xml: [Errno 14] curl#7 - "Failed connect to x.x.x.x:80; Connection refused"
.....
Trying other mirror.

When I try
yum -C check-update
Loaded plugins: fastestmirror, langpacks
I don't have http://.......



When Httpd is started everything works fine. But we don't want to start the Httpd when I will do installation form the cache.

The behavior of 6.4 is the good one I think.
Why on centOS 7.2.1511. the yum -C --security check-update command try to connect to the remote machine?
 
Old 03-16-2016, 05:25 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
on cent 6.4 you will not get any updates
6.4
6.5
6.6
are all UNSUPPORTED

only the current in the older 6 series is supported CentOS 6.7 ( soon to be 6.8)

on 6.4 there is nothing to update and there has been nothing to update for many years


upgrade to 6.7 ASAP


on 7
Code:
http://x.x.x.x/repos/centos/7.2
that is not a real address
those x x x 's will cause problems

Last edited by John VV; 03-16-2016 at 05:27 PM.
 
Old 03-17-2016, 08:10 AM   #3
GuyCorr
LQ Newbie
 
Registered: Mar 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
On the field will still have some remoteClient with 6.4 CentOS. They will be upgrade but I don't now when.

The question is more when I do
on centOS 7.2.1511
yum -C --security check-update
Loaded plugins: fastestmirror, langpacks
http://x.x.x.x/repos/centos/7.2.1511...ta/repomd.xml: [Errno 14] curl#7 - "Failed connect to x.x.x.x:80; Connection refused"

Why yum try to connect to http://....
And x.x.x.x are not the real IpAddress. I just replace the real IpAddress by x.x.x.x for asking the question.
thanks
 
Old 03-17-2016, 01:54 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
dose the real address work ?
can you read the xml file when you click on the link ?
 
Old 03-18-2016, 08:08 AM   #5
GuyCorr
LQ Newbie
 
Registered: Mar 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
dose the real address work ?
can you read the xml file when you click on the link ?

Yes to both, if the httpd service on remote repository server is start.
The problem is why when I use yum -C --security check-update the program try to connect with the remote repository server.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum check-update shows Update is broken, or a bad duplicate, skipping aneeshcna Linux - Newbie 4 09-13-2015 04:19 PM
error performing checksum from yum --security check-update tom_morse Linux - Server 7 03-27-2014 10:18 AM
Yum check-update Brandon9000 Linux - Software 11 04-13-2012 03:45 PM
How to check the Listening url in the remote machine winxandlinx Linux - Security 5 07-11-2010 08:56 PM
yum update Transaction Check Error JonBL Linux - Software 21 08-10-2007 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 06:03 AM.

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