LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 11-15-2012, 03:06 AM   #1
chenjintao_ii
LQ Newbie
 
Registered: Dec 2011
Posts: 19

Rep: Reputation: Disabled
how do anaconda install package?


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?

Any help will be appreciated.
 
Old 11-15-2012, 04:11 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
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.
 
Old 11-15-2012, 08:38 PM   #3
chenjintao_ii
LQ Newbie
 
Registered: Dec 2011
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
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?
 
Old 11-16-2012, 02:05 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
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.
 
Old 11-16-2012, 03:38 AM   #5
chenjintao_ii
LQ Newbie
 
Registered: Dec 2011
Posts: 19

Original Poster
Rep: Reputation: Disabled
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.
 
Old 11-16-2012, 03:50 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
why would an rpm pop up a gui?? I don't follow.

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?
 
Old 11-18-2012, 07:24 PM   #7
chenjintao_ii
LQ Newbie
 
Registered: Dec 2011
Posts: 19

Original Poster
Rep: Reputation: Disabled
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.

thanks for your patient reply.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL5 anaconda package conflicts and how to resolve them? dann_radkov Red Hat 2 08-04-2012 05:20 PM
Fedora 8 - install error - starting anaconda install exited abnormally???? Simmo512 Fedora 2 08-01-2008 11:40 AM
install debian using anaconda abd_bela Debian 6 05-13-2004 07:24 AM
Help with 8.0 install - Anaconda fails jchim32 Linux - General 9 05-26-2003 11:35 AM
Redhat 7.1 Install, Anaconda Error? smoshea Linux - General 2 01-16-2003 07:54 AM


All times are GMT -5. The time now is 01:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration