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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
07-28-2009, 01:30 PM
#1
Member
Registered: Jul 2009
Posts: 50
Rep:
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?
07-28-2009, 02:38 PM
#2
Member
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552
Rep:
can you dig mirror.dulug.duke.edu ?
if not then there is a DNS issue and you need to check your /etc/resovl.conf
07-29-2009, 05:43 AM
#3
Member
Registered: Jul 2009
Posts: 50
Original Poster
Rep:
What does
digging means here?
Sorry!
07-29-2009, 05:45 AM
#4
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
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 .
08-08-2009, 03:48 AM
#5
Member
Registered: Jul 2009
Posts: 50
Original Poster
Rep:
[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?
08-09-2009, 03:25 AM
#6
Member
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552
Rep:
Quote:
Originally Posted by
redhat5
;; 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.
08-09-2009, 03:28 AM
#7
Member
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552
Rep:
try pointing yum to
http://mirror.centos.org/centos-5/
there is a thread by me about how to update RHEL via CentOS repos
08-10-2009, 06:15 AM
#8
Member
Registered: Jul 2009
Posts: 50
Original Poster
Rep:
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
08-11-2009, 07:49 AM
#9
Member
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552
Rep:
All times are GMT -5. The time now is 04:33 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News