Operating System - Linux
1824938 Members
4014 Online
109678 Solutions
New Discussion юеВ

Re: yum update not working on Fedora Core 4

 
Kavitha Subramanian
Occasional Advisor

yum update not working on Fedora Core 4

Hello there!

I am doing an install of RT on Fedora core 4 .
yum update is not working, recently I realised that telnet localhost is not working and I am not able to telnet from any other unix box either. Any help would be greatly appreciated.

Thanks.
Kavitha.
9 REPLIES 9
Ivan Ferreira
Honored Contributor

Re: yum update not working on Fedora Core 4

Fist of all, can you browse the Internet with an browser?

Second, you first must configure /etc/yum.conf to specify the locations of the update servers.

Third, telnet is not installed in Linux by default because is insecure.

And, if you cannot telnet to other hosts, please post the error that you have. Try disabling the firewall:

service iptables stop
chkconfig iptables off
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Kavitha Subramanian
Occasional Advisor

Re: yum update not working on Fedora Core 4

Ivan,

Thanks for your reply.
I stopped the iptables.
I am able to browse the internet from the linux box, but I am unable to use the 'yum update' feature . I am also not able to ping any website from the telnet session.

I am totally stuck here. Please help.

Kavitha .
Steven E. Protter
Exalted Contributor

Re: yum update not working on Fedora Core 4

Check the validity of your /etc/yum.repos.d data. Make sure the respository is still there.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ivan Ferreira
Honored Contributor

Re: yum update not working on Fedora Core 4

When you try to ping, what is the error that you have?

unknown host?
destination unreachable?

Maybe you can browse the Internet through a proxy server, but you don't have configured name servers.

Verify the /etc/resolv.conf file if you have specified the DNS servers, like:

domain mydomain.com
nameserver 192.168.1.1
nameserver 192.168.1.2
nameserver 192.168.1.3
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Kavitha Subramanian
Occasional Advisor

Re: yum update not working on Fedora Core 4

I have the /etc/yum.repos.d

-rw-r--r-- 1 root root 1123 Jun 3 14:12 fedora-devel.repo
-rw-r--r-- 1 root root 312 Jun 3 14:12 fedora-extras-devel.repo
-rw-r--r-- 1 root root 299 Jun 3 14:12 fedora-extras.repo
-rw-r--r-- 1 root root 294 Jun 3 14:12 fedora.repo
-rw-r--r-- 1 root root 330 Jun 3 14:12 fedora-updates.repo
-rw-r--r-- 1 root root 337 Jun 3 14:12 fedora-updates-testing.repo


Also checked the /etc/resolv.conf, it has the correct nameservers.
When I do a ping, it just hangs and when I type ctl+C , it comes up with 100% packet loss.

-------------------------------------------

[root@DougsDev4 ~]# ping www.google.com
PING www.l.google.com (64.233.161.104) 56(84) bytes of data.

--- www.l.google.com ping statistics ---
27 packets transmitted, 0 received, 100% packet loss, time 26006ms

--------------------------------------------

Any ideas ??

Thanks.
Ivan Ferreira
Honored Contributor

Re: yum update not working on Fedora Core 4

I think that another firewall is preventing ICMP packages (ping).

Can you browse to the servers listed in the /etc/yum.conf file?

What happens when you run yum check-update?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Kavitha Subramanian
Occasional Advisor

Re: yum update not working on Fedora Core 4

I googled and added
HTTP_PROXY= http://PROXY:PORT/
ftp_proxy=http://PROXY:PORT/
no_proxy=http://PROXY:PORT/

all in upper and lower case .

Now yum update gives me the error

Cannot open/read repomd.xml file for repository updates .
Kavitha Subramanian
Occasional Advisor

Re: yum update not working on Fedora Core 4

Problem fixed. Thanks to everyone who replied.

Here is what I did :

export HTTP_PROXY=http://@/
export FTP_PROXY=http://@/
export no_proxy=
export http_proxy=http://@/
export ftp_proxy=http://@/

yum update worked after the above proxy settings. I did not face this problem when I installed Fedora 4 and did the same RT install last time, now I wiped out the entire stuff on the machine and tried to do all over again from the beginning and I faced this issue.
Anyhow the problem is solved.

Thanks.
Kavitha Subramanian
Occasional Advisor

Re: yum update not working on Fedora Core 4

Closing the thread .