LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-28-2009, 01:30 PM   #1
redhat5
Member
 
Registered: Jul 2009
Posts: 50

Rep: Reputation: 15
Unhappy Yum not working after re-install.


I accidently removed yum from my RHEL5 system and then reinstalled it following instructions from a website.

The install was successful but yum is not working.

When i type in

yum check-update

it returns

[root@localhost ~]# yum check-update
Gathering header information file(s) from server(s)
Server: Red Hat Linux 5Client - i386 - Base
retrygrab() failed for:
http://mirror.dulug.duke.edu/pub/yum...rs/header.info
Executing failover method
failover: out of servers to try
Error getting file http://mirror.dulug.duke.edu/pub/yum...rs/header.info
[Errno 4] IOError: <urlopen error >


I am a newbie and dont know, what to do now?
 
Old 07-28-2009, 02:38 PM   #2
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
can you dig mirror.dulug.duke.edu ?
if not then there is a DNS issue and you need to check your /etc/resovl.conf
 
Old 07-29-2009, 05:43 AM   #3
redhat5
Member
 
Registered: Jul 2009
Posts: 50

Original Poster
Rep: Reputation: 15
What does
digging means here?

Sorry!
 
Old 07-29-2009, 05:45 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
It is just a command

Code:
dig mirror.dulug.duke.edu
Code:
cannabis:/home/repo# dig mirror.dulug.duke.edu

; <<>> DiG 9.5.1-P2 <<>> mirror.dulug.duke.edu
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62433
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mirror.dulug.duke.edu.		IN	A

;; ANSWER SECTION:
mirror.dulug.duke.edu.	1767	IN	CNAME	newmirror.dulug.duke.edu.
newmirror.dulug.duke.edu. 1767	IN	A	152.3.220.162

;; Query time: 198 msec
;; SERVER: 10.0.0.1#53(10.0.0.1)
;; WHEN: Wed Jul 29 12:44:11 2009
;; MSG SIZE  rcvd: 79

cannabis:/home/repo#
man dig

Last edited by repo; 07-29-2009 at 05:48 AM.
 
Old 08-08-2009, 03:48 AM   #5
redhat5
Member
 
Registered: Jul 2009
Posts: 50

Original Poster
Rep: Reputation: 15
[root@localhost ~]# dig mirror.dulug.duke.edu

; <<>> DiG 9.3.3rc2 <<>> mirror.dulug.duke.edu
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52996
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 0

;; QUESTION SECTION:
;mirror.dulug.duke.edu. IN A

;; ANSWER SECTION:
mirror.dulug.duke.edu. 1800 IN CNAME newmirror.dulug.duke.edu.
newmirror.dulug.duke.edu. 1800 IN A 152.3.220.162

;; AUTHORITY SECTION:
dulug.duke.edu. 86400 IN NS authdns1.netcom.duke.edu.
dulug.duke.edu. 86400 IN NS authdns2.netcom.duke.edu.
dulug.duke.edu. 86400 IN NS authdns3.netcom.duke.edu.
dulug.duke.edu. 86400 IN NS authdns4.netcom.duke.edu.

;; Query time: 797 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Sat Aug 8 14:18:30 2009
;; MSG SIZE rcvd: 178

[root@localhost ~]#




What doe this mean?

What to do now?
 
Old 08-09-2009, 03:25 AM   #6
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
Quote:
Originally Posted by redhat5 View Post


;; QUESTION SECTION:
;mirror.dulug.duke.edu. IN A
you asked for the IP for mirror.dulug.duke.edu

Quote:
;; ANSWER SECTION:
mirror.dulug.duke.edu. 1800 IN CNAME newmirror.dulug.duke.edu.
newmirror.dulug.duke.edu. 1800 IN A 152.3.220.162
the responce you got back (shows DNS is working)

Quote:
;; AUTHORITY SECTION:
dulug.duke.edu. 86400 IN NS authdns1.netcom.duke.edu.
dulug.duke.edu. 86400 IN NS authdns2.netcom.duke.edu.
dulug.duke.edu. 86400 IN NS authdns3.netcom.duke.edu.
dulug.duke.edu. 86400 IN NS authdns4.netcom.duke.edu.
tells you what DNS servers provided the answer

Quote:
;; Query time: 797 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Sat Aug 8 14:18:30 2009
;; MSG SIZE rcvd: 178
basic information can be used to catch a man in the middle DNS


can you manually go to http://mirror.dulug.duke.edu
do you see the repo?
I personally cannot access it from here.
 
Old 08-09-2009, 03:28 AM   #7
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
try pointing yum to http://mirror.centos.org/centos-5/

there is a thread by me about how to update RHEL via CentOS repos
 
Old 08-10-2009, 06:15 AM   #8
redhat5
Member
 
Registered: Jul 2009
Posts: 50

Original Poster
Rep: Reputation: 15
How to do that----point yum to a web address?

Can you please reply with some DEFINITE INSTRUCTIONS so that i can do what you are suggesting?

I dont know, how to point yum to www.-----.com

Thank You
 
Old 08-11-2009, 07:49 AM   #9
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
http://www.linuxquestions.org/questi...-repos-696783/
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install PHP: yum tries to install duplicate httpd beebopbogo Linux - Software 1 05-26-2009 02:08 AM
yum install not working and giving errors .....kindly find a way out sureka Linux - Software 6 06-30-2008 12:01 AM
Yum install public key issue, not working for ffmpeg sparckis Linux - Newbie 2 10-22-2006 10:49 PM
Why is YUM not working? rayj00 Linux - Software 2 10-07-2006 09:44 PM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 12:48 PM

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

All times are GMT -5. The time now is 04:33 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