Christoph Martin a écrit :
this is a default debian lenny install. I cannot make it so the aptitude does not automaticaly add the recommended package to the mix:ADNET Ghislain schrieb:Package: mimedefangVersion: 2.64-6 i tried to install mimedefang with postfix on a debian lenny but the package forced me to remove postfix and install sendmail. There should not be imho such behavior as mimedefang can be used with postfix/sendmail and other mail system like axigen and therefor should not be tied to any of them. here is the result of aptitude install mimedefang on debian lenny : The following NEW packages will be installed: libconvert-binhex-perl{a} libdrm2{a} libfontenc1{a} libgl1-mesa-glx{a} libice6{a} libio-stringy-perl{a} libmilter1.0.1{a} libmime-tools-perl{a} libperl5.10{a} libsm6{a} libunix-syslog-perl{a} libxaw7{a} libxdamage1{a} libxfixes3{a} libxft2{a} libxi6{a} libxinerama1{a} libxmu6{a} libxrender1{a} libxt6{a} libxtst6{a} libxv1{a} libxxf86dga1{a} libxxf86vm1{a} m4{a} mimedefang sendmail{a} sendmail-base{a} sendmail-bin{a} sendmail-cf{a} sensible-mda{a} tcl8.3{a} tk8.3{a} x11-utils{a} xbitmaps{a} xterm{a} The following packages will be REMOVED: postfix{a} as you see it want to remove postfix. I needed to do that and then stop sendmail, purge sendmail and reinstall postfix. mimedefang can also be used over tcp in standalone mode and with other mail packages like the non free axigen and others. Could you have a look at this ?mimedefang does *not* depend on sendmail, it only Recommends it. It might be that you have a setting in apt/aptitude that installs recommends per default. Can you please verify this?
GUEST:myhost:/etc/mail%(root)> aptitude remove mimedefang Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following packages will be REMOVED: libconvert-binhex-perl{u} libdrm2{u} libfontenc1{u} libgl1-mesa-glx{u} libice6{u} libio-stringy-perl{u} libmilter1.0.1{u} libmime-tools-perl{u} libperl5.10{u} libsm6{u} libunix-syslog-perl{u} libxaw7{u} libxdamage1{u} libxfixes3{u} libxft2{u} libxi6{u} libxinerama1{u} libxmu6{u} libxrender1{u} libxt6{u} libxtst6{u} libxv1{u} libxxf86dga1{u} libxxf86vm1{u} mimedefang tcl8.3{u} tk8.3{u} x11-utils{u} xbitmaps{u} xterm{u} 0 packages upgraded, 0 newly installed, 30 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 14.2MB will be freed. Do you want to continue? [Y/n/?] Writing extended state information... Done (Reading database ... 64528 files and directories currently installed.) Removing mimedefang ... Shutting down mimedefang: [ OK ] Shutting down mimedefang-multiplexor: [ OK ] Removing libmime-tools-perl ... Removing libconvert-binhex-perl ... Removing x11-utils ... Removing libgl1-mesa-glx ... Removing libdrm2 ... Removing libfontenc1 ... Removing xterm ... Removing libxaw7 ... Removing libxmu6 ... Removing libxt6 ... Removing libsm6 ... Removing libice6 ... Removing libio-stringy-perl ... Removing libmilter1.0.1 ... Removing libperl5.10 ... Removing libunix-syslog-perl ... Removing libxdamage1 ... Removing libxfixes3 ... Removing libxft2 ... Removing libxi6 ... Removing libxinerama1 ... Removing libxrender1 ... Removing libxtst6 ... Removing libxv1 ... Removing libxxf86dga1 ... Removing libxxf86vm1 ... Removing tk8.3 ... Removing tcl8.3 ... Removing xbitmaps ... Processing triggers for man-db ... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done GUEST:myhost:/etc/mail%(root)> aptitude install mimedefang Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following packages are BROKEN: postfix-pcre The following NEW packages will be installed: libconvert-binhex-perl{a} libdrm2{a} libfontenc1{a} libgl1-mesa-glx{a} libice6{a} libio-stringy-perl{a} libmilter1.0.1{a} libmime-tools-perl{a} libperl5.10{a} libsm6{a} libunix-syslog-perl{a} libxaw7{a} libxdamage1{a} libxfixes3{a} libxft2{a} libxi6{a} libxinerama1{a} libxmu6{a} libxrender1{a} libxt6{a} libxtst6{a} libxv1{a} libxxf86dga1{a} libxxf86vm1{a} m4{a} mimedefang sendmail{a} sendmail-base{a} sendmail-bin{a} sendmail-cf{a} sensible-mda{a} tcl8.3{a} tk8.3{a} x11-utils{a} xbitmaps{a} xterm{a} The following packages will be REMOVED: postfix{a} 0 packages upgraded, 36 newly installed, 1 to remove and 0 not upgraded. Need to get 0B/7220kB of archives. After unpacking 16.8MB will be used. The following packages have unmet dependencies: postfix-pcre: Depends: postfix (= 2.5.5-1.1) but it is not installable The following actions will resolve these dependencies: Remove the following packages: postfix-pcre Score is 121 Accept this solution? [Y/n/q/?]you see i removed mimedefang then ask to install it and it want to remove postfix. I have no special settings in the debian apt config:
GUEST:myhost:/etc/mail%(root)> cat /etc/apt/apt.conf GUEST:myhost:/etc/mail%(root)> cat /etc/apt/apt.conf.d/* APT { NeverAutoRemove { "^linux-image.*"; "^linux-restricted-modules.*"; }; }; // Pre-configure all packages with debconf before they are installed. // If you don't like it, comment it out. DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";}; GUEST:myhost:/etc/mail%(root)>in lenny you have to specificaly ask aptitude -R , if not it will force the recommanded packages to be installed with the mimedefang one. I think this behavior is not a good solution as you install pakages that should not be unless you know how to prevent this with the '-R'. This is a behavior change in lenny i think as before recommended packages were not installed automaticaly.
-- Cordialement, Ghislain ADNET. AQUEOS.Attention ! Toute demande de support ou commande de domaine par email sera refusée, pour cela utilisez https://support.aqueos.net. Pour tout contact nos coordonnées : http://www.aqueos.com/aqueos-services-informatiques-societe.php
Fax: 01.72.70.32.66
smime.p7s
Description: S/MIME Cryptographic Signature