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.
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, there.
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?
well it's dependency based. It sounds like you're maybe overwriting files common between two packages? That's not a good move if you've written these packages yourself.
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.
How does this relate to anaconda? i'm lost tbh. If you're personalizing an install, then you're surely using a kickstart to achieve personalization, no?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.