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 02-09-2009, 05:09 AM   #1
plenty
LQ Newbie
 
Registered: May 2008
Location: Russia
Distribution: Fedora, Slackware
Posts: 13

Rep: Reputation: 0
Issues with YUM?


Hi, all!
Last week I got problems with managing software by yum... I use Fedora 10 with last stable updates.
Every time I ran 'yum install package (or update)' I got the same error on all mirrors:
Code:
[Errno 12] Timeout: <urlopen error timed out>
Yum can't download packages at all. However, I'm able to ping or access this mirrors via firefox, lftp or wget.
I tried to:
1. Reinitialize yum (yum clean all && yum update).
2. Uncomment baseurl (remove '#' sign before 'baseurl' line).
3. Change baseurl.
4. Remove mirrorlist even...
But problem still is not solved. Any ideas?

Last edited by plenty; 02-10-2009 at 04:56 AM.
 
Old 02-09-2009, 09:52 PM   #2
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Try this;
Code:
yum clean all && yum clean metadata && yum clean dbcache && yum makecache && yum update
 
Old 02-10-2009, 05:13 AM   #3
plenty
LQ Newbie
 
Registered: May 2008
Location: Russia
Distribution: Fedora, Slackware
Posts: 13

Original Poster
Rep: Reputation: 0
Hi, alan_ri! Thanks for your answer.

