1 |
On Fri, 26 Oct 2001 18:10:10 +0200 (CEST) |
2 |
"Tom von Schwerdtner" <tvon@×××××.org> wrote: |
3 |
|
4 |
> > Instead of using ! why not add a CONFLICTS = " foo bar baz " line. |
5 |
> > Debian has Conflicts, Requires, Suggests and a few others. |
6 |
> > RedHat has Conflicts, Requires, PreRequires etc.. |
7 |
> > ("it" below refers to the dependency) |
8 |
> > Requires means it is required to *run* |
9 |
> > PreRequires means it must be installed and config'd for the package |
10 |
> > to install |
11 |
> |
12 |
> Debian's "conflicts" are only conflicts in the sense that the Debian |
13 |
> package management system (or practices) make it so. There is no reason |
14 |
> why you cant have 4 httpd servers and every DBMS on the planet installed |
15 |
> on your system. Granted, in most cases you only need one httpd server |
16 |
> or |
17 |
> one DBMS, but you shouldnt need to work around the package mangement |
18 |
> system to get what you want. |
19 |
|
20 |
Debian's "conflicts" don't prevent more than 1 httpd from being |
21 |
installed -- they prevent a case like this: |
22 |
|
23 |
Package: foo |
24 |
Conflicts: bar |
25 |
|
26 |
Package: bar |
27 |
<notice, no Conflicts line> |
28 |
|
29 |
You install foo, then want to install bar. |
30 |
it would complain, saying, "hey, you can't do that without |
31 |
damaging the install of foo!" |
32 |
|
33 |
You install bar, and want to install foo. |
34 |
... |
35 |
|
36 |
Conflicts are more useful when two packages really do conflict, |
37 |
not at the purpose level, but at the filesystem level. |
38 |
|
39 |
Which reminds me. On my Debian box, I can install |
40 |
gcc-2.95.X *and* gcc-3.0 and both are available and both |
41 |
are seperate. I choose which I want to use by calling |
42 |
either gcc (gcc-2.95.X) or gcc-3.0 (gcc-3.0), something that |
43 |
can often be set in configure scripts like this: |
44 |
|
45 |
CC=gcc-3.0 ./configure |
46 |
|
47 |
|
48 |
-- |
49 |
Jon Nelson |
50 |
jnelson@×××××××.net |
51 |
C and Python Programmer |
52 |
Motorcycle Enthusiast |