FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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...
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.
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.
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
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.
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.
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.