Basically you need a few things to get yum to work: 1. The output of this tool can be fed into dotty graph visualization tool to generate a dependency graph image. Using repotrack to download rpm package and all dependencies repotrack is a program for keeping track of a particular package and its dependencies. Having a problem logging in? In a way, this is great because it allows programmers to make changes and update dependencies independently of the original package. This site uses Akismet to reduce spam. All I want to do is retrieve a complete dependency graph for a piece of software I specify obviously, i.
I know I could do it by installing everything with requires yum localinstall and then uninstalling the original packages, but the problem is that my set contains packages with both dependencies and conflicts in between them. If you've managed to upgrade your packages and want to downgrade to the older release, you can run yum downgrade packagename1 packagename2. What do we do about this? If it is not in the man pages or the how-to's this is the place! All in all, a pretty incomplete solution! You'll need to include the list of all the packages you want to downgrade, since it probably will involve a lot of dependencies. In general, the more recent a particular yum command, the safer it is to roll it back. These dependencies are separate packages that are needed for the original one to work. Yes, yes, I think so, and no.
Most responders recommend setting up a local repo. Notify me of followup comments via e-mail. Be careful because some dependencies that were installed with one yum command, might be necessary for other packages you might have installed afterwards. If I uninstall a package which had dependencies installed specifically for it, are the dependencies removed as well? Delivery powered by Google Feedburner. Yum has no similar feature. Delivery powered by Google Feedburner.
But your system would not be running if it did not have both glibc and glibc-common already installed. Support Xmodulo Did you find this tutorial helpful? The rpmreaper display is much easier to read and traverse. The following command queries all installed packages and shows the result. 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. I have found no difference in results with --recursive or --resolve when not using the --whatrequires command. Yum always uses 'rpm -Uvh' for install.
In this short tutorial, we will show you, how to list all installed packages with yum on. That means all the actions taken with a particular yum command will be reverted. So that if the current metadata downloaded is less than this many seconds old then yum will not update the metadata against the repository. Unless you're a system administrator, a developer, or someone who wants to automatically download and update packages not supported by repository, this not be worth the trouble. It's not exactly mind reading, I believe apt-get does this already.
All the other dependencies that were installed remain on the system. You can learn more about the tools mentioned in this blog post by reading the man page: man 8 yum Share this post:. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. As far as I can tell, for a --requires will return the same result, both with and without the --recursive option. Quote: Deleting Packages with Yum One should always exercise care when removing packages. And these packages might have additional dependencies as well. Yum will try to help you avoid possibly devastating side effects associated with package removal, but as is always the case with something like this, it does require that the user think carefully when using it.
For example, if I'm installing a pecl package and I currently have installed php-5. In order to see all packages, both installed and available, you can use the following command: yum list available Also, you can use grep to filter the output and list specific packages only. Notices I am trying to install tilp, a program for the link between a computer and a Texas Instruments calculator. Note that when using a metalink file the metalink must always be newer than the metadata for the repository, due to the validation, so this timeout also applies to the metalink file. Any help would be greatly appreciated Thank you, Luke P. The output will need some further processing to strip out the ascii art and make a minimal list.
Good luck though in your hobby. . I tried telling yum to install all the packages at the same time, though, the dependencies still fail to resolve though they are all in the directory. This works great — except for one problem. I don't know if it would be safe to force install without the dependencies even though I would install them later. As noticeable those outputs are incorrect which is no surprise after investigation. Yum can't read your mind and choose an arbitrary version unless you indicate what version in a requires or by versionlock-ing the pecl and php packages.
I would basically like something like yum-builddep, but for requires, not buildrequires. This utility queries the local yum database to find information about installed packages. Just starting out and have a question? Basically an installonly or install xxx -no-updates option. Then please be generous and Dan Nanni is the founder and also a regular contributor of Xmodulo. I find your answer useful, but it is kind of odd that you are forming your command. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. The yum database is a flat file key-value store generated by the yum command to store any package-specific information.