Here's a simple question for you Debian aficionados:  Does the order
you list packages to install on the command line matter when using
aptitude?  This is on a very bare-bones squeeze (testing)
installation.

I've always thought it didn't and that dependency resolution wouldn't
care about the order you happen to list the packages in.  Also, I've
looked around and haven't seen any reason to think that order matters.

However, today while setting up a test system I ran "aptitude install
..." with a dozen or so packages listed in no particular order just to
make sure I remembered the package names correctly.  Aptitude had no
problems and prompted me to install everything.  I said "No" to the
installation prompt and then saved the package list to a text file and
sorted it.

Since my package list was correct and working, I ran aptitude again
and told it to install that (now sorted) list of packages.  This time
aptitude threw up an unmet dependencies warning.  I thought I'd
screwed up my packages, but checking showed the same packages, just in
a different order.  Pruning the list, I've got it down to these two
causing the problem:

This command has no dependency issues: aptitude install php5-gd imagemagick

This command complains about conflicts with libgd2-xpm and
libgd2-noxpm: aptitude install imagemagick php5-gd

I'd love it if anyone can help explain this behavior.

Thanks,

Nick
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to