Problèmes de dépendances Exim4 suite mig en Squeeze

Bonjour,

Je me permets de venir demander un peu d’aide car je ne m’en sors pas depuis ce matin. en effet j’ai migré de Lenny vers Squeeze et j’ai des problèmes de dépendances avec Exim4 et du coup je n’arrive ni a le configurer ni a le désinstaller correctement.

J’ai également un problèmes avec les caractères accentués!

Merci pour votre aide.

[code]aptitude remove --purge exim4
Les paquets partiellement install�s suivants seront configur�s�:
exim4-base exim4-config exim4-daemon-light
Aucun paquet ne va �tre install�, mis � jour ou enlev�.
0 paquets mis � jour, 0 nouvellement install�s, 0 � enlever et 0 non mis � jour.
Il est n�cessaire de t�l�charger 0 o d’archives. Apr�s d�paquetage, 0 o seront utilis�s.
Les paquets suivants ont des d�pendances non satisfaites�:
sendmail: D�pend: sendmail-bin mais il ne sera pas install�.
Les actions suivantes permettront de r�soudre ces d�pendances�:

 Supprimer les paquets suivants�:
  1. sendmail                      
    

Accepter cette solution�? [Y/n/q/?] Y
Les paquets suivants seront ENLEV�S�:
sendmail{a}
Les paquets partiellement install�s suivants seront configur�s�:
exim4-base exim4-config exim4-daemon-light
0 paquets mis � jour, 0 nouvellement install�s, 1 � enlever et 0 non mis � jour.
Il est n�cessaire de t�l�charger 0 o d’archives. Apr�s d�paquetage, 258 ko seront lib�r�s.
Voulez-vous continuer�? [Y/n/?] Y
Param�trage de exim4-config (4.72-6+squeeze3) …
DEBCONFsomethingDEBCONF found in exim configuration. This is most probably
caused by you upgrading to exim4 4.67-3 or later without accepting the
suggested conffile changes. Please read
/usr/share/doc/exim4-config/NEWS.Debian.gz for 4.67-2 and 4.67-4
2013-11-20 13:15:08 Exim configuration error in line 644 of /var/lib/exim4/config.autogenerated.tmp:
missing rewrite replacement string
2013-11-20 13:15:08 Exim configuration error in line 644 of /var/lib/exim4/config.autogenerated.tmp:
missing rewrite replacement string
2013-11-20 13:15:08 Exim configuration error in line 644 of /var/lib/exim4/config.autogenerated.tmp:
missing rewrite replacement string
exim: could not open panic log - aborting: see message(s) above
Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing
/var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated
dpkg�: erreur de traitement de exim4-config (–configure)�:
le sous-processus script post-installation install� a retourn� une erreur de sortie d’�tat 1
configured to not write apport reports
dpkg�: des probl�mes de d�pendances emp�chent la configuration de exim4-base�:
exim4-base d�pend de exim4-config (>= 4.30) | exim4-config-2�; cependant�:
Le paquet exim4-config n’est pas encore configur�.
Le paquet exim4-config-2 n’est pas install�.
Le paquet exim4-config qui fournit exim4-config-2 n’est pas encore configur�.
dpkg�: erreur de traitement de exim4-base (–configure)�:
probl�mes de d�pendances - laiss� non configur
dpkg�: des probl�mes de d�pendances emp�chent la configuration de exim4-daemon-light�:
exim4-daemon-light d�pend de exim4-base (>= 4.72)�; cependant�:
Le paquet exim4-base n’est pas encore configur�.
configured to not write apport reports
configured to not write apport reports
dpkg�: erreur de traitement de exim4-daemon-light (–configure)�:
probl�mes de d�pendances - laiss� non configur
Des erreurs ont �t� rencontr�es pendant l’ex�cution�:
exim4-config
exim4-base
exim4-daemon-light
E: Sub-process /usr/bin/dpkg returned an error code (1)
�chec de l’installation d’un paquet. Tentative de r�paration�:
Param�trage de exim4-config (4.72-6+squeeze3) …
DEBCONFsomethingDEBCONF found in exim configuration. This is most probably
caused by you upgrading to exim4 4.67-3 or later without accepting the
suggested conffile changes. Please read
/usr/share/doc/exim4-config/NEWS.Debian.gz for 4.67-2 and 4.67-4
2013-11-20 13:15:10 Exim configuration error in line 644 of /var/lib/exim4/config.autogenerated.tmp:
missing rewrite replacement string
2013-11-20 13:15:10 Exim configuration error in line 644 of /var/lib/exim4/config.autogenerated.tmp:
missing rewrite replacement string
2013-11-20 13:15:10 Exim configuration error in line 644 of /var/lib/exim4/config.autogenerated.tmp:
missing rewrite replacement string
exim: could not open panic log - aborting: see message(s) above
Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing
/var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated
dpkg�: erreur de traitement de exim4-config (–configure)�:
le sous-processus script post-installation install� a retourn� une erreur de sortie d’�tat 1
dpkg�: des probl�mes de d�pendances emp�chent la configuration de exim4-base�:
exim4-base d�pend de exim4-config (>= 4.30) | exim4-config-2�; cependant�:
Le paquet exim4-config n’est pas encore configur�.
Le paquet exim4-config-2 n’est pas install�.
Le paquet exim4-config qui fournit exim4-config-2 n’est pas encore configur�.
dpkg�: erreur de traitement de exim4-base (–configure)�:
probl�mes de d�pendances - laiss� non configur
dpkg�: des probl�mes de d�pendances emp�chent la configuration de exim4-daemon-light�:
exim4-daemon-light d�pend de exim4-base (>= 4.72)�; cependant�:
Le paquet exim4-base n’est pas encore configur�.
dpkg�: erreur de traitement de exim4-daemon-light (–configure)�:
probl�mes de d�pendances - laiss� non configur
Des erreurs ont �t� rencontr�es pendant l’ex�cution�:
exim4-config
exim4-base
exim4-daemon-light
[/code]

Tente un [mono]dpkg-reconfigure locales[/mono] pour les lettres accentuées.
Pense à cocher UTF-8.

Pour le reste, je suis pas doué avec ça, mais il dit:

DEBCONFsomethingDEBCONF found in exim configuration. This is most probably caused by you upgrading to exim4 4.67-3 or later without accepting the suggested conffile changes. Please read /usr/share/doc/exim4-config/NEWS.Debian.gz for 4.67-2 and 4.67-4

Faut voir à quoi il fait référence, t’es allé voir [mono]/usr/share/doc/exim4-config/NEWS.Debian.gz[/mono] ?

exim4 en fait tu veux le désinstaller complètement ?

Si c’est le cas, que dit un:

# -s pour simulation... aptitude -s remove --purge exim4 exim4-base exim4-config exim4-daemon-light

Salut,

Est-ce un serveur local-(graphique ?)/distant en prod ?

Hormis exim4, ta migration vers Squeeze (il te reste encore Wheezy :wink: ) c’est-elle achevée correctement ?

Comment y es-tu pris, avec la doc officielle ?
Quelles étaient les commandes lancées pour ce faire (en ttyX ?) ?

Peux tu donner les retours suivants, s’il te plaît.

[quote=“pcsystemd”]le sous-processus script post-installation install� a retourn� une erreur de sortie d’�tat 1
configured to not write apport reports[/quote]

[quote=“pcsystemd”]This is most probably
caused by you upgrading to exim4 4.67-3 or later without accepting the
suggested conffile changes. Please read
/usr/share/doc/exim4-config/NEWS.Debian.gz for 4.67-2 and 4.67-4[/quote]

Comme le souligne Zbf, tu peux avoir une lecture direct (en console) du dit fichier [mono]$ zless /usr/share/doc/exim4-config/NEWS.Debian.gz[/mono]

* edit *

Et un copier/coller de ce qui suit.

* edit_1 *

$ aptitude why-not exim4 exim4-base exim4-config exim4-daemon-light

@Zbf

dpkg-reconfigure locales que j’avais déjà lancé mais je ne sais pourquoi defconf ne voulait rien savoir, a cette fois fonctionné en partie puisque certaines de mes applis web comme Request-Tracker a toujours un problème avec les caractères accentués.

Je souhaite garder exim4 mais comme j’avais des souci j’ai tenté de le désinstallé pour le réinstallé.

Pour le reste j’ai enfin réussis à supprimer Exim4.Mais maintenant je n’arrive pas la le reinstallé car j’ai ce message

[code]aptitude install exim4 exim4-base exim4-config exim4-daemon-light
The following NEW packages will be installed:
exim4 exim4-base exim4-config{b} exim4-daemon-light{b}
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2032 kB of archives. After unpacking 4141 kB will be used.
The following packages have unmet dependencies:
exim4-config: Conflicts: sendmail-bin but 8.14.3-9.4 is installed.
sendmail-bin: Conflicts: mail-transport-agent which is a virtual package.
exim4-daemon-light: Conflicts: mail-transport-agent which is a virtual package.
The following actions will resolve these dependencies:

 Remove the following packages:
  1. sendmail-bin                
    

Accept this solution? [Y/n/q/?] Y
The following NEW packages will be installed:
exim4 exim4-base exim4-config exim4-daemon-light
The following packages will be REMOVED:
sendmail-bin{a}
0 packages upgraded, 4 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B/2032 kB of archives. After unpacking 2150 kB will be used.
Do you want to continue? [Y/n/?] Y
E: Could not perform immediate configuration on ‘exim4’. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)[/code]

@BelZéButh
C’est un serveur local et non graphique.

Je souhaite pour le moment rester en Squeeze. J’ai migré en suivant la doc officielle comme j’ai fait pour les autres serveurs avec lesquels je n’ai pas eu de soucis particuliers.

Voici les retours demandés :

[code]dpkg -l | grep exim4

rc exim4-base 4.72-6+squeeze3 support files for all Exim MTA (v4) packages
rc exim4-config 4.72-6+squeeze3 configuration for the Exim MTA (v4)
rc exim4-daemon-heavy 4.72-6+squeeze3 Exim MTA (v4) daemon with extended features, including exiscan-acl
rc exim4-daemon-light 4.72-6+squeeze3 lightweight Exim MTA (v4) daemon[/code]

apt-cache policy exim4 exim4-base exim4-config exim4-daemon-light exim4: Installed: (none) Candidate: 4.72-6+squeeze3 Version table: 4.72-6+squeeze3 0 500 http://ftp.fr.debian.org/debian/ squeeze/main i386 Packages 500 http://security.debian.org/ squeeze/updates/main i386 Packages exim4-base: Installed: (none) Candidate: 4.72-6+squeeze3 Version table: 4.72-6+squeeze3 0 500 http://ftp.fr.debian.org/debian/ squeeze/main i386 Packages 500 http://security.debian.org/ squeeze/updates/main i386 Packages 100 /var/lib/dpkg/status exim4-config: Installed: (none) Candidate: 4.72-6+squeeze3 Version table: 4.72-6+squeeze3 0 500 http://ftp.fr.debian.org/debian/ squeeze/main i386 Packages 500 http://security.debian.org/ squeeze/updates/main i386 Packages 100 /var/lib/dpkg/status exim4-daemon-light: Installed: (none) Candidate: 4.72-6+squeeze3 Version table: 4.72-6+squeeze3 0 500 http://ftp.fr.debian.org/debian/ squeeze/main i386 Packages 500 http://security.debian.org/ squeeze/updates/main i386 Packages 100 /var/lib/dpkg/status

aptitude search -c aptitude: invalid option -- 'c' aptitude 0.6.3 Usage: aptitude [-S fname] [-u|-i] aptitude [options] <action> ... Actions (if none is specified, aptitude will enter interactive mode):

uname -a && lsb_release -a Linux cuba 2.6.26-2-686 #1 SMP Thu Jan 27 00:28:05 UTC 2011 i686 GNU/Linux No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 6.0.8 (squeeze) Release: 6.0.8 Codename: squeeze

apt-cache policy libc6 libc6: Installed: 2.11.3-4 Candidate: 2.11.3-4 Version table: *** 2.11.3-4 0 500 http://ftp.fr.debian.org/debian/ squeeze/main i386 Packages 100 /var/lib/dpkg/status

ls -lU /var/lib/exim4 total 64 -rw-r----- 1 root Debian-exim 17764 Nov 20 13:25 config.autogenerated.tmp -rw-r----- 1 root Debian-exim 22836 Feb 16 2009 config.autogenerated -rw-r----- 1 root Debian-exim 17784 Jul 20 2010 _config.autogenerated.tmp

voir fichier joint car trop long

voir fichier joint car trop long

ls -la /var/lib/dpkg/status* -rw-r--r-- 1 root root 634417 Nov 20 13:49 /var/lib/dpkg/status -rw-r--r-- 1 root root 635944 Nov 20 13:45 /var/lib/dpkg/status-old

voir fichier joint car trop long

ls -la /var/lib/dpkg/info/exim4* -rw-r--r-- 1 root root 172 Nov 20 13:31 /var/lib/dpkg/info/exim4-base.list -rwxr-xr-x 1 root root 2062 Oct 25 2012 /var/lib/dpkg/info/exim4-base.postrm -rw-r--r-- 1 root root 2446 Nov 20 13:30 /var/lib/dpkg/info/exim4-config.list -rwxr-xr-x 1 root root 1031 Oct 25 2012 /var/lib/dpkg/info/exim4-config.postrm -rw-r--r-- 1 root root 0 Nov 20 12:51 /var/lib/dpkg/info/exim4-daemon-heavy.list -rwxr-xr-x 1 root root 206 Oct 25 2012 /var/lib/dpkg/info/exim4-daemon-heavy.postrm -rw-r--r-- 1 root root 0 Nov 20 13:30 /var/lib/dpkg/info/exim4-daemon-light.list -rwxr-xr-x 1 root root 206 Oct 25 2012 /var/lib/dpkg/info/exim4-daemon-light.postrm

aptitude why-not exim4 exim4-base exim4-config exim4-daemon-light pi exim4 Depends exim4-daemon-light | exim4-daemon-heavy | exim4-daemon-custom pi exim4-daemon-light Conflicts mail-transport-agent pi exim4-daemon-light Provides mail-transport-agent
config.autogenerated_bis.txt (22.3 KB)
status_exim4.txt (9.13 KB)
config.autogenerated.txt (17.3 KB)

Salut,

Et, c’est confirmé par ce retour.

[quote=“pcsystemd”]dpkg -l | grep exim4

rc exim4-base 4.72-6+squeeze3 support files for all Exim MTA (v4) packages
rc exim4-config 4.72-6+squeeze3 configuration for the Exim MTA (v4)
rc exim4-daemon-heavy 4.72-6+squeeze3 Exim MTA (v4) daemon with extended features, including exiscan-acl
rc exim4-daemon-light 4.72-6+squeeze3 lightweight Exim MTA (v4) daemon[/quote]

c le paquet à été supprimé mais pas ses fichiers de configuration.

Tout ceci pré-suppose qu’Exim4 était configuré aux petits oignons et qui plus est, fonctionnel.

Je t’invite donc, avant d’aller plus loin, à faire une sauvegarde de ces derniers [mono]# cp /etc/exim4/truc_machin.conf /home/user/la_bas[/mono] ou toute autre destination/support à ta guises.

Tu pourras (si tu as oublié) aisément retrouver l’emplacement de ces derniers via [mono]$ dpkg -L <le_paquet>[/mono]

J’ai fourché, il s’agit en fait de : ¹ [mono]# aptitude search ~c[/mono] qui te retournera les fichiers de config non purger.

Si tu le souhaites tu pourras opérer chirurgicalement avec deborphan, la purge de chacun d’eux, ou en vrac avec ² [mono]# aptitude purge ~c[/mono] (² à faire plus tard). Le retour¹ de cette dernière, peut s’avérer être utile.

Et, une fois de plus à titre de précaution, pourrait-on s’assurer du/des paquet(s) bloquant(s) et voir également s’ils sont les seuls en l’état actuel ?

[code]

dpkg --configure -a

$ dpkg -l | grep “^rc”[/code]

Dans l’ensemble, la réinstallation de ton MTA devrait passer comme une lettre à la poste. :wink:

Merci.

Une copie de update-exim4.conf.conf est faites.

Voici donc les retours demandés :

aptitude search ~c c apache-common - support files for all Apache webservers c apache2-common - next generation, scalable, extendable web server c base-config - Debian base system configurator c blt - the BLT extension library for Tcl/Tk - run-time package ci exim4-base - support files for all Exim MTA (v4) packages ci exim4-config - configuration for the Exim MTA (v4) c exim4-daemon-heavy - Exim MTA (v4) daemon with extended features, including exiscan-acl ci exim4-daemon-light - lightweight Exim MTA (v4) daemon c hotplug - Linux Hotplug Scripts c initrd-tools - tools to create initrd image for prepackaged Linux kernel c kernel-image-2.6.8-2-686 - Linux kernel image for version 2.6.8 on PPro/Celeron/PII/PIII/P4. c libapache-mod-php4 - server-side, HTML-embedded scripting language (apache 1.3 module) c libapache-mod-php5 - server-side, HTML-embedded scripting language (apache 1.3 module) c libapache2-mod-php4 - server-side, HTML-embedded scripting language (apache 2 module) c libapache2-mod-python2.3 - An Apache 2 module that embeds Python 2.3 within the server c libapr0 - the Apache Portable Runtime c libbind9-0 - BIND9 Shared Library used by BIND c libbind9-40 - BIND9 Shared Library used by BIND c libc-client2002edebian - UW c-client library for mail protocols c libclamav1 - virus scanner library c libclamav3 - virus scanner library c libdatrie0 - Double-array trie library c libdevmapper1.02 - The Linux Kernel Device Mapper userspace library c libdiscover1 - hardware identification library c libdns22 - DNS Shared Library used by BIND c libdns45 - DNS Shared Library used by BIND c libdns55 - DNS Shared Library used by BIND c libept0 - High-level library for managing Debian package information c libgc1 - conservative garbage collector for C and C++ c libgd2-noxpm - GD Graphics Library version 2 (without XPM support) c libgmp3 - Multiprecision arithmetic library c libgraphviz4 - rich set of graph drawing tools c libgssapi2 - A mechanism-switch gssapi library c libisc11 - ISC Shared Library used by BIND c libisc45 - ISC Shared Library used by BIND c libisc52 - ISC Shared Library used by BIND c libisccc0 - Command Channel Library used by BIND c libisccc40 - Command Channel Library used by BIND c libisccfg1 - Config File Handling Library used by BIND c libisccfg40 - Config File Handling Library used by BIND c libkadm55 - MIT Kerberos administration runtime libraries c libldap-2.2-7 - OpenLDAP libraries c liblwres40 - Lightweight Resolver Library used by BIND c liblwres9 - Lightweight Resolver Library used by BIND c libmudflap0 - GCC mudflap shared support libraries c libnewt0.51 - Not Erik's Windowing Toolkit - text mode windowing with slang c libnfsidmap1 - An nfs idmapping library c libpci2 - Obsolete shared library for accessing pci devices c libpq4 - PostgreSQL C client library c libsocket6-perl - Perl extensions for IPv6 c libssp0 - GCC stack smashing protection library c libttf2 - FreeType 1, The FREE TrueType Font Engine, shared library files c libxcb-xlib0 - X C Binding, Xlib/XCB interface library c libxslt1.1 - XSLT 1.0 processing library - runtime library c modutils - Linux module utilities c mysql-server-5.0 - MySQL database server binaries c netkit-inetd - The Internet Superserver c perl-doc - Perl documentation c python2.3 - An interactive high-level object-oriented language (version 2.3) c qpopper - Enhanced Post Office Protocol server (POP3) c sa-exim - SpamAssassin filter for Exim c sensible-mda - Mail Delivery Agent wrapper

Ne donne rien

[code]dpkg -l | grep “^rc”

rc apache-common 1.3.34-4.1+etch1 support files for all Apache webservers
rc apache2-common 2.0.54-5sarge2 next generation, scalable, extendable web server
rc base-config 2.53.10.3 Debian base system configurator
rc blt 2.4z-4 the BLT extension library for Tcl/Tk - run-time package
rc exim4-base 4.72-6+squeeze3 support files for all Exim MTA (v4) packages
rc exim4-config 4.72-6+squeeze3 configuration for the Exim MTA (v4)
rc exim4-daemon-heavy 4.72-6+squeeze3 Exim MTA (v4) daemon with extended features, including exiscan-acl
rc exim4-daemon-light 4.72-6+squeeze3 lightweight Exim MTA (v4) daemon
rc hotplug 0.0.20040329-26 Linux Hotplug Scripts
rc initrd-tools 0.1.84.2 tools to create initrd image for prepackaged Linux kernel
rc kernel-image-2.6.8-2-686 2.6.8-16sarge1 Linux kernel image for version 2.6.8 on PPro/Celeron/PII/PIII/P4.
rc libapache-mod-php4 4:4.3.10-22 server-side, HTML-embedded scripting language (apache 1.3 module)
rc libapache-mod-php5 5.2.0-8+etch13 server-side, HTML-embedded scripting language (apache 1.3 module)
rc libapache2-mod-php4 6:4.4.4-8+etch6 server-side, HTML-embedded scripting language (apache 2 module)
rc libapache2-mod-python2.3 3.1.3-3 An Apache 2 module that embeds Python 2.3 within the server
rc libapr0 2.0.54-5sarge2 the Apache Portable Runtime
rc libbind9-0 1:9.3.4-2etch3 BIND9 Shared Library used by BIND
rc libbind9-40 1:9.5.1.dfsg.P3-1+lenny1 BIND9 Shared Library used by BIND
rc libc-client2002edebian 7:2002edebian1-13.1 UW c-client library for mail protocols
rc libclamav1 0.88.7-0volatile2 virus scanner library
rc libclamav3 0.92.1~dfsg-1volatile1 virus scanner library
rc libdatrie0 0.1.3-2 Double-array trie library
rc libdevmapper1.02 2:1.02.08-1 The Linux Kernel Device Mapper userspace library
rc libdiscover1 1.7.19 hardware identification library
rc libdns22 1:9.3.4-2etch3 DNS Shared Library used by BIND
rc libdns45 1:9.5.1.dfsg.P3-1+lenny1 DNS Shared Library used by BIND
rc libdns55 1:9.6.ESV.R1+dfsg-0+lenny2 DNS Shared Library used by BIND
rc libept0 0.5.22 High-level library for managing Debian package information
rc libgc1 1:6.4-1 conservative garbage collector for C and C++
rc libgd2-noxpm 2.0.36~rc1~dfsg-3+lenny1 GD Graphics Library version 2 (without XPM support)
rc libgmp3 4.1.4-6 Multiprecision arithmetic library
rc libgraphviz4 2.20.2-3 rich set of graph drawing tools
rc libgssapi2 0.10-4 A mechanism-switch gssapi library
rc libisc11 1:9.3.4-2etch3 ISC Shared Library used by BIND
rc libisc45 1:9.5.1.dfsg.P3-1+lenny1 ISC Shared Library used by BIND
rc libisc52 1:9.6.ESV.R1+dfsg-0+lenny2 ISC Shared Library used by BIND
rc libisccc0 1:9.3.4-2etch3 Command Channel Library used by BIND
rc libisccc40 1:9.5.1.dfsg.P3-1+lenny1 Command Channel Library used by BIND
rc libisccfg1 1:9.3.4-2etch3 Config File Handling Library used by BIND
rc libisccfg40 1:9.5.1.dfsg.P3-1+lenny1 Config File Handling Library used by BIND
rc libkadm55 1.6.dfsg.4~beta1-5lenny6 MIT Kerberos administration runtime libraries
rc libldap-2.2-7 2.2.23-8 OpenLDAP libraries
rc liblwres40 1:9.5.1.dfsg.P3-1+lenny1 Lightweight Resolver Library used by BIND
rc liblwres9 1:9.3.4-2etch3 Lightweight Resolver Library used by BIND
rc libmudflap0 4.1.1-21 GCC mudflap shared support libraries
rc libnewt0.51 0.51.6-20 Not Erik’s Windowing Toolkit - text mode windowing with slang
rc libnfsidmap1 0.8-1 An nfs idmapping library
rc libpci2 2:2.1.11-3 Obsolete shared library for accessing pci devices
rc libpq4 8.1.13-0etch1 PostgreSQL C client library
rc libsocket6-perl 0.19-1 Perl extensions for IPv6
rc libssp0 4.1.1-21 GCC stack smashing protection library
rc libttf2 1.4pre.20050518-0.4 FreeType 1, The FREE TrueType Font Engine, shared library files
rc libxcb-xlib0 1.1-1.2 X C Binding, Xlib/XCB interface library
rc libxslt1.1 1.1.19-3 XSLT processing library - runtime library
rc modutils 2.4.27.0-6 Linux module utilities
rc mysql-server-5.0 5.0.51a-24+lenny5 MySQL database server binaries
rc netkit-inetd 0.10-10 The Internet Superserver
rc perl-doc 5.10.0-19lenny3 Perl documentation
rc python2.3 2.3.5-3sarge2 An interactive high-level object-oriented language (version 2.3)
rc qpopper 4.0.5-4sarge1 Enhanced Post Office Protocol server (POP3)
rc sa-exim 4.2.1-4 Use spamAssassin at SMTP time with the Exim v4 MTA
rc sensible-mda 8.14.3-9.4 Mail Delivery Agent wrapper
[/code]

Je crois que cette longue liste est due à la migration de Lenny vers Squeeze, en partie. :083

[quote=“pcsystemd”]Voici donc les retours demandés :

[code]aptitude search ~c

ci exim4-base - support files for all Exim MTA (v4) packages
ci exim4-config - configuration for the Exim MTA (v4)
c exim4-daemon-heavy - Exim MTA (v4) daemon with extended features, including exiscan-acl
ci exim4-daemon-light - lightweight Exim MTA (v4) daemon


[/code][/quote]

Perso, j’irai franco. [mono]# aptitude purge ~c[/mono]

Dans la mesure ou tu es à même de connaître ta machine et de ce qui s’y fait, pour de plus ample information (deborphan) reportes toi au wiki, Nettoyer sa Debian

Sauf erreur cette étape de nettoyage devrait bien se passer, espérons-le pour la suite.

Sinon, on procédera différemment.

Merci. Je ferais cela dès Lundi et je reviendrais faire un retour.

Bon j’ai en premier lieu executer la commande suivante :

puis j’ai tout de même lancé :

aptitude purge ~c No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "fr_FR:fr:en_GB:en", LC_ALL = (unset), LANG = "fr_FR@euro" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory

et enfin j’ai essayé de reinstaller Exim4 mais sans succès même après avoir lancé APT::Immediate

[code]aptitude install exim4
The following NEW packages will be installed:
exim4 exim4-base{a} exim4-config{ab} exim4-daemon-light{ab}
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2032 kB of archives. After unpacking 4141 kB will be used.
The following packages have unmet dependencies:
exim4-config: Conflicts: sendmail-bin but 8.14.3-9.4 is installed.
sendmail-bin: Conflicts: mail-transport-agent which is a virtual package.
exim4-daemon-light: Conflicts: mail-transport-agent which is a virtual package.
The following actions will resolve these dependencies:

 Remove the following packages:
  1. sendmail-bin                
    

Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
exim4 exim4-base{a} exim4-config{a} exim4-daemon-light{a}
The following packages will be REMOVED:
sendmail-bin{a}
0 packages upgraded, 4 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B/2032 kB of archives. After unpacking 2150 kB will be used.
Do you want to continue? [Y/n/?] Y
E: Could not perform immediate configuration on ‘exim4’. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)[/code]

Salut,

Il faudrait faire le point, là maintenant.

$ dpkg -l | grep exim4
# aptitude search ~c

Quels sont les paquets dépendants d’exim4 sur ta machine.

:~$ apt-cache showpkg exim4 | sed -n '/Reverse Depends/,/Dependencies/p' | sed '1d;$d' | cut -d, -f1 | sort -u | xargs -n 50 dpkg --get-selections 2> /dev/null | grep '[[:space:]]install'

Pour la suite il te faudra me faire confiance. Un pas en arrière pour deux pas en avant. :wink:

En mode simulation : -s


[quote=“man apt.conf”]

   Immediate-Configure

       La valeur par défaut est « on » ce qui a pour conséquence qu'APT installera les paquets essentiels et importants dès que possible pendant les opérations
       d'installation ou de mise à jour, afin de limiter les conséquences d'un échec de dpkg(1). Si cette option est désactivée, APT traitera les paquets importants comme
       les paquets de priorité « extra » : entre la décompaction du paquet A et sa configuration, de nombreuses opérations de décompaction ou de configuration peuvent
       prendre place pour des paquets B ou C qui n'ont rien à voir. Si ces opérations provoquent un échec de dpkg(1) (par exemple si les scripts du responsable du paquet
       B provoquent une erreur), le résultat est que le paquet A est décompacté mais non configuré. En conséquence, les paquets qui en dépendent pourraient ne plus
       fonctionner puisque leurs dépendances ne sont pas satisfaites.

       Le marqueur de configuration immédiate est également utilisé dans le cas potentiellement délicat de dépendances circulaires, car une dépendance avec le marqueur
       « immediate » est équivalent à une pré-dépendance. Cela permet en théorie à APT de reconnaître le cas où il ne peut effectuer de configuration immédiate et de
       s'interrompre pour suggérer de désactiver temporairement l'option pour permettre aux opérations de s'effectuer. Veuillez noter l'utilisation du terme « en
       théorie » : en réalité, ce problème est rarement rencontré, dans des versions non stables de distributions, et était causé par des dépendances incorrectes ou par
       un système déjà dans un état instable. Vous ne devriez donc pas désactiver cette option sans savoir ce que vous faites car le scénario ci-dessus n'est le seul
       qu'elle permet d'éviter.[/quote]

Bonjour,

Merci, voici les retours :

dpkg -l | grep exim4

Ne donne rien

aptitude search ~c

Ne donne rien

/etc/network# apt-cache showpkg exim4 | sed -n '/Reverse Depends/,/Dependencies/p' | sed '1d;$d' | cut -d, -f1 | sort -u | xargs -n 50 dpkg --get-selections 2> /dev/null | grep '[[:space:]]install' at install cron install mailagent install reportbug install

Le dernier qui m’a dit cela, il est maintenant dans un pays ou il n’y a pas d’accords d’extradition :laughing: :whistle:

aptitude -s remove --purge mail-transport-agent No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used. Would download/install/remove packages.

[code]aptitude -s remove --purge mail-transport-agent
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Would download/install/remove packages.
cuba:/etc/network# aptitude -s remove --purge sendmail-bin
The following packages will be REMOVED:
sendmail-bin
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 1991 kB will be freed.
The following packages have unmet dependencies:
logcheck: Depends: default-mta which is a virtual package. or
mail-transport-agent which is a virtual package.
bsd-mailx: Depends: default-mta which is a virtual package. or
mail-transport-agent which is a virtual package.
mailagent: Depends: exim4 but it is not going to be installed. or
postfix but it is not going to be installed. or
sendmail but it is not going to be installed. or
mail-transport-agent which is a virtual package.
The following actions will resolve these dependencies:

  Remove the following packages:                          
  1.  bsd-mailx                                             
    
  2.  logcheck                                              
    
  3.  mailagent                                             
    
  4.  mailx                                                 
    

    Leave the following dependencies unresolved:

  5.  at recommends exim4 | mail-transport-agent            
    
  6.  cron recommends exim4 | postfix | mail-transport-agent
    
  7.  logrotate recommends mailx                            
    
  8.  mutt recommends default-mta | mail-transport-agent    
    
  9.  uw-imapd recommends default-mta | mail-transport-agent
    
  10. mysql-server-5.1 recommends mailx                     
    

Accept this solution? [Y/n/q/?]
[/code]

[code]aptitude -s install postfix
The following NEW packages will be installed:
postfix{b}
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1328 kB of archives. After unpacking 3273 kB will be used.
The following packages have unmet dependencies:
sendmail-bin: Conflicts: mail-transport-agent which is a virtual package.
postfix: Conflicts: mail-transport-agent which is a virtual package.
The following actions will resolve these dependencies:

 Remove the following packages:
  1. sendmail-bin                
    

Accept this solution? [Y/n/q/?][/code]

[quote=“pcsystemd”]aptitude install exim4

exim4-config: Conflicts: sendmail-bin but 8.14.3-9.4 is installed.
sendmail-bin: Conflicts: mail-transport-agent which is a virtual package.
exim4-daemon-light: Conflicts: mail-transport-agent which is a virtual package.
The following actions will resolve these dependencies:

 Remove the following packages:
  1. sendmail-bin               
    

[/quote]

[quote=“pcsystemd”]aptitude -s install postfix

sendmail-bin: Conflicts: mail-transport-agent which is a virtual package.
postfix: Conflicts: mail-transport-agent which is a virtual package.
The following actions will resolve these dependencies:

 Remove the following packages:
  1. sendmail-bin               
    

Accept this solution? [Y/n/q/?][/quote]

Dans les deux cas de figure c’est à présent [mono]sendmail-bin[/mono] qui se trouve être “bloquant

Paradoxalement l’installation de postfix sera ta porte de sortie, viendra à la suite l’installation d’exim4 qui a son tour engendrera la chute de postfix. :wink:

Il faut faire sauter [mono]sendmail-bin[/mono].

Renouvelles à nouveau la simulation (-s) pour postfix, mais cette fois répond oui à ce qu’il te demande.

~ $ aptitude -s install postfix

[quote] Remove the following packages:

  1. sendmail-bin               
    

Accept this solution? [Y/n/q/?] Y [/quote]


* edit *

Pour rappel.

[quote=“pcsystemd”]aptitude install exim4

exim4-config: Conflicts: sendmail-bin but 8.14.3-9.4 is installed.
sendmail-bin: Conflicts: mail-transport-agent which is a virtual package.
exim4-daemon-light: Conflicts: mail-transport-agent which is a virtual package.
The following actions will resolve these dependencies:

 Remove the following packages:
  1. sendmail-bin               
    

Do you want to continue? [Y/n/?] Y
E: Could not perform immediate configuration on ‘exim4’. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
[/quote]

Nous y verrons plus clair. :wink:


Nota :

[14:46:11][root@facteur] ~ # aptitude show mail-transport-agent Pas de version courante ou candidate trouvée pour mail-transport-agent Paquet : mail-transport-agent État: n'est pas un paquet réel Fourni par : citadel-mta, courier-mta, dma, esmtp-run, exim, exim4-daemon-heavy, exim4-daemon-light, lsb-invalid-mta, masqmail, msmtp-mta, nullmailer, opensmtpd, postfix, qmail-run, sendmail-bin, ssmtp, xmail [14:46:20][root@facteur] ~ #

:075

Merci. Voici le retour demandé: :wink:

[code]aptitude -s install postfix
The following NEW packages will be installed:
postfix{b}
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1328 kB of archives. After unpacking 3273 kB will be used.
The following packages have unmet dependencies:
sendmail-bin: Conflicts: mail-transport-agent which is a virtual package.
postfix: Conflicts: mail-transport-agent which is a virtual package.
The following actions will resolve these dependencies:

 Remove the following packages:
  1. sendmail-bin                
    

Accept this solution? [Y/n/q/?] Y
The following NEW packages will be installed:
postfix
The following packages will be REMOVED:
sendmail-bin{a}
0 packages upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 1328 kB of archives. After unpacking 1282 kB will be used.
Do you want to continue? [Y/n/?] Y
Would download/install/remove packages.
[/code]

et voici l’installation de Postfix (avec au passage un problème avec mes locales que j’ai pourtant reconfiguré mais rien n’y fait)

[code]machine:~# aptitude install postfix
The following NEW packages will be installed:
postfix{b}
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1328 kB of archives. After unpacking 3273 kB will be used.
The following packages have unmet dependencies:
sendmail-bin: Conflicts: mail-transport-agent which is a virtual package.
postfix: Conflicts: mail-transport-agent which is a virtual package.
The following actions will resolve these dependencies:

 Remove the following packages:
  1. sendmail-bin                
    

Accept this solution? [Y/n/q/?] Y
The following NEW packages will be installed:
postfix
The following packages will be REMOVED:
sendmail-bin{a}
0 packages upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 1328 kB of archives. After unpacking 1282 kB will be used.
Do you want to continue? [Y/n/?] Y
Get:1 http://ftp.fr.debian.org/debian/ squeeze/main postfix i386 2.7.1-1+squeeze1 [1328 kB]
Fetched 1328 kB in 49s (26.9 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = “fr_FR:fr:en_GB:en”,
LC_ALL = (unset),
LANG = "fr_FR@euro"
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = “fr_FR:fr:en_GB:en”,
LC_ALL = (unset),
LANG = "fr_FR@euro"
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
dpkg: sendmail-bin: dependency problems, but removing anyway as you requested:
bsd-mailx depends on default-mta | mail-transport-agent; however:
Package default-mta is not installed.
Package mail-transport-agent is not installed.
Package sendmail-bin which provides mail-transport-agent is to be removed.
mailagent depends on exim4 | postfix | sendmail | mail-transport-agent; however:
Package exim4 is not installed.
Package postfix is not installed.
Package sendmail is not installed.
Package mail-transport-agent is not installed.
Package sendmail-bin which provides mail-transport-agent is to be removed.
logcheck depends on default-mta | mail-transport-agent; however:
Package default-mta is not installed.
Package mail-transport-agent is not installed.
Package sendmail-bin which provides mail-transport-agent is to be removed.
(Reading database … 47808 files and directories currently installed.)
Removing sendmail-bin …
Processing triggers for man-db …
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously deselected package postfix.
(Reading database … 47760 files and directories currently installed.)
Unpacking postfix (from …/postfix_2.7.1-1+squeeze1_i386.deb) …
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Processing triggers for man-db …
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up postfix (2.7.1-1+squeeze1) …
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Adding group postfix' (GID 115) ... Done. Adding system userpostfix’ (UID 113) …
Adding new user postfix' (UID 113) with grouppostfix’ …
Not creating home directory /var/spool/postfix'. setting synchronous mail queue updates: false Creating /etc/postfix/dynamicmaps.cf Adding tcp map entry to /etc/postfix/dynamicmaps.cf Adding grouppostdrop’ (GID 116) …
Done.
setting myhostname: domaine.domaine.com
setting alias maps
setting alias database
setting myorigin
setting destinations: domaine.domaine.com, localhost.domaine.com, , localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
setting mailbox_command
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: all

Postfix is now set up with a default configuration. If you need to make
changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).

After modifying main.cf, be sure to run ‘/etc/init.d/postfix reload’.

Running newaliases
postalias: warning: /etc/aliases.db: duplicate entry: ""
postalias: warning: /etc/aliases.db: duplicate entry: ""
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfix.
machine:~#
[/code]

Salut,

Fais donc sauter l’option de simulation et lances là dite commande sous le régime de root le tout puissant.

[mono]# aptitude install postfix[/mono]

[mono]… blabla …[/mono]

[mono]~ # fin du prompt[/mono]

* edit *

Nous nous sommes croisés.

Joli le retour postfix. :wink:

Reprends le sacro-saint mode simulation en tant que simple user lambda.

N’hésites surtout pas à faire chanter aptitude (Y/N) à plusieurs reprises, si besoin.

Et, quel est ce retour également ?

* edit *

[mono]~ # dpkg-reconfigure locales[/mono] Pas mieux ?


Effectivement cool l’installation de postfix qui a fonctionné correctement. :038

Voici les retours demandés.

[code]machine:~# aptitude -s remove --purge postfix
The following packages will be REMOVED:
postfix
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 3273 kB will be freed.
The following packages have unmet dependencies:
logcheck: Depends: default-mta which is a virtual package. or
mail-transport-agent which is a virtual package.
bsd-mailx: Depends: default-mta which is a virtual package. or
mail-transport-agent which is a virtual package.
mailagent: Depends: exim4 but it is not going to be installed. or
postfix but it is not going to be installed. or
sendmail but it is not going to be installed. or
mail-transport-agent which is a virtual package.
The following actions will resolve these dependencies:

  Remove the following packages:                          
  1.  bsd-mailx                                             
    
  2.  logcheck                                              
    
  3.  mailagent                                             
    
  4.  mailx                                                 
    

    Leave the following dependencies unresolved:

  5.  at recommends exim4 | mail-transport-agent            
    
  6.  cron recommends exim4 | postfix | mail-transport-agent
    
  7.  logrotate recommends mailx                            
    
  8.  mutt recommends default-mta | mail-transport-agent    
    
  9.  uw-imapd recommends default-mta | mail-transport-agent
    
  10. mysql-server-5.1 recommends mailx                     
    

Accept this solution? [Y/n/q/?] Y
The following packages will be REMOVED:
bsd-mailx{a} logcheck{a} logcheck-database{pu} logtail{pu} mailagent{a} mailx{a} postfix
0 packages upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 5979 kB will be freed.
Do you want to continue? [Y/n/?] Y
Would download/install/remove packages.
machine:~# [/code]

[code]machine:~# aptitude -s install exim4
The following NEW packages will be installed:
exim4 exim4-base{a} exim4-config{ab} exim4-daemon-light{ab}
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2032 kB of archives. After unpacking 4141 kB will be used.
The following packages have unmet dependencies:
exim4-config: Conflicts: postfix but 2.7.1-1+squeeze1 is installed.
postfix: Conflicts: mail-transport-agent which is a virtual package.
exim4-daemon-light: Conflicts: mail-transport-agent which is a virtual package.
The following actions will resolve these dependencies:

 Remove the following packages:
  1. postfix                     
    

Accept this solution? [Y/n/q/?] Y
The following NEW packages will be installed:
exim4 exim4-base{a} exim4-config{a} exim4-daemon-light{a}
The following packages will be REMOVED:
postfix{a}
0 packages upgraded, 4 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B/2032 kB of archives. After unpacking 868 kB will be used.
Do you want to continue? [Y/n/?] Y
Would download/install/remove packages.
machine:~# [/code]

machine:~# aptitude search ~c c sendmail-bin - powerful, efficient, and scalable Mail Transport Agent machine:~#

machine:~# dpkg-reconfigure locales perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "fr_FR:fr:en_GB:en", LC_ALL = (unset), LANG = "fr_FR@euro" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory Generating locales (this might take a while)... fr_FR.UTF-8... done Generation complete. Machine:~#

Re,

[quote=“pcsystemd”]Effectivement cool l’installation de postfix qui a fonctionné correctement. :038
[/quote]

Il en sera de même pour Exim4. :wink:

À mon avis, cette fois s’y c’est la bonne. :smiley:

Fais donc sauter le verrou : [mono]-s[/mono]

~ # aptitude purge ~c
~ # aptitude install exim4

[quote=“pcsystemd”]machine:~# dpkg-reconfigure locales

[mono]LANGUAGE = "fr_FR:fr:en_GB:en",[/mono]

locale: Cannot set LC_CTYPE to default locale: [mono]No such file or directory[/mono]
locale: Cannot set LC_MESSAGES to default locale: [mono]No such file or directory[/mono]
locale: Cannot set LC_ALL to default locale: [mono]No such file or directory[/mono]

[mono]etc …[/mono]

/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory


Machine:~#

[/quote]

Concernant tes locales, le plus simple serait certainement de supprimer ces dernières proprement avant réinstallation. (option -s)

[code][12:44:18][root@facteur] ~ # aptitude -s remove --purge locales
Les paquets suivants seront ENLEVÉS :
locales
0 paquets mis à jour, 0 nouvellement installés, 1 à enlever et 0 non mis à jour.
Il est nécessaire de télécharger 0 o d’archives. Après dépaquetage, 15,5 Mo seront libérés.
Les paquets suivants ont des dépendances non satisfaites :
localepurge : Dépend: locales mais il ne sera pas installé.
ouverts : 51 ; fermés : 110 ; reportés : 19 ; en conflit : 23 … Les actions suivantes permettront de résoudre ces dépendances :

 Supprimer les paquets suivants :
  1. localepurge                   
    

Accepter cette solution ? [Y/n/q/?] y
Les paquets suivants seront ENLEVÉS :
localepurge{a} locales
0 paquets mis à jour, 0 nouvellement installés, 2 à enlever et 0 non mis à jour.
Il est nécessaire de télécharger 0 o d’archives. Après dépaquetage, 15,6 Mo seront libérés.
Voulez-vous continuer ? [Y/n/?] y
Charger/installer/enlever des paquets.
[12:47:52][root@facteur] ~ # [/code]

Voici les retours.

[code]machine:~# aptitude search ~c
c sendmail-bin - powerful, efficient, and scalable Mail Transport Agent
cuba:~# aptitude purge ~c
The following packages will be REMOVED:
sendmail-bin{p}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Do you want to continue? [Y/n/?] Y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = “fr_FR:fr:en_GB:en”,
LC_ALL = (unset),
LANG = "fr_FR@euro"
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database … 47936 files and directories currently installed.)
Removing sendmail-bin …
Purging configuration files for sendmail-bin …
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
dpkg: warning: while removing sendmail-bin, directory ‘/usr/share/doc/sendmail’ not empty so not removed.
dpkg: warning: while removing sendmail-bin, directory ‘/var/run/sendmail/mta’ not empty so not removed.
dpkg: warning: while removing sendmail-bin, directory ‘/var/run/sendmail/stampdir’ not empty so not removed.
dpkg: warning: while removing sendmail-bin, directory ‘/var/run/sendmail’ not empty so not removed.
dpkg: warning: while removing sendmail-bin, directory ‘/var/lib/sendmail’ not empty so not removed.
dpkg: warning: while removing sendmail-bin, directory ‘/var/spool/mqueue’ not empty so not removed.

machine:~#
[/code]

Pour l’installation de Exim4, toujours pas possible de l’installer.

[code]machine:~# aptitude install exim4
The following NEW packages will be installed:
exim4 exim4-base{a} exim4-config{ab} exim4-daemon-light{ab}
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2032 kB of archives. After unpacking 4141 kB will be used.
The following packages have unmet dependencies:
exim4-config: Conflicts: postfix but 2.7.1-1+squeeze1 is installed.
postfix: Conflicts: mail-transport-agent which is a virtual package.
exim4-daemon-light: Conflicts: mail-transport-agent which is a virtual package.
The following actions will resolve these dependencies:

 Remove the following packages:
  1. postfix                     
    

Accept this solution? [Y/n/q/?] Y
The following NEW packages will be installed:
exim4 exim4-base{a} exim4-config{a} exim4-daemon-light{a}
The following packages will be REMOVED:
postfix{a}
0 packages upgraded, 4 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B/2032 kB of archives. After unpacking 868 kB will be used.
Do you want to continue? [Y/n/?] Y
E: Could not perform immediate configuration on ‘exim4’. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
machine:~# [/code]

Pour les locales c’est chaud car il parle de me supprimer postgresql!

[code]machine:~#aptitude -s remove --purge locales
The following packages will be REMOVED:
locales
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 12.8 MB will be freed.
The following packages have unmet dependencies:
localization-config: Depends: locales but it is not going to be installed. or
belocs-locales-data which is a virtual package.
language-env: Depends: locales but it is not going to be installed.
postgresql-8.3: Depends: locales but it is not going to be installed.
The following actions will resolve these dependencies:

 Remove the following packages:              
  1. language-env                              
    
  2. localization-config                       
    
  3. postgresql-8.3                            
    

    Leave the following dependencies unresolved:

  4. mutt recommends locales                   
    
  5. pppoeconf recommends locales              
    

Accept this solution? [Y/n/q/?] Y
The following packages will be REMOVED:
language-env{a} locales localization-config{a} postgresql-8.3{a} postgresql-common{pu} tcl8.4{pu} tk8.4{pu}
0 packages upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 35.5 MB will be freed.
Do you want to continue? [Y/n/?] Y
Would download/install/remove packages.
machine:~#[/code]

Allons bon …

Lances ceci :

$ dpkg -l | grep exim4 

Si tu n’as aucun retour, alors …

Crées/modifies¹ toi un fichier [mono]/etc/apt/apt.conf[/mono] et copies/colles ce qui suit.

[code]$ cat /etc/apt/apt.conf

APT::Install-Suggests “false”;
APT::Install-Recommends “false”;
Aptitude::Recommends-Important “false”;
APT::Default-Release “squeeze”;
APT::Immediate-Configure “false”;
[/code]

Nota : si cela coince [mono]APT::Default-Release “squeeze”;[/mono] (à un moment où l’autre) remplaces par [mono]APT::Default-Release “oldstable”;[/mono]

[code]

aptitude clean

aptitude autoclean

aptitude update

aptitude upgrade[/code]

# aptitude install exim4

On verra après pour les locales, à moins que … :think:


* edit *

[quote=“pcsystemd”]Je te fais les retours demain matin mais dès à présent, je tiens à te remercier pour le temps que tu m’accordes. :023

Bonne soirée[/quote]

C’est un plaisir, partagé ! :slightly_smiling:


¹
Cela dit, j’avais oublié cette modification supplémentaire à porter (Cf. Blacksad) en [mono]/etc/apt/apt.conf.d/70debconf[/mono] où il te faudra [mono]commenter[/mono] la ligne [mono]DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};[/mono] soit par [mono]//[/mono] ou bien encore [mono]#[/mono] .

Ce qui donnera dans les deux cas.

[mono]$ cat /etc/apt/apt.conf.d/70debconf
// 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";};[/mono]

Ou

[mono]$ cat /etc/apt/apt.conf.d/70debconf
// 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";};[/mono]

Je te fais les retours demain matin mais dès à présent, je tiens à te remercier pour le temps que tu m’accordes. :023

Bonne soirée