Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Upgrading PHP - I have Postfix, Portage wants SSMTP

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
Clapper
Apprentice
Apprentice
User avatar
Posts: 177
Joined: Mon Sep 29, 2003 3:17 am

Upgrading PHP - I have Postfix, Portage wants SSMTP

  • Quote

Post by Clapper » Tue Oct 23, 2007 1:29 am

I am trying to do security upgrades on an old box. PHP needs to be updated.

When I try to upgrade it, it wants to install SSMTP, which it can't because Postfix is on there.

Can anyone tell me how to get pas this? Is it a use flag in PHP that is causing it to install SSMTP, or, should i be looking somewhere else to fix the conflict?

Code: Select all

emerge -pv php

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] mail-mta/ssmtp-2.61-r2  USE="ipv6 ssl -mailwrapper -md5sum" 53 kB 
[ebuild     U ] dev-lang/php-5.2.4_p20070914-r2 [5.2.1-r3] USE="apache2 berkdb cli crypt ctype gd gdbm iconv ipv6 mysql mysqli ncurses nls pcre readline reflection session spl ssl unicode xml zlib 

-adabas -bcmath -birdstep -bzip2 -calendar -cdb -cgi* -cjk -concurrentmodphp -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd-external -gmp -hash -imap -inifile -interbase -iodbc -java-external -json -kerberos -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -spell* -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -truetype -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip -zip-external (-apache%) (-pdo-external%)" 7,118 kB 

[blocks B     ] mail-mta/ssmtp (is blocking mail-mta/postfix-2.2.10)
[blocks B     ] mail-mta/postfix (is blocking mail-mta/ssmtp-2.61-r2)

Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9656
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Tue Oct 23, 2007 1:49 am

What's the output of

Code: Select all

cat /var/db/pkg/mail-mta/postfix-2.2.10/PROVIDE
Top
Clapper
Apprentice
Apprentice
User avatar
Posts: 177
Joined: Mon Sep 29, 2003 3:17 am

  • Quote

Post by Clapper » Tue Oct 23, 2007 1:55 am

Genone wrote:What's the output of

Code: Select all

cat /var/db/pkg/mail-mta/postfix-2.2.10/PROVIDE

Thanks for the response!
www ~ # cat /var/db/pkg/mail-mta/postfix-2.2.10/PROVIDE
virtual/mta virtual/mda
what am I learning here?
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9656
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Tue Oct 23, 2007 2:05 am

Odd. Usually ssmpt is brought in as a provider for virtual/mta (which is a dependency of php), but on your system that should already be satisfied by postfix as stated in the PROVIDE file. What does

Code: Select all

emerge -p --debug php
say?
(that's going to be a lot of output, so better post it on a pastebin site or upload it somewhere instead of posting it here directly)
Also the output of

Code: Select all

python -c "import portage; print portage.settings.getvirtuals()['virtual/mta']"
might be useful.
Top
Clapper
Apprentice
Apprentice
User avatar
Posts: 177
Joined: Mon Sep 29, 2003 3:17 am

  • Quote

Post by Clapper » Tue Oct 23, 2007 3:50 am

Thanks again for the response!

Output not too huge... here goes:
www ~ # emerge -p --debug php
myaction None
myopts {'--pretend': True, '--debug': True}

These are the packages that would be merged, in order:

Calculating dependencies
Parent: None
Depstring: dev-lang/php
Priority: soft
Candidates: ['dev-lang/php']
ebuild: dev-lang/php-5.2.4_p20070914-r2

Parent: ('ebuild', '/', 'dev-lang/php-5.2.4_p20070914-r2', 'merge')
Depstring: app-admin/php-toolkit apache2? ( =www-servers/apache-2* ) =sys-devel/automake-1.10* >=sys-devel/autoconf-2.61 sys-devel/libtool adabas? ( >=dev-db/unixODBC-1.8.13 ) berkdb? ( =sys-libs/db-4* ) birdstep? ( >=dev-db/unixODBC-1.8.13 ) bzip2? ( app-arch/bzip2 ) cdb? ( || ( dev-db/cdb dev-db/tinycdb ) ) cjk? ( !gd? ( !gd-external? ( >=media-libs/jpeg-6b media-libs/libpng sys-libs/zlib ) ) ) crypt? ( >=dev-libs/libmcrypt-2.4 ) curl? ( >=net-misc/curl-7.10.5 ) db2? ( >=dev-db/unixODBC-1.8.13 ) dbmaker? ( >=dev-db/unixODBC-1.8.13 ) empress? ( >=dev-db/unixODBC-1.8.13 ) empress-bcs? ( >=dev-db/unixODBC-1.8.13 ) esoob? ( >=dev-db/unixODBC-1.8.13 ) exif? ( !gd? ( !gd-external? ( >=media-libs/jpeg-6b media-libs/libpng sys-libs/zlib ) ) ) fdftk? ( app-text/fdftk ) firebird? ( dev-db/firebird ) gd? ( >=media-libs/jpeg-6b media-libs/libpng sys-libs/zlib ) gd-external? ( media-libs/gd ) gdbm? ( >=sys-libs/gdbm-1.8.0 ) gmp? ( >=dev-libs/gmp-4.1.2 ) iconv? ( virtual/libiconv ) imap? ( virtual/imap-c-client ) iodbc? ( dev-db/libiodbc >=dev-db/unixODBC-1.8.13 ) kerberos? ( virtual/krb5 ) ldap? ( !oci8? ( >=net-nds/openldap-1.2.11 ) ) ldap-sasl? ( !oci8? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 ) ) libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) ) mcve? ( >=dev-libs/openssl-0.9.7 ) mhash? ( app-crypt/mhash ) mssql? ( dev-db/freetds ) mysql? ( virtual/mysql ) mysqli? ( >=virtual/mysql-4.1 ) ncurses? ( sys-libs/ncurses ) nls? ( sys-devel/gettext ) oci8-instant-client? ( dev-db/oracle-instantclient-basic ) odbc? ( >=dev-db/unixODBC-1.8.13 ) postgres? ( >=dev-db/libpq-7.1 ) qdbm? ( dev-db/qdbm ) readline? ( sys-libs/readline ) recode? ( app-text/recode ) sapdb? ( >=dev-db/unixODBC-1.8.13 ) sharedmem? ( dev-libs/mm ) simplexml? ( >=dev-libs/libxml2-2.6.8 ) snmp? ( >=net-analyzer/net-snmp-5.2 ) soap? ( >=dev-libs/libxml2-2.6.8 ) solid? ( >=dev-db/unixODBC-1.8.13 ) spell? ( >=app-text/aspell-0.50 ) sqlite? ( =dev-db/sqlite-2* pdo? ( =dev-db/sqlite-3* ) ) ssl? ( >=dev-libs/openssl-0.9.7 ) sybase? ( dev-db/freetds ) tidy? ( app-text/htmltidy ) truetype? ( =media-libs/freetype-2* >=media-libs/t1lib-5.0.0 !gd? ( !gd-external? ( >=media-libs/jpeg-6b media-libs/libpng sys-libs/zlib ) ) ) wddx? ( >=dev-libs/libxml2-2.6.8 ) xml? ( >=dev-libs/libxml2-2.6.8 ) xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv ) xmlreader? ( >=dev-libs/libxml2-2.6.8 ) xmlwriter? ( >=dev-libs/libxml2-2.6.8 ) xpm? ( x11-libs/libXpm >=media-libs/jpeg-6b media-libs/libpng sys-libs/zlib ) xsl? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 ) zip? ( sys-libs/zlib ) zlib? ( sys-libs/zlib ) virtual/mta !media-libs/libswf >=sys-devel/m4-1.4.3 >=sys-devel/libtool-1.5.18
Priority: hard
Virtual Parent: virtual/libiconv-0
Virtual Depstring: elibc_Darwin? ( dev-libs/libiconv ) elibc_FreeBSD? ( dev-libs/libiconv ) elibc_NetBSD? ( dev-libs/libiconv ) elibc_OpenBSD? ( dev-libs/libiconv ) elibc_DragonFly? ( dev-libs/libiconv )
Virtual Parent: virtual/mysql-5.0
Virtual Depstring: || ( =dev-db/mysql-5.0* =dev-db/mysql-community-5.0* )
Virtual Parent: virtual/mysql-4.1
Virtual Depstring: =dev-db/mysql-4.1*
Virtual Parent: virtual/mysql-4.0
Virtual Depstring: || ( =dev-db/mysql-4.0* )
Virtual Parent: virtual/mysql-5.0
Virtual Depstring: || ( =dev-db/mysql-5.0* =dev-db/mysql-community-5.0* )
Virtual Parent: virtual/mysql-4.1
Virtual Depstring: =dev-db/mysql-4.1*
Candidates: ['sys-libs/zlib', 'media-libs/libpng', '>=dev-libs/openssl-0.9.7', '>=sys-libs/gdbm-1.8.0', '=sys-devel/automake-1.10*', '=virtual/mysql-5.0', '=dev-db/mysql-5.0*', 'sys-libs/readline', '>=dev-libs/libmcrypt-2.4', '>=media-libs/jpeg-6b', '>=dev-libs/libxml2-2.6.8', '=sys-libs/db-4*', 'mail-mta/ssmtp', '=www-servers/apache-2*', '=virtual/libiconv-0', '!media-libs/libswf', '>=sys-devel/m4-1.4.3', 'sys-libs/ncurses', 'app-admin/php-toolkit', '>=sys-devel/libtool-1.5.18', 'sys-devel/libtool', 'sys-devel/gettext', '>=sys-devel/autoconf-2.61']
ebuild: mail-mta/ssmtp-2.61-r2

Parent: ('ebuild', '/', 'mail-mta/ssmtp-2.61-r2', 'merge')
Depstring: virtual/libc ssl? ( dev-libs/openssl )
Priority: hard
Candidates: ['sys-libs/glibc', 'dev-libs/openssl']
Exiting... ('ebuild', '/', 'mail-mta/ssmtp-2.61-r2', 'merge')

Parent: ('ebuild', '/', 'mail-mta/ssmtp-2.61-r2', 'merge')
Depstring: mailwrapper? ( >=net-mail/mailwrapper-0.2 ) !mailwrapper? ( !virtual/mta ) net-mail/mailbase ssl? ( dev-libs/openssl )
Priority: medium
Candidates: ['!mail-mta/postfix', 'net-mail/mailbase', '!mail-mta/ssmtp', 'dev-libs/openssl']
Exiting... ('ebuild', '/', 'mail-mta/ssmtp-2.61-r2', 'merge')
Exiting... ('ebuild', '/', 'dev-lang/php-5.2.4_p20070914-r2', 'merge')

Parent: ('ebuild', '/', 'dev-lang/php-5.2.4_p20070914-r2', 'merge')
Depstring: app-admin/php-toolkit apache2? ( =www-servers/apache-2* ) adabas? ( >=dev-db/unixODBC-1.8.13 ) berkdb? ( =sys-libs/db-4* ) birdstep? ( >=dev-db/unixODBC-1.8.13 ) bzip2? ( app-arch/bzip2 ) cdb? ( || ( dev-db/cdb dev-db/tinycdb ) ) cjk? ( !gd? ( !gd-external? ( >=media-libs/jpeg-6b media-libs/libpng sys-libs/zlib ) ) ) crypt? ( >=dev-libs/libmcrypt-2.4 ) curl? ( >=net-misc/curl-7.10.5 ) db2? ( >=dev-db/unixODBC-1.8.13 ) dbmaker? ( >=dev-db/unixODBC-1.8.13 ) empress? ( >=dev-db/unixODBC-1.8.13 ) empress-bcs? ( >=dev-db/unixODBC-1.8.13 ) esoob? ( >=dev-db/unixODBC-1.8.13 ) exif? ( !gd? ( !gd-external? ( >=media-libs/jpeg-6b media-libs/libpng sys-libs/zlib ) ) ) fdftk? ( app-text/fdftk ) firebird? ( dev-db/firebird ) gd? ( >=media-libs/jpeg-6b media-libs/libpng sys-libs/zlib ) gd-external? ( media-libs/gd ) gdbm? ( >=sys-libs/gdbm-1.8.0 ) gmp? ( >=dev-libs/gmp-4.1.2 ) iconv? ( virtual/libiconv ) imap? ( virtual/imap-c-client ) iodbc? ( dev-db/libiodbc >=dev-db/unixODBC-1.8.13 ) kerberos? ( virtual/krb5 ) ldap? ( !oci8? ( >=net-nds/openldap-1.2.11 ) ) ldap-sasl? ( !oci8? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 ) ) libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) ) mcve? ( >=dev-libs/openssl-0.9.7 ) mhash? ( app-crypt/mhash ) mssql? ( dev-db/freetds ) mysql? ( virtual/mysql ) mysqli? ( >=virtual/mysql-4.1 ) ncurses? ( sys-libs/ncurses ) nls? ( sys-devel/gettext ) oci8-instant-client? ( dev-db/oracle-instantclient-basic ) odbc? ( >=dev-db/unixODBC-1.8.13 ) postgres? ( >=dev-db/libpq-7.1 ) qdbm? ( dev-db/qdbm ) readline? ( sys-libs/readline ) recode? ( app-text/recode ) sapdb? ( >=dev-db/unixODBC-1.8.13 ) sharedmem? ( dev-libs/mm ) simplexml? ( >=dev-libs/libxml2-2.6.8 ) snmp? ( >=net-analyzer/net-snmp-5.2 ) soap? ( >=dev-libs/libxml2-2.6.8 ) solid? ( >=dev-db/unixODBC-1.8.13 ) spell? ( >=app-text/aspell-0.50 ) sqlite? ( =dev-db/sqlite-2* pdo? ( =dev-db/sqlite-3* ) ) ssl? ( >=dev-libs/openssl-0.9.7 ) sybase? ( dev-db/freetds ) tidy? ( app-text/htmltidy ) truetype? ( =media-libs/freetype-2* >=media-libs/t1lib-5.0.0 !gd? ( !gd-external? ( >=media-libs/jpeg-6b media-libs/libpng sys-libs/zlib ) ) ) wddx? ( >=dev-libs/libxml2-2.6.8 ) xml? ( >=dev-libs/libxml2-2.6.8 ) xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv ) xmlreader? ( >=dev-libs/libxml2-2.6.8 ) xmlwriter? ( >=dev-libs/libxml2-2.6.8 ) xpm? ( x11-libs/libXpm >=media-libs/jpeg-6b media-libs/libpng sys-libs/zlib ) xsl? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 ) zip? ( sys-libs/zlib ) zlib? ( sys-libs/zlib ) virtual/mta !media-libs/libswf
Priority: medium
Virtual Parent: virtual/libiconv-0
Virtual Depstring: elibc_Darwin? ( dev-libs/libiconv ) elibc_FreeBSD? ( dev-libs/libiconv ) elibc_NetBSD? ( dev-libs/libiconv ) elibc_OpenBSD? ( dev-libs/libiconv ) elibc_DragonFly? ( dev-libs/libiconv )
Virtual Parent: virtual/mysql-5.0
Virtual Depstring: || ( =dev-db/mysql-5.0* =dev-db/mysql-community-5.0* )
Virtual Parent: virtual/mysql-4.1
Virtual Depstring: =dev-db/mysql-4.1*
Virtual Parent: virtual/mysql-4.0
Virtual Depstring: || ( =dev-db/mysql-4.0* )
Virtual Parent: virtual/mysql-5.0
Virtual Depstring: || ( =dev-db/mysql-5.0* =dev-db/mysql-community-5.0* )
Virtual Parent: virtual/mysql-4.1
Virtual Depstring: =dev-db/mysql-4.1*
Candidates: ['sys-libs/zlib', 'app-admin/php-toolkit', 'media-libs/libpng', '=dev-db/mysql-5.0*', '=www-servers/apache-2*', '=virtual/mysql-5.0', 'sys-libs/readline', '>=dev-libs/libmcrypt-2.4', '!media-libs/libswf', '=virtual/libiconv-0', '>=media-libs/jpeg-6b', '>=dev-libs/libxml2-2.6.8', '>=sys-libs/gdbm-1.8.0', '>=dev-libs/openssl-0.9.7', '=sys-libs/db-4*', 'sys-devel/gettext', 'sys-libs/ncurses', 'mail-mta/ssmtp']
ebuild: mail-mta/ssmtp-2.61-r2
Exiting... ('ebuild', '/', 'dev-lang/php-5.2.4_p20070914-r2', 'merge')

Parent: ('ebuild', '/', 'dev-lang/php-5.2.4_p20070914-r2', 'merge')
Depstring: doc? ( app-doc/php-docs ) filter? ( !dev-php5/pecl-filter ) java-external? ( dev-php5/php-java-bridge ) json? ( !dev-php5/pecl-json ) mcve? ( dev-php5/pecl-mcve ) pdo? ( !dev-php5/pecl-pdo ) suhosin? ( dev-php5/suhosin ) yaz? ( dev-php5/pecl-yaz ) zip? ( !dev-php5/pecl-zip ) zip-external? ( dev-php5/pecl-zip )
Reverse: True
Priority: soft
Candidates: []
Exiting... ('ebuild', '/', 'dev-lang/php-5.2.4_p20070914-r2', 'merge')
Exiting... None
... done!
[ebuild N ] mail-mta/ssmtp-2.61-r2 USE="ipv6 ssl -mailwrapper -md5sum"
[ebuild U ] dev-lang/php-5.2.4_p20070914-r2 [5.2.1-r3] USE="-cgi* -spell*"
[blocks B ] mail-mta/ssmtp (is blocking mail-mta/postfix-2.2.10)
[blocks B ] mail-mta/postfix (is blocking mail-mta/ssmtp-2.61-r2)



and here is the second output:



www ~ # python -c "import portage; print portage.settings.getvirtuals()['virtual/mta']"
['mail-mta/postfix', 'mail-mta/ssmtp']
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9656
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Tue Oct 23, 2007 2:30 pm

Hmm, I don't see any reason why it would pull in ssmtp, so please file a bug about it (and attach all the info I requested here).
Top
richard.scott
Veteran
Veteran
Posts: 1497
Joined: Mon May 19, 2003 5:19 pm
Location: Oxfordshire, UK
Contact:
Contact richard.scott
Website

  • Quote

Post by richard.scott » Thu Nov 15, 2007 12:48 pm

Genone wrote:Hmm, I don't see any reason why it would pull in ssmtp, so please file a bug about it (and attach all the info I requested here).
I tried that.... there is apparently a bug that has been open since 2002 on this one!

http://bugs.gentoo.org/show_bug.cgi?id=1343

I've noticed tho that the latest sys-apps/portage-2.1.3.19 seems to have fixed this issue!
(for me anyway)
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic