LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-26-2005, 03:33 PM   #1
pavi
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Rep: Reputation: 0
Yum ....on FC4


I tried all the solutions on web ....
1. from stanton-finley.net/fedora_core_4_installation_notes.html#Yum
2. from fedorafaq.org
3. from home.gagme.com/greg/linux/fc4-tips.php
4. from shamsweb.50webs.com/faq.htm
---------------
Overall whats the result....???
High mess up of YUM with no use.
Many have posted right but I dont know why it doesn't work for me??
------
I disabled this livna repository as I heard it conflicts.
Whenever I try update yum it gives This

And Though it is not updated I try to install a RPM but I dont know even it fails!!
So please help me!!!
Atleast to start the Things again from first...
I mean I even tried yum clean all
----------------
Please help me... I am facing HELL with yum
PHP Code:
[root@localhost ~]# yum update
Setting up Update Process
Setting up repositories
jpackage
-generic-free     100% |=========================|  951 B    00:00
atrpms                    100
% |=========================|  951 B    00:00
jpackage
-distspecific-fre 100% |=========================|  951 B    00:00
kde
-redhat-all            100% |=========================|  951 B    00:00
gstreamer                 100
% |=========================|  951 B    00:00
kde
-redhat                100% |=========================|  951 B    00:00
jpackage
-generic-devel    100% |=========================|  951 B    00:00
updates                   100
% |=========================|  951 B    00:00
newrpms                   100
% |=========================|  951 B    00:00
release                   100
% |=========================|  951 B    00:00
nrpms                     100
% |=========================| 1.0 kB    00:00
freshrpms                 100
% |=========================|  951 B    00:00
extras                    100
% |=========================|  951 B    00:00
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packagesPlease wait.
---> 
Downloading header for tetex-latex to pack into transaction set.
tetex-latex-3.0-6.FC4.i38 100% |=========================|  16 kB    00:07
   dl
.atrpms.net/fc4-i386/redhat/updates/tetex-latex-3.0-6.FC4.i386.rpm: [Errno 4Socket Errortimed out
Trying other mirror
.
  
ayo.freshrpms.net/fedora/linux/4/i386/updates/tetex-latex-3.0-6.FC4.i386.rpm: [Errno 4IOErrorHTTP Error 404DateWed26 Oct 2005 20:10:57 GMT
Server
Apache/2.3.0-dev (Unix)
Content-Length340
Content
-Typetext/htmlcharset=iso-8859-1
Trying other mirror
.
tetex-latex-3.0-6.FC4.i38 100% |=========================|  80 kB    00:12
    download
.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/tetex-latex-3.0-6.FC4.i386.rpm: [Errno 4Socket Errortimed out
Trying other mirror
.
Errorfailuretetex-latex-3.0-6.FC4.i386.rpm from updates: [Errno 256No more mirrors to try. 
 
Old 10-26-2005, 04:19 PM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Looks like a problem in your yum.conf file:

Are you on a slow connection? I am and I used to get this type of error telling me I'd run out of mirrors all the time... until I made some small changes in /etc/yum.conf. At the end of the first block ther are two important variables: time-out and retry. Try setting them to higher values. That way you're less likely to run out of repos due to slow response.
 
Old 10-26-2005, 06:38 PM   #3
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
Add the following line to /etc/yum.conf (or change the value if it's already there).

timeout=300
 
Old 10-26-2005, 09:01 PM   #4
shams
Member
 
Registered: Jan 2004
Posts: 396

Rep: Reputation: 30
if you have any repos in the /etc/yum.conf remove them add the repos to the /etc/yum.repos.d, run the yum first with:
yum clean all
then run yum update, be patient, yum have problem with slow connection, when get the above error just try agian with yum update at least try 3 times and see the result, if with all of that efforts still not working can use apt-get, working fine with fedora core.
 
Old 10-26-2005, 09:54 PM   #5
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Rep: Reputation: 30
You're getting a timeout from the main update server (fedora.redhat.com), so it looks like you are on a slow connection. You may need to set the timeout to be more (as stated), or set some mirrors up to use.

Look at your /etc/yum.repos.d/fedora-upates.repo and see if you have this line..
Code:
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
if not, comment out the baseurl line (with #baseurl=http://.......) and then add the mirrorlist=http://.... line
hopefully you will get a mirror that isn't quite as used as the original fedora.redhat.com site since it is usually very overloaded and slow, which is especially helpful on a slower connection.
 
Old 10-27-2005, 05:41 AM   #6
pavi
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by shams
if you have any repos in the /etc/yum.conf remove them add the repos to the /etc/yum.repos.d, run the yum first with:
yum clean all
then run yum update, be patient, yum have problem with slow connection, when get the above error just try agian with yum update at least try 3 times and see the result, if with all of that efforts still not working can use apt-get, working fine with fedora core.
Mr sham I am waiting for U'r response . I followed even ur website instructions. first normally all repos are in repos.d folder.
Then after many failures I changed yum.conf to the one supplied in U'r website. That yum allways fails at this tates latex files.
 
Old 10-27-2005, 05:54 AM   #7
pavi
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Wink for every one

I dont think I am in a slow connection....
Mine is BSNL Broad band which gives 256 kbps but I get around 200 kbps.... Though it may sound slow to guys out there
 
Old 10-27-2005, 07:41 AM   #8
pavi
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Smile

Please give me a good yum.conf file ... one which works....
And other instructions how to get it working....
 
Old 10-27-2005, 08:54 AM   #9
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Rep: Reputation: 30
You should be fine on a 256kB connection.

Did you follow as I said and try adding some mirrors instead of using the main fedora.redhat.com server?
 
Old 10-27-2005, 10:34 AM   #10
pavi
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by FLOODS
You should be fine on a 256kB connection.

Did you follow as I said and try adding some mirrors instead of using the main fedora.redhat.com server?
Mine is not 256kB but its 256 kb connection.
I didnt try ur solution will do it now
 
Old 10-27-2005, 01:17 PM   #11
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
There's a good yum.conf at the unofficial fedora FAQ (www.fedorafaq.org)
 
Old 10-27-2005, 01:26 PM   #12
pavi
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
I used it earlier...Plus there are no repo's n it...
please some one give a yum.conf with repo's or atleast ... how to add repo's... I was doing it since 5 days...yumming yumming...
so pls give me something that works....
 
Old 10-27-2005, 01:35 PM   #13
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Repos are best added seperately as per instructions at Stanton Finley
 
Old 10-27-2005, 01:44 PM   #14
pavi
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
So How shall I start ?
How to clean and create repo's... I deleted yum.repos.d folder..
 
Old 10-27-2005, 02:26 PM   #15
pavi
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Thumbs down try vlc installation

I tried to install vlc even though the update is failing..
So I tried #yum install videolan-client
Code:
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for videolan-client to pack into transaction set.
videolan-client-0.8.2-3.2 100% |=========================|  16 kB    05:00
http://ayo.freshrpms.net/fedora/linu....fc4.i386.rpm: [Errno 4] Socket Error: timed out
Trying other mirror.
videolan-client-0.8.2-3.2 100% |=========================|  16 kB    05:00
http://freshrpms.atrpms.net/fedora/l....fc4.i386.rpm: [Errno 4] Socket Error: timed out
Trying other mirror.
Error: failure: RPMS/videolan-client-0.8.2-3.2.fc4.i386.rpm from freshrpms: [Errno 256] No more mirrors to try.
Thats the result.. so the proble is from fresh rpm's rather than redhat or fedora official repository
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
apt vs yum on FC4 dazdaz Linux - Software 2 11-24-2005 05:10 AM
yum fc1 to fc4 reddwarf2956 Fedora 2 10-07-2005 10:20 PM
installing in FC4 ...yum ?? ALInux Linux - Software 5 08-19-2005 04:58 AM
FC4 yum broken after upgrade Kabuso Fedora 4 06-26-2005 04:49 PM
Can I yum completely to FC4? longblock454 Fedora 2 03-16-2005 01:59 PM


All times are GMT -5. The time now is 05:04 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration