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.
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.