LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-15-2011, 04:49 PM   #1
vikashiiitdm
LQ Newbie
 
Registered: Oct 2011
Posts: 5

Rep: Reputation: Disabled
yum issue


i have seen that there are a lot of people having issues with yum saying "[Errno 14] curl#7 - "Couldn't connect"" ... i tried searching for it and found that instead of searching for the location "ftp://os.nchc.org.tw/dists/Fedora/linux/releases/15/Everything/x86_64/os/repodata/37db48e8e696e39f1aec5a3a566b30a4d2d328625a3a1f6f6bfb60e2362fbc42-prestodelta.xml.gz" the yum command is actually searching "ftp://os.nchc.org.tw/dists/Fedora/linux/releases/15/Everything/x86_64/os/repodata/37db48e8e696e39f1aec5a3a566b30a4d2d328625a3a1f6f6bfb60e2362fbc42-prestodelta.xml.gz:" and ain't getting any result as there ain't anything there (note the extra : in the end of the link).

hos should i solve it! any help would be highly appreciated!! as this might solve others problem also!

thank you & regards,

vikash
 
Old 10-15-2011, 05:25 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Welcome to LQ!!!

Did you contact Redhat to resolve this issue for you? I mean you have paid them for support so it worth contacting them. Isn't it?

How you say that yum is looking for a file with an extra : ?

How is your yum.conf file looks like? I mean how you have configured yum to pick up updates from this repo?
 
1 members found this post helpful.
Old 10-16-2011, 02:27 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
T3RM1NVT0R the OP is using fedora 15
not RHEL6

vikashiiitdm

from your massage it looks like presto is being used
it is a yum plugin that can cause no end of trouble .
when it works it is nice but it fails all the time .

wait a day or two and see if it self resolves

that said
90% of yum problems are related to a bad database file and can be solved this way
Code:
su -
yum clean all 
rpm --rebuilddb 
yum update
if "yum clean all " errors then
Code:
su -
rpm --rebuilddb 
yum clean all
yum update
 
1 members found this post helpful.
Old 10-16-2011, 05:05 AM   #4
vikashiiitdm
LQ Newbie
 
Registered: Oct 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
presto issue

thank you for your replies i tried following the steps you prescribed. the output was like

$ yum clean all

"Loaded plugins: langpacks, presto, refresh-packagekit
Cleaning repos: fedora rpmfusion-free rpmfusion-free-updates rpmfusion-nonfree
: rpmfusion-nonfree-updates updates
Cleaning up Everything
0 delta-package files removed, by presto"

$ rpm --rebuilddb didn't output anything
then i run yum update and the same happened

"Loaded plugins: langpacks, presto, refresh-packagekit
fedora/metalink | 12 kB 00:01
http://mirror.cse.iitk.ac.in/fedora/...ta/repomd.xml: [Errno 14] curl#7 - "Couldn't connect"
Trying other mirror.
http://fedora.iitm.ac.in/releases/15...ta/repomd.xml: [Errno 14] curl#7 - "Couldn't connect"
Trying other mirror.
ftp://ftp.iitm.ac.in/fedora/releases...ta/repomd.xml: [Errno 14] curl#7 - "Couldn't connect"
Trying other mirror.
http://www.ftp.ne.jp/Linux/distribut...ta/repomd.xml: [Errno 14] curl#7 - "Couldn't connect"
Trying other mirror.
http://ftp.riken.jp/Linux/fedora/rel...ta/repomd.xml: [Errno 14] curl#7 - "Couldn't connect"
Trying other mirror.
http://mirrors.ustc.edu.cn/fedora/li...ta/repomd.xml: [Errno 14] curl#7 - "Couldn't connect"
Trying other mirror.
http://mirrors.ispros.com.bd/fedora/...ta/repomd.xml: [Errno 14] curl#7 - "Couldn't connect"
Trying other mirror. "

i am using my system behind a proxy what should i do now it worked fine before i.e. last time when i updated it !
 
Old 10-16-2011, 05:11 AM   #5
vikashiiitdm
LQ Newbie
 
Registered: Oct 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by T3RM1NVT0R View Post
Welcome to LQ!!!

Did you contact Redhat to resolve this issue for you? I mean you have paid them for support so it worth contacting them. Isn't it?

How you say that yum is looking for a file with an extra : ?

How is your yum.conf file looks like? I mean how you have configured yum to pick up updates from this repo?
my yum.conf file looks like this :
Quote:
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3

# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

i am not using rhel i am using fedora 15 x86_64 bit edition . can i still contact'em for issues???
once again , thanks !
 
Old 10-16-2011, 08:24 AM   #6
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Apologies that I didnt realize that you are using Fedora. Naa, you cannot contact Redhat to get support :-)

I have seen this issue sometimes happens due to bad gateway configured in your route. Type the following command in the terminal and let use know the output:

Code:
route
 
Old 10-16-2011, 08:34 AM   #7
vikashiiitdm
LQ Newbie
 
Registered: Oct 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by T3RM1NVT0R View Post
Apologies that I didnt realize that you are using Fedora. Naa, you cannot contact Redhat to get support :-)

I have seen this issue sometimes happens due to bad gateway configured in your route. Type the following command in the terminal and let use know the output:

Code:
route
Quote:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.1.35.1 0.0.0.0 UG 0 0 0 eth0
10.1.35.0 * 255.255.255.0 U 1 0 0 eth0
192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0
route outputs this!
 
Old 10-16-2011, 12:54 PM   #8
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Route command output looks fine. Could you please paste the output of the following command:

Code:
/var/log/yum.log
Yes, you were right that it is looking for repomd.xml with an extra :

Could you please paste the contents of the files which are under:

/etc/yum.repos.d/

It appears to me as the link mentioned in one of the yum configuration file is incorrect.
 
Old 10-16-2011, 01:14 PM   #9
vikashiiitdm
LQ Newbie
 
Registered: Oct 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by T3RM1NVT0R View Post
Route command output looks fine. Could you please paste the output of the following command:

Code:
/var/log/yum.log
Yes, you were right that it is looking for repomd.xml with an extra :

Could you please paste the contents of the files which are under:

/etc/yum.repos.d/

It appears to me as the link mentioned in one of the yum configuration file is incorrect.
yes you are right, i don't know how but the solution said above to delete and rebuild the repositories i.e. rpmdb worked now and everything is working fine! thanks a lot for your help, but still i wanted to know that if the problem had been what i said earlier how could i've done it myself without applying the above mentioned sequence of commands and understanding no part of it! i meant how could i've changed my repository metadata to do what i wanted!
 
Old 10-16-2011, 07:40 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
so rebuilding the data base worked

then most likely the reason is
1) you are behind a router
2) the system ( but NOT yum ) updated to changes in ip's
3) yum / rpm location database dose not auto update to router changes

hence the yum program can become out of sync with the os

the same thing can happen if the mirrors change
 
1 members found this post helpful.
  


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 flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
Yum issue Centos_user Linux - Networking 2 03-06-2010 01:57 AM
Yum Issue tuftystick Linux - Newbie 3 01-20-2009 05:51 AM
Issue with YUM?? your_shadow03 Linux - Newbie 1 09-16-2008 07:04 AM
Yum Issue linuxnewbie82 Fedora 1 07-18-2006 12:16 AM

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

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