LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fedora 7 yum squid error (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-7-yum-squid-error-603917/)

sumesh.pt 12-02-2007 08:16 AM

fedora 7 yum squid error
 
I had fedora 6 installed in a 64 bit machine. I upgraded that to fedora 7 recently. since then yum is not working. I connect to internet via proxy. I can accesss other services. but yum gives the error. for eg:

Code:

[root@onsager ~]# yum -y update
Loading "installonlyn" plugin
Setting up Update Process
http://opensource.nchc.org.tw/fedora...ry.sqlite.bz2: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirrors.cytanet.com.cy/linux/...ry.sqlite.bz2: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://ftp.ncnu.edu.tw/Linux/Fedora/...ry.sqlite.bz2: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirror.yandex.ru/fedora/linux...ry.sqlite.bz2: [Errno 14] HTTP Error 403: Server: squid/2.5.STABLE4
Mime-Version: 1.0
Date: Sun, 02 Dec 2007 13:20:20 GMT
Content-Type: text/html
Content-Length: 1205
Expires: Sun, 02 Dec 2007 13:20:20 GMT
X-Squid-Error: ERR_ACCESS_DENIED 0
X-Cache: MISS from jncproxy.jncasr.ac.in
Proxy-Connection: close

Trying other mirror.
Error: failure: repodata/primary.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.
[root@onsager ~]#


Can anyone help me? I have no idea whats goin on?

Thanks & Regards,

acid_kewpie 12-02-2007 12:12 PM

well squid is telling you where to go... suggests the infrastrcuture you are going through is configured this way. are you able to talk to the admins of jncproxy.jncasr.ac.in?

sumesh.pt 12-03-2007 02:40 AM

Thanks for the suggestion. But what you man by this?
Quote:

are you able to talk to the admins of jncproxy.jncasr.ac.in?
Did you mean that whether I can connect to network or something?
Regards,

acid_kewpie 12-03-2007 06:42 AM

that squid error is down to a single mirror. is that your proxy where you work or something? if so then i meant you talk to whoever in IT is responsile for the policy on that machine.

at a wider level though, you are generally just getting timeouts. that suggests you either have no local network connection - please verify this. alternatively you are firewalled by your network infrastructure from getting where you want to go.. can you ping those domains? access the web addresses within a browser?

sumesh.pt 12-03-2007 09:20 AM

Quote:

is that your proxy where you work or something? if so then i meant you talk t0
Yes thats correct. its the proxy i'm using. I wud talk to IT guys.
Quote:

either have no local network connection - please verify this.
i hav a lan connection. i can connect to other computers on the system. i can ping. i can access the web with a browser.
Quote:

you are firewalled by your network infrastructure from getting where you want to go
How do I find out whether I am firewalled?

Thanks a lot,
Sumesh

acid_kewpie 12-03-2007 11:23 AM

you ask the people in charge of the network.

sumesh.pt 12-04-2007 06:53 AM

Quote:

Originally Posted by acid_kewpie (Post 2978660)
you ask the people in charge of the network.

Apparently they dont seem to be able to help. and I tried myself and messed up everything.
I happened to install an old version of yum 2.0.7. It doesnt work. I want to uninstall it and install the latest. Now I face these problems.

Code:

[root@onsager aditya]# rpm -e yum
error: Failed dependencies:
        yum = 3.2.0-1.fc7 is needed by (installed) yum-updatesd-3.2.0-1.fc7.noarch
        yum >= 2.9.5 is needed by (installed) pirut-1.3.7-1.fc7.noarch
[root@onsager aditya]# sudo rpm -e yum
error: Failed dependencies:
        yum = 3.2.0-1.fc7 is needed by (installed) yum-updatesd-3.2.0-1.fc7.noarch
        yum >= 2.9.5 is needed by (installed) pirut-1.3.7-1.fc7.noarch
[root@onsager aditya]#

I then used rpm -e yum --nodeps. It looks like it removed a lot. Then i downloaded 3.2.8 and tried installing it. but now this is the problem.

Code:

[root@onsager yum]# ls
yum-3.2.7-1.src.rpm
[root@onsager yum]# rpm -ivh yum-3.2.7-1.src.rpm
warning: yum-3.2.7-1.src.rpm: Header V3 DSA signature: NOKEY, key ID 69886cc7
error: cannot create %sourcedir /usr/src/redhat/SOURCES
[root@onsager yum]#

what do i do?

Plz share your knowledge
--


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