GNU/Linux >> Belajar Linux >  >> Debian

Debian – Tidak Dapat Mengupgrade Postfix Dari 2.9.6-2 Ke 3.2.2-1?

Tutup. Pertanyaan ini di luar topik. Saat ini tidak menerima jawaban.

Ingin memperbaiki pertanyaan ini? Perbarui pertanyaan agar sesuai dengan topik untuk Unix &Linux Stack Exchange.

Ditutup 3 tahun yang lalu.


Perbaiki pertanyaan ini

Saya tidak dapat menjalankan apt-get upgrade karena, saya memiliki kesalahan dengan postfix saya versi.

Saya mendapatkan kesalahan di bawah ini jika saya mencoba menginstal hanya postfix paket tapi saya tidak mengerti bagaimana mengatasi masalah ini?

 [email protected]:~# apt-get install postfix
    Lecture des listes de paquets... Fait
    Construction de l'arbre des dépendances
    Lecture des informations d'état... Fait
    Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
      fontconfig-config fonts-droid fonts-liberation gsfonts hicolor-icon-theme imagemagick-common libcupsimage2 libdatrie1 libdjvulibre-text libdjvulibre21 libexiv2-12 libfuse2 libgs9-common
      libijs-0.35 libilmbase6 libjasper1 libjbig0 libjbig2dec0 liblcms1 liblcms2-2 liblensfun-data liblensfun0 liblqr-1-0 libnetpbm10 libopenexr6 libpaper-utils libpaper1 libpixman-1-0 libthai-data
      libthai0 libtiff4 libxcb-render0 libxcb-shm0 libxrender1 netpbm poppler-data ufraw-batch
    Veuillez utiliser « apt-get autoremove » pour les supprimer.
    Paquets suggérés :
      postfix-mysql postfix-pgsql postfix-ldap postfix-pcre postfix-lmdb postfix-sqlite sasl2-bin resolvconf postfix-cdb ufw
    Les paquets suivants seront mis à jour :
      postfix
    1 mis à jour, 0 nouvellement installés, 0 à enlever et 168 non mis à jour.
    2 partiellement installés ou enlevés.
    Il est nécessaire de prendre 0 o/1 448 ko dans les archives.
    Après cette opération, 471 ko d'espace disque supplémentaires seront utilisés.
    Lecture des fichiers de modifications (« changelog »)... Terminé
    Préconfiguration des paquets...
    postconf: invalid option -- 'x'
    postconf: fatal: usage: postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-C param_class] [-d (defaults)] [-e (edit)] [-f (fold lines)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-M (master.cf)] [-n (non-defaults)] [-v] [name...]
    Use of uninitialized value $destinations in scalar chomp at /tmp/postfix.config.418131 line 221.
    Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/Client/ConfModule.pm line 121.
    postconf: invalid option -- 'x'
    postconf: fatal: usage: postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-C param_class] [-d (defaults)] [-e (edit)] [-f (fold lines)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-M (master.cf)] [-n (non-defaults)] [-v] [name...]
    Use of uninitialized value $mynetworks in scalar chomp at /tmp/postfix.config.418131 line 285.
    Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/Client/ConfModule.pm line 121.
    postconf: invalid option -- 'x'
    postconf: fatal: usage: postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-C param_class] [-d (defaults)] [-e (edit)] [-f (fold lines)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-M (master.cf)] [-n (non-defaults)] [-v] [name...]
    Use of uninitialized value $protos in scalar chomp at /tmp/postfix.config.418131 line 387.
    Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/Client/ConfModule.pm line 121.
    dpkg: avertissement: le fichier contenant la liste des fichiers du paquet « postfix » étant manquant, il est considéré qu'aucun fichier du paquet n'est actuellement installé
    (Lecture de la base de données... 69515 fichiers et répertoires déjà installés.)
    Préparation du dépaquetage de .../postfix_3.2.2-1_amd64.deb ...
    postconf: invalid option -- 'x'
    postconf: fatal: usage: postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-C param_class] [-d (defaults)] [-e (edit)] [-f (fold lines)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-M (master.cf)] [-n (non-defaults)] [-v] [name...]
    Use of uninitialized value $destinations in scalar chomp at /var/lib/dpkg/tmp.ci/config line 221.
    Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/Client/ConfModule.pm line 121.
    postconf: invalid option -- 'x'
    postconf: fatal: usage: postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-C param_class] [-d (defaults)] [-e (edit)] [-f (fold lines)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-M (master.cf)] [-n (non-defaults)] [-v] [name...]
    Use of uninitialized value $mynetworks in scalar chomp at /var/lib/dpkg/tmp.ci/config line 285.
    Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/Client/ConfModule.pm line 121.
    postconf: invalid option -- 'x'
    postconf: fatal: usage: postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-C param_class] [-d (defaults)] [-e (edit)] [-f (fold lines)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-M (master.cf)] [-n (non-defaults)] [-v] [name...]
    Use of uninitialized value $protos in scalar chomp at /var/lib/dpkg/tmp.ci/config line 387.
    Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/Client/ConfModule.pm line 121.
    postconf: invalid option -- 'x'
    postconf: fatal: usage: postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-C param_class] [-d (defaults)] [-e (edit)] [-f (fold lines)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-M (master.cf)] [-n (non-defaults)] [-v] [name...]
    postconf: invalid option -- 'x'
    postconf: fatal: usage: postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-C param_class] [-d (defaults)] [-e (edit)] [-f (fold lines)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-M (master.cf)] [-n (non-defaults)] [-v] [name...]
    dpkg: erreur de traitement de l'archive /var/cache/apt/archives/postfix_3.2.2-1_amd64.deb (--unpack) :
     le sous-processus nouveau script pre-installation a retourné une erreur de sortie d'état 1
    Des erreurs ont été rencontrées pendant l'exécution :
     /var/cache/apt/archives/postfix_3.2.2-1_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    [email protected]:~#

Versi server saya adalah :

Terkait:Pemutakhiran Postgresql menghasilkan skrip vaccumdb tidak menyedot debu?

Linux servername 3.2.0-4-amd64 #1 SMP Debian 3.2.89-1 x86_64 GNU/Linux
with ISPconfig3
terinstal dan terbaru

Saya juga mencoba yang di bawah ini :

  • clear apt-get
  • purge postfix install
  • Periksa dependensi postfix dan terapkan pembaruan

tapi, tidak satupun dari mereka bekerja untuk saya.

Dan mencoba apt-get -f install tapi tidak berhasil.

[email protected]:~# clear
[email protected]:~# apt-get -f install
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Correction des dépendances... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  fontconfig-config fonts-droid fonts-liberation gsfonts hicolor-icon-theme html2text imagemagick-common libcupsimage2 libdatrie1 libdjvulibre-text libdjvulibre21 libexiv2-12 libfuse2
  libgs9-common libijs-0.35 libilmbase6 libjasper1 libjbig0 libjbig2dec0 liblcms1 liblcms2-2 liblensfun-data liblensfun0 liblqr-1-0 libnetpbm10 libopenexr6 libpaper-utils libpaper1
  libpixman-1-0 libthai-data libthai0 libtiff4 libxcb-render0 libxcb-shm0 libxrender1 netpbm poppler-data ufraw-batch
Veuillez utiliser « apt-get autoremove » pour les supprimer.
Les paquets supplémentaires suivants seront installés :
  postfix
Paquets suggérés :
  postfix-pgsql postfix-ldap postfix-pcre postfix-lmdb postfix-sqlite sasl2-bin resolvconf postfix-cdb ufw
Les paquets suivants seront mis à jour :
  postfix
1 mis à jour, 0 nouvellement installés, 0 à enlever et 167 non mis à jour.
1 partiellement installés ou enlevés.
Il est nécessaire de prendre 0 o/1 448 ko dans les archives.
Après cette opération, 471 ko d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer [O/n] ? o
Lecture des fichiers de modifications (« changelog »)... Terminé
Préconfiguration des paquets...
postconf: invalid option -- 'x'
postconf: fatal: usage: postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-C param_class] [-d (defaults)] [-e (edit)] [-f (fold lines)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-M (master.cf)] [-n (non-defaults)] [-v] [name...]
Use of uninitialized value $destinations in scalar chomp at /tmp/postfix.config.72701 line 221.
Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/Client/ConfModule.pm line 121.
postconf: invalid option -- 'x'
postconf: fatal: usage: postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-C param_class] [-d (defaults)] [-e (edit)] [-f (fold lines)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-M (master.cf)] [-n (non-defaults)] [-v] [name...]
Use of uninitialized value $mynetworks in scalar chomp at /tmp/postfix.config.72701 line 285.
Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/Client/ConfModule.pm line 121.
postconf: invalid option -- 'x'
postconf: fatal: usage: postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-C param_class] [-d (defaults)] [-e (edit)] [-f (fold lines)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-M (master.cf)] [-n (non-defaults)] [-v] [name...]
Use of uninitialized value $protos in scalar chomp at /tmp/postfix.config.72701 line 387.
Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/Client/ConfModule.pm line 121.
dpkg: avertissement: le fichier contenant la liste des fichiers du paquet « postfix » étant manquant, il est considéré qu'aucun fichier du paquet n'est actuellement installé
(Lecture de la base de données... 69877 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../postfix_3.2.2-1_amd64.deb ...
postconf: invalid option -- 'x'
postconf: fatal: usage: postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-C param_class] [-d (defaults)] [-e (edit)] [-f (fold lines)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-M (master.cf)] [-n (non-defaults)] [-v] [name...]
Use of uninitialized value $destinations in scalar chomp at /var/lib/dpkg/tmp.ci/config line 221.
Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/Client/ConfModule.pm line 121.
postconf: invalid option -- 'x'
postconf: fatal: usage: postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-C param_class] [-d (defaults)] [-e (edit)] [-f (fold lines)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-M (master.cf)] [-n (non-defaults)] [-v] [name...]
Use of uninitialized value $mynetworks in scalar chomp at /var/lib/dpkg/tmp.ci/config line 285.
Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/Client/ConfModule.pm line 121.
postconf: invalid option -- 'x'
postconf: fatal: usage: postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-C param_class] [-d (defaults)] [-e (edit)] [-f (fold lines)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-M (master.cf)] [-n (non-defaults)] [-v] [name...]
Use of uninitialized value $protos in scalar chomp at /var/lib/dpkg/tmp.ci/config line 387.
Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/Client/ConfModule.pm line 121.
postconf: invalid option -- 'x'
postconf: fatal: usage: postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-C param_class] [-d (defaults)] [-e (edit)] [-f (fold lines)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-M (master.cf)] [-n (non-defaults)] [-v] [name...]
postconf: invalid option -- 'x'
postconf: fatal: usage: postconf [-a (server SASL types)] [-A (client SASL types)] [-b (bounce templates)] [-c config_dir] [-C param_class] [-d (defaults)] [-e (edit)] [-f (fold lines)] [-# (comment-out)] [-h (no names)] [-l (lock types)] [-m (map types)] [-M (master.cf)] [-n (non-defaults)] [-v] [name...]
dpkg: erreur de traitement de l'archive /var/cache/apt/archives/postfix_3.2.2-1_amd64.deb (--unpack) :
 le sous-processus nouveau script pre-installation a retourné une erreur de sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
 /var/cache/apt/archives/postfix_3.2.2-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
[email protected]:~#

Ini adalah output untuk apt-cache policy postfix ( maaf, dalam bahasa Prancis)

postfix:
  Installé : 3.2.2-1
  Candidat : 3.2.2-1
 Table de version :
 *** 3.2.2-1 0
        500 http://ftp.debian.org/debian/ sid/main amd64 Packages
        100 /var/lib/dpkg/status
     2.9.6-2 0
        500 http://ftp.fr.debian.org/debian/ wheezy/main amd64 Packages

Aneh banget :

Terkait:Bagaimana cara menyalin file dari server jauh ke mesin lokal?

saya telah membuat pembaruan apt-get baru, dan peningkatan apt-get, dan semuanya baik-baik saja, saya tidak mengerti mengapa!

terima kasih banyak atas bantuan Anda.

Jawaban yang Diterima:

Saya yakin masalah ini disebabkan oleh https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848686 di mana ‘-x’ ditambahkan ke kait prainstal.

Saya dapat mengatasinya dengan terlebih dahulu memutakhirkan postfix ke versi 2.11.3-1+deb8u2 dari jessie (oldstable), lalu meregangkan (stable).


Debian
  1. Cara meningkatkan sistem Linux Debian dari Wheezy ke rilis stabil Jessie

  2. Cara Upgrade dari Debian 10 ke Debian 11

  3. Tingkatkan ke CentOS 6.2 dari CentOS 6.1 / CentOS 6.0

  1. Tingkatkan ke CentOS 6.4 dari CentOS 6.3

  2. Tingkatkan Dari Ubuntu 13.10 ke Ubuntu 14.04

  3. Tingkatkan dari Ubuntu 13.04 ke Ubuntu 13.10

  1. Memutakhirkan dari Debian 6 Squeeze dengan ISPConfig dan kurir/postfix ke Debian 7 Wheezy

  2. Cara Upgrade Debian 8 ke Debian 9 Stretch

  3. Bagaimana cara meningkatkan ke Debian 11 dari Debian 10