emerge -DUup world, shows [blocks B ] net-mail/ssmtp ("virtual/mta" from pkg net-mail/ postfix-2.0.16) unmerging ssmtp and re-emerging postfix, results in : # emerge -Dup world Calculating world dependencies ...done! [ebuild N ] net-mail/ssmtp-2.60.4 Reproducible: Always Steps to Reproduce: 1.Install Gentoo 2.emerge postfix 3.Try to do deep upgrade, emerge -Du Actual Results: ssmtp, tends to get installed unecessarily, to satisfy the virtual/mta dependancy, which is satisfied by postfix. Expected Results: Would expect postfix to satisfy virtual/mta and prevent install of ssmtp even on deep upgrade emerge. Symptoms very similar to http://bugs.gentoo.org/show_bug.cgi?id=282 which has been fixed, but emerge -D seems to expose similar issue.
Please check the virtual/mta line in your /var/cache/edb/virtuals once you've postfix installed. It should read "virtual/mta net-mail/postfix", if it is different try to change it and report if it fixed the problem.
This is strange! It had "virtual/mta net-mail/ssmtp", as I expected, but when I editted the file, so that virtual/mta net-mail/postfix was present, it still wants to install net-mail/ssmtp! Perhaps something else is depending (incorrectly) on net-mail/ssmtp rather than virtual/mta, how can I check? Could a dependancy of another package (installed as a dependancy), be pulling it in, which is why this shows up when emerge -Du is used?
Does the ebuild update postfix-2.0.16-r1 set the virtual/mta back to net-mail/ssmtp? This appeared to happen this morning, so I've reset virtual/mta to net-mail/postfix. The emerge -Dup world still marks ssmtp-2.60.4 as [ebuild N]. I've another open bug now, "emerge -up world" wants to install a new package, ssh-3.2.5, for no apperent reason, mention it in case it's not an ebuild bug, but some related problem http://bugs.gentoo.org/show_bug.cgi?id=29651
This bug is still alive and kicking! Anyone using postfix must be used to it by now..
I have a similar problem. I have sendmail installed. I tried to emerge mod_php, which resulted in: emerge -p mod_php These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] app-crypt/mhash-0.8.18-r1 [ebuild N ] media-libs/freetype-2.1.4 [ebuild N ] media-libs/pdflib-4.0.3-r1 [ebuild N ] dev-libs/libmcrypt-2.5.7 [ebuild N ] dev-perl/XML-Parser-2.31-r1 [ebuild N ] app-text/sablotron-0.97 [ebuild N ] media-libs/t1lib-1.3.1 [ebuild N ] media-libs/freetype-1.3.1-r3 [ebuild N ] net-libs/libwww-5.4.0-r1 [ebuild N ] net-mail/ssmtp-2.48 [ebuild N ] dev-php/mod_php-4.3.3-r3 On a test box, I tried to really do it, and it resulted in that ssmtp wrote over some important files for sendmail (sendmail executable for example...)
This is fixed in test/development releases.
On my side /var/cache/edb/virtuals pointed to ssmtp and sendmail. I removed sstmp and now i'm happy. To get rid of the dependency for virtual/mta i've tried a emerge -e sendmail before, which showed some success, but now it is solved :-) Thx, Jan
closing