Forums

Skip to content

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

postfix blocking ssmtp

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
spottraining
n00b
n00b
User avatar
Posts: 73
Joined: Sun Jan 30, 2005 4:13 pm
Location: Estonia
Contact:
Contact spottraining
Website

postfix blocking ssmtp

  • Quote

Post by spottraining » Wed Sep 17, 2008 9:20 am

Hi

I have problem with upgrading software at my server. In some reason, system wants to install ssmtp. I am using Postfix at my server. Postfix is bloking ssmtp. So I can't upgrade or recompile some of my packages.
Here is example:

Code: Select all

emerge -av php

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

Calculating dependencies /!!! Manifest file not found: '/usr/local/portage/www-servers/apache/Manifest'                                                       ... done!
[ebuild  N    ] mail-mta/ssmtp-2.62-r3  USE="ipv6 ssl -maxsysuid -md5sum" 56 kB
[ebuild   R   ] dev-lang/php-5.2.6-r6  USE="apache2 berkdb bzip2 calendar cli crypt curl exif ftp gd gdbm iconv imap ipv6 kerberos ldap mysql ncurses nls pcntl pcre posix readline reflection session sharedext sharedmem simplexml soap sockets spell spl ssl tidy tokenizer truetype unicode xml xsl zip zlib -adabas -bcmath -birdstep -cdb -cgi -cjk -concurrentmodphp -ctype -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -gd-external -gmp -hash -inifile -interbase -iodbc (-java-external) -json -kolab -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysqli -oci8 -oci8-instant-client -odbc -pdo -pic -postgres -qdbm -recode -sapdb -snmp -solid -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads -wddx -xmlreader -xmlrpc -xmlwriter -xpm -yaz -zip-external" 0 kB
[blocks B     ] mail-mta/ssmtp (is blocking mail-mta/postfix-2.2.11-r1)
[blocks B     ] mail-mta/postfix (is blocking mail-mta/ssmtp-2.62-r3)

Total: 2 packages (1 new, 1 reinstall, 2 blocks), Size of downloads: 56 kB

!!! Error: The above package list contains packages which cannot be installed
!!!        at the same time on the same system.

For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

emerge --info
emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-3.4.6, glibc-2.6.1-r0, 2.6.15-gentoo-r7-bootcd i686)
=================================================================
System uname: 2.6.15-gentoo-r7-bootcd i686 Pentium III (Coppermine)
Timestamp of tree: Sat, 13 Sep 2008 15:15:01 +0000
app-shells/bash: 3.2_p33
dev-lang/python: 2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r2
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -mtune=pentium3 -fomit-frame-pointer -pipe -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium3 -mtune=pentium3 -fomit-frame-pointer -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles/"
LDFLAGS="-Wl,-O1"
LINGUAS="en et"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="acl acpi adns apache2 authdaemond berkdb bluetooth branding bzip2 bzlib cairo cdr cli cracklib crypt cups curl dba dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran ftp gd gdbm gif gpm gstreamer hal iconv imap innodb ipv6 isdnlog javascript jpeg kerberos latin1 libnotify mad maildir midi mikmod mime mod_php mod_ssl mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl php png ppds pppd python qt3support qt4 quicktime readline reflection sasl sdl session sharedext slang sockets softquota spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vhosts vorbis win32codecs x86 xml xml2 xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en et" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
How to solve this situation?
Sorry about bad English - I am learning....

The box said Windows XP or better, so I installed Linux
Top
AllenJB
Veteran
Veteran
User avatar
Posts: 1285
Joined: Fri Sep 02, 2005 10:47 am
Contact:
Contact AllenJB
Website

  • Quote

Post by AllenJB » Wed Sep 17, 2008 9:42 am

Run "emerge -pvt php" - it'll give you a better view of why ssmtp is being pulled in. The version of postfix you have installed is old - I suspect that the package for that version is missing something that is expected to be there to correctly fulfill the dependencies. You should consider upgrading (from a security point of view too!)
Top
spottraining
n00b
n00b
User avatar
Posts: 73
Joined: Sun Jan 30, 2005 4:13 pm
Location: Estonia
Contact:
Contact spottraining
Website

  • Quote

Post by spottraining » Wed Sep 17, 2008 9:53 am

AllenJB wrote:Run "emerge -pvt php" - it'll give you a better view of why ssmtp is being pulled in. The version of postfix you have installed is old - I suspect that the package for that version is missing something that is expected to be there to correctly fulfill the dependencies. You should consider upgrading (from a security point of view too!)
emerge -pvt php

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

Calculating dependencies /!!! Manifest file not found: '/usr/local/portage/www-servers/apache/Manifest' ... done!
[ebuild R ] dev-lang/php-5.2.6-r6 USE="apache2 berkdb bzip2 calendar cli crypt curl exif ftp gd gdbm iconv imap ipv6 kerberos ldap mysql ncurses nls pcntl pcre posix readline reflection session sharedext sharedmem simplexml soap sockets spell spl ssl tidy tokenizer truetype unicode xml xsl zip zlib -adabas -bcmath -birdstep -cdb -cgi -cjk -concurrentmodphp -ctype -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -gd-external -gmp -hash -inifile -interbase -iodbc (-java-external) -json -kolab -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysqli -oci8 -oci8-instant-client -odbc -pdo -pic -postgres -qdbm -recode -sapdb -snmp -solid -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads -wddx -xmlreader -xmlrpc -xmlwriter -xpm -yaz -zip-external" 0 kB
[ebuild N ] mail-mta/ssmtp-2.62-r3 USE="ipv6 ssl -maxsysuid -md5sum" 56 kB
[blocks B ] mail-mta/postfix (is blocking mail-mta/ssmtp-2.62-r3)
[blocks B ] mail-mta/ssmtp (is blocking mail-mta/postfix-2.2.11-r1)

Total: 2 packages (1 new, 1 reinstall, 2 blocks), Size of downloads: 56 kB


About Postfix upgrading - I am thinking about that, but I have old system with VHCS2 and I dont know, how new postfix will work with VHCS2
Sorry about bad English - I am learning....

The box said Windows XP or better, so I installed Linux
Top
Peach
Advocate
Advocate
User avatar
Posts: 3686
Joined: Sat Mar 08, 2003 9:00 pm
Location: London, UK
Contact:
Contact Peach
Website

  • Quote

Post by Peach » Wed Sep 17, 2008 12:56 pm

before emerging php you should take your decision upon the smtp to use (gentoo will emerge ssmpt by default upon first installation)
so generally when someone's emerging php, portage finds ssmtp already installed.
you should emerge one or the other, then you can emerge php.
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Top
chithanh
Retired Dev
Retired Dev
User avatar
Posts: 2158
Joined: Sat Aug 05, 2006 10:16 pm
Location: Berlin, Germany

  • Quote

Post by chithanh » Wed Sep 17, 2008 1:43 pm

decide whether you want postfix or ssmtp, then put the other in package.mask
Top
spottraining
n00b
n00b
User avatar
Posts: 73
Joined: Sun Jan 30, 2005 4:13 pm
Location: Estonia
Contact:
Contact spottraining
Website

  • Quote

Post by spottraining » Wed Sep 17, 2008 4:11 pm

I have postfix allready installed and it works.

I try with package mask.
Sorry about bad English - I am learning....

The box said Windows XP or better, so I installed Linux
Top
Peach
Advocate
Advocate
User avatar
Posts: 3686
Joined: Sat Mar 08, 2003 9:00 pm
Location: London, UK
Contact:
Contact Peach
Website

  • Quote

Post by Peach » Wed Sep 17, 2008 7:21 pm

spottraining wrote:I have postfix allready installed and it works.

I try with package mask.
Oh! I didn't understand that you already had postfix installed.
I've already stumbled upon such a issue, and there's several threads around this:
try to start from this one:
http://forums.gentoo.org/viewtopic-t-60 ... p+php.html

PS: maybe if a mod can join the threads too...
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Top
notHerbert
Advocate
Advocate
User avatar
Posts: 2228
Joined: Tue Mar 11, 2008 11:55 pm
Location: 45N 73W

  • Quote

Post by notHerbert » Thu Sep 18, 2008 4:39 pm

You could try with USE="mailwrapper" which will allow you to emerge both postfix and ssmtp.

Then after you get your postfix upgraded, you can unmerge mailwrapper and ssmtp and then re-emerge postfix.
:)
Top
AllenJB
Veteran
Veteran
User avatar
Posts: 1285
Joined: Fri Sep 02, 2005 10:47 am
Contact:
Contact AllenJB
Website

  • Quote

Post by AllenJB » Thu Sep 18, 2008 7:49 pm

notHerbert wrote:You could try with USE="mailwrapper" which will allow you to emerge both postfix and ssmtp.

Then after you get your postfix upgraded, you can unmerge mailwrapper and ssmtp and then re-emerge postfix.
:)
The mailwrapper USE flag is in the process of being removed. I believe it would also require emerging both packages to have it work.
Top
notHerbert
Advocate
Advocate
User avatar
Posts: 2228
Joined: Tue Mar 11, 2008 11:55 pm
Location: 45N 73W

  • Quote

Post by notHerbert » Thu Sep 18, 2008 9:22 pm

Oh well. It was a kind of conjuring type workaround anyway.
Top
Post Reply

10 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