1 |
On Wed, 2006-05-24 at 15:07 +0200, Ladislav Laska wrote: |
2 |
> Maybe pre-calculate dependecies and fix errors?...User-selected |
3 |
> packages should be preffered. |
4 |
|
5 |
Actually, a solution *might* be to *not* install the syslogger and cron |
6 |
daemon before "extra packages". |
7 |
|
8 |
Funny enough, portage is kinda brain dead. Check this out: |
9 |
|
10 |
# emerge -vp vixie-cron postfix |
11 |
|
12 |
These are the packages that I would merge, in order: |
13 |
|
14 |
Calculating dependencies ...done! |
15 |
[blocks B ] mail-mta/ssmtp (is blocking mail-mta/postfix-2.2.10) |
16 |
[ebuild N ] sys-process/cronbase-0.3.2 0 kB |
17 |
[ebuild N ] net-mail/mailbase-1 +pam 0 kB |
18 |
[ebuild N ] mail-mta/ssmtp-2.61 +ipv6 -mailwrapper -md5sum +ssl 0 |
19 |
kB |
20 |
[ebuild N ] sys-process/vixie-cron-4.1-r8 -debug +pam (-selinux) 0 |
21 |
kB |
22 |
[ebuild N ] dev-util/pkgconfig-0.20 -hardened 0 kB |
23 |
[ebuild N ] dev-libs/libpcre-6.3 -doc 0 kB |
24 |
[ebuild N ] mail-mta/postfix-2.2.10 -cdb -hardened +ipv6 -ldap |
25 |
-mailwrapper -mbox -mysql -nis +pam -postgres -sasl (-selinux) +ssl -vda |
26 |
0 kB |
27 |
|
28 |
Total size of downloads: 0 kB |
29 |
|
30 |
# emerge -vp postfix vixie-cron |
31 |
|
32 |
These are the packages that I would merge, in order: |
33 |
|
34 |
Calculating dependencies ...done! |
35 |
[ebuild N ] net-mail/mailbase-1 +pam 0 kB |
36 |
[ebuild N ] dev-util/pkgconfig-0.20 -hardened 0 kB |
37 |
[ebuild N ] dev-libs/libpcre-6.3 -doc 0 kB |
38 |
[ebuild N ] mail-mta/postfix-2.2.10 -cdb -hardened +ipv6 -ldap |
39 |
-mailwrapper -mbox -mysql -nis +pam -postgres -sasl (-selinux) +ssl -vda |
40 |
0 kB |
41 |
[ebuild N ] sys-process/cronbase-0.3.2 0 kB |
42 |
[ebuild N ] sys-process/vixie-cron-4.1-r8 -debug +pam (-selinux) 0 |
43 |
kB |
44 |
|
45 |
There were no changes made between the above two emerge calls. This is |
46 |
from an extracted stage3 with nothing else. |
47 |
|
48 |
I tested this with both portage 2.0.54 and 2.0.54-r2 and both get the |
49 |
same failure. Even portage 2.1_rc2 gets the same error. |
50 |
|
51 |
The problem is in how portage processes its dependency tree, really. |
52 |
Instead of processing each called package in order, it really should be |
53 |
taking them as a whole. It should not matter if I am using "emerge |
54 |
vixie-cron postfix" or "emerge postfix vixie-cron", but it does. This |
55 |
is a problem with our current virtuals system and how portage handles |
56 |
them. It also likely won't be fixed any time soon, unfortunately. |
57 |
|
58 |
> Or just make postfix default MTA |
59 |
|
60 |
This will never happen. The second we change from ssmtp, some jackass |
61 |
will want it switched to sendmail, then someone else will want exim. A |
62 |
MTA is one of those things that people get rabidly obsessive over having |
63 |
*their* version as default, almost as much as editors. The simple |
64 |
solution is for us to just stick by our guns and to not change it. |
65 |
|
66 |
Of course, we could also add a nice note in the Handbook to tell people |
67 |
to select "mailwrapper" for USE if they plan on adding an MTA, but the |
68 |
Handbook (networked version) hasn't even been updated for the Installer, |
69 |
and the USE selection screen is disabled for using GRP/networkless. |
70 |
|
71 |
> On 5/24/06, Andrew Gaffney <agaffney@g.o> wrote: |
72 |
> > Sieb, Glenn E (Glenn) wrote: |
73 |
> > > Greetings! |
74 |
> > > |
75 |
> > > If, using the GUI installer, you check Postfix as an optional package to install (I haven't tried other MTAs yet), ssmtp is _still_ installed and then collides with Postfix, causing the install to "fail." |
76 |
> > > |
77 |
> > > T'is a minor thing, as it's just as easy once the install is done to unmerge ssmtp and emerge postfix, I but thought someone should be made aware about the gotcha. |
78 |
> > |
79 |
> > It's a known issue with a known cause. We just haven't figured out a good |
80 |
> > solution, yet. |
81 |
> > |
82 |
> > -- |
83 |
> > Andrew Gaffney http://dev.gentoo.org/~agaffney/ |
84 |
> > Gentoo Linux Developer Installer Project |
85 |
> > -- |
86 |
> > gentoo-installer@g.o mailing list |
87 |
> > |
88 |
> > |
89 |
> |
90 |
> |
91 |
> -- |
92 |
> Regards Ladislav Laska |
93 |
> S pozdravem Ladislav Laska |
94 |
> |
95 |
-- |
96 |
Chris Gianelloni |
97 |
Release Engineering - Strategic Lead |
98 |
x86 Architecture Team |
99 |
Games - Developer |
100 |
Gentoo Linux |