Il sab, 2004-07-24 alle 20:03, Fabio Tranchitella ha scritto: > But if I change the order of the packages apt doesn't try to install > apache (and this is right, of course) but try to install apache-common > and apache-utils... !!! > > # apt-get install apache2 gallery > [ .. snip .. ] > The following NEW packages will be installed: > apache-common apache-utils apache2 apache2-common apache2-mpm-worker > [ .. snip .. ]
Just wondering about apt... A package depends on "apache | apache-ssl | apache-perl | apache2, php4 | php4-cgi | libapache2-mod-php4". I know that apt automatically install the first package of a set of alternatives, so if I run: # apt-get install thepackage It will install apache and php4, and it's right. But if I run: # apt-get install apache2 thepackage It tries to install apache2 and php4. The last one is not designed for apache2 and depends on apache-common and apache-utils... Result: I won't have apache2 with php4 support but I'll have php4 support for apache1.3 which is not installed. Is it possible to specify related alternative dependency? I'm thinking about something like this: Depends: [apache, php4] | [apache2, libapache2-mod-php4] | .... Yes, I know there are 1000 better syntax to handle it, but this is only an example. Thanks, Fabio. -- Fabio Tranchitella <!> kobold.it, Turin, Italy - Free is better! ----------------------------------------------------------------------- <http://www.kobold.it>, <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> ----------------------------------------------------------------------- GPG Key fingerprint: 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564
signature.asc
Description: Questa parte del messaggio è firmata