Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. 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.
Click Here to receive this Complete Guide absolutely free.
i installed two packages(say, test1.rpm and test2.rpm) while installing CentOS, there's no dependency relationship between them. i want install test1.rpm firstly, but the fact is the test2.rpm was installed firstly. I don't want to add any dependency relationship, any method else can solve this problem? And what's the order of the software packages when the anaconda install them?
you can't control this with default package installation, but you could put a %post section into a kickstart script to install them as you see fit.
thanks for your reply. kickstart is not my choice, too.
I installed Centos many times, and the installation orders recorded in /root/install.log are all the same. Obviously it's not a random order. So what's the principle of the anaconda to decide the order?
i'll not overwrite any files, actually, both test1.rpm and test2.rpm can work independently, the only relationship is that test2.rpm will tell users on the GUI whether test1.rpm installed. Nevertheless, if test2.rpm installed earlier than test1.rpm, it is inconvenient to let test2.rpm tell users on the GUI that test1.rpm has installed...
Of course there are some other methods to fix this problem, but I want to change the installation order mostly.
i mean, after install the rpm package, it will show user a GUI to manage some function.
GUI is not relate to anaconda.
Anyway, your answer is that there's only two way to change the installation order: rpm dependency and kickstart.
i've add dependency for the two packages, though it's not a perfect solution.