I tried to do it, but the result was the same.
Also, I tried to ran:
Code:
yum clean all && yum -d3 makecache
The result was:
Code:
# yum clean all && yum -d3 makecache
Loaded plugins: refresh-packagekit
Cleaning up Everything
Loaded plugins: refresh-packagekit
Config time: 0.217
Yum Version: 3.2.21
COMMAND: yum -d3 makecache
Installroot: /
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=i386 error was
[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
fedora | 2.8 kB 00:00
fedora/filelists_db | 11 MB 00:43
fedora/other_db | 3.6 MB 00:14
fedora/group_gz | 335 kB 00:01
fedora/primary_db | 6.6 MB 00:25
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-10&... error was
[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
rpmfusion-free-updates | 2.7 kB 00:00
rpmfusion-free-updates/filelists_db | 76 kB 00:00
rpmfusion-free-updates/other_db | 62 kB 00:00
rpmfusion-free-updates/group_gz | 1.4 kB 00:00
rpmfusion-free-updates/primary_db | 158 kB 00:00
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-... error was
[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
rpmfusion-nonfree-updates | 2.7 kB 00:00
rpmfusion-nonfree-updates/filelists_db | 36 kB 00:00
rpmfusion-nonfree-updates/other_db | 41 kB 00:00
rpmfusion-nonfree-updates/group_gz | 1.0 kB 00:00
rpmfusion-nonfree-updates/primary_db | 81 kB 00:00
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-10&arch=i386 error was
[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
rpmfusion-free | 2.7 kB 00:00
rpmfusion-free/filelists_db | 269 kB 00:01
rpmfusion-free/other_db | 76 kB 00:00
rpmfusion-free/group_gz | 1.4 kB 00:00
rpmfusion-free/primary_db | 212 kB 00:01
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-10&arch=i386 error was
[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
rpmfusion-nonfree | 2.7 kB 00:00
rpmfusion-nonfree/filelists_db | 41 kB 00:00
rpmfusion-nonfree/other_db | 36 kB 00:00
rpmfusion-nonfree/group_gz | 937 B 00:00
rpmfusion-nonfree/primary_db | 68 kB 00:00
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f10&arc... error was
[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
updates | 2.3 kB 00:00
updates/filelists_db | 4.8 MB 00:18
updates/updateinfo | 357 kB 00:01
updates/other_db | 8.2 MB 00:33
updates/group | 1.4 MB 00:05
updates/primary_db | 2.3 MB 00:08
Metadata Cache Created
It took about 25-35 minutes! I guess it is too long, because my internet connection speed is about 256 Kb/s. After that I still have a problem with downloading packages.
I'll further check my gateway, and then I'll try to upgrade my OS from fedora-updates-testing repository...
 
Old 02-10-2009, 07:51 AM   #4
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
This looks like a DNS problem.Open /etc/resolv.conf and remove the ip address of your gateway and put there ip address of your ISP DNS server and save it.
 
Old 02-10-2009, 02:05 PM   #5
plenty
LQ Newbie
 
Registered: May 2008
Location: Russia
Distribution: Fedora, Slackware
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks a lot!
I just added lines with DNS IP of my ISP on first places and problem was solved!
 
Old 02-14-2009, 09:43 AM   #6
maxtwo
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 0
Hi,

I need to update with patches for my Java software running on 2000 RHEL4 servers connected on a network.I have placed following patch rpm files in my repository. This case is regarding insallation of update patches not a full package.

TestEDMSYUM-2.0.1-4.97.i386.rpm
TestEDMSYUM-2.0.1-4.96.i386.rpm

The first file(TestEDMSYUM-2.0.1-4.96.i386.rpm) is the latest patch which requires the second rpm (TestEDMSYUM-2.0.1-4.95.i386.rpm) to be installed before it. When i try to install these patches with yum update command, It gives me error message specifying that package not available as copied below.

Gathering header information file(s) from server(s)
Server: TestEDMSYUM-2.0 - Base
Server: TestEDMSYUM-2.0 - i386 - Released Updates
Finding updated packages
Downloading needed headers
TestEDMSYUM-0-2.0.1-4.97. 100% |=========================| 1.3 kB 00:00
Resolving dependencies
....Unable to satisfy dependencies
Package TestEDMSYUM needs TestEDMSYUM-2.0.1-4.96, this is not available.

YUM should resolve the dependency by dowloading the TestEDMSYUM-2.0.1-4.95.i386.rpm
from repository where the file already exists and header info is also updated.
Or is it possible to install all the patches one by one in sequence based on their release number as the rest of the filename will be same.
Can there be a new approach to this problem where all the patches are automatically installed without a dependency conflict. It is very important for me to ensure that previous patch is applied on the system

Waiting for a solution

Thanks
 
Old 02-14-2009, 10:08 AM   #7
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Well why don't you do this;
Code:
yum install TestEDMSYUM-2.0.1-4*
or install one patch after another starting with 95.
 
Old 02-14-2009, 12:08 PM   #8
maxtwo
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 0
I have to automate the patch install process for future application of pathces on 2000 servers as unattended installationusing a sceduled job.The command listed by you gets the lastest release only...For eg it will install TestEDMSYUM-2.0.1-4.97.i386.rpm in the mentioned case.The point to note is that the package name is same except the release number.The issue I face is that YUM does not downloads dependency rpm for a previous release of the same package. It starts working fine whenever I assign some other name to the dependency package.
I am using Yum 2.0.8 because it easily got installed on RHEL4. Please suggest if the problem can be solved using some other Yum package compatible with RHEL4.
 
Old 02-14-2009, 01:01 PM   #9
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
It looks like yum is configured in a way that it can't install different versions of the same package,but I'm not sure,I don't use Fedora anymore,so I guess the method of renaming packages is a good method to be used unless you will remaster yum.
 
Old 02-14-2009, 01:28 PM   #10
maxtwo
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 0
Thanks Alan,

Well..all I want is to automate installation of new patches on a big network from a central repository . I am still in planning phase to do this. Using YUM is not compulsory for me, anything else or some other approach will also work for me provided my requirement gets fulfilled.I am very open to anything else like apt,up2date,etc which can work well on RHEL4. Any suggestions/updates on this will be welcome.
 
Old 02-14-2009, 02:21 PM   #11
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Did you tried to use rpm command for this,something like;
Code:
rpm -ivh TestEDMSYUM-2.0.1-4.97.i386.rpm
You can add the --nodeps flag, as in the next example. RPM will skip the dependency checks and install the package anyway;
Code:
rpm -ivh --nodeps TestEDMSYUM-2.0.1-4.97.i386.rpm
With the second example in mind you can create a script that will install all the patches one after another because rpm will not complain about dependencies then.
See man rpm for more info.
 
Old 02-14-2009, 02:48 PM   #12
maxtwo
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 0
Currently the system is working the way you told that is by using the same rpm commands.But how will the patch updates will get automatically transferred from the central repository to those 2000 servers. An rpm can install package present on the system but who will get it from the repository
 
Old 02-14-2009, 02:54 PM   #13
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
How many servers you have?
 
Old 02-14-2009, 03:00 PM   #14
maxtwo
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 0
2000 servers which have to be updated from a single repository
 
Old 02-14-2009, 03:47 PM   #15
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Have a look here and here.
Post if you've found that useful.

Last edited by alan_ri; 02-14-2009 at 04:03 PM. Reason: adding info
 
  


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 issues short circut Fedora 1 07-10-2007 10:15 AM
YUM issues!!! kinyua Linux - Newbie 6 06-13-2007 02:02 AM
issues with yum in ps3 raim1312 Linux - Newbie 3 03-29-2007 04:50 PM
yum issues djljjm Linux - Software 3 01-30-2005 09:33 AM

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

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