package postfix 3.6.4-1ubuntu1.1 failed to install/upgrade: el subproceso nuevo paquete postfix script pre-installation devolvió el código de salida de error 127

Bug #2036624 reported by Isabel de los Angeles Ñañez

This bug report was marked for expiration 348 days ago. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
postfix (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Good morning, I was trying to check use of Sysstat (I'm a student in Networks and Telecommunications in University del Chubut - Argentina). An error happens during upgrade and installation of sysstat was not possible.

This is part of report:
: No se pudieron obtener algunos archivos, ¿quizás deba ejecutar «apt-get update» o deba intentarlo de nuevo con --fix-missing?
(Leyendo la base de datos ... 239910 ficheros o directorios instalados actualmente.)
Preparando para desempaquetar .../postfix_3.6.4-1ubuntu1.1_amd64.deb ...
/etc/postfix/main.cf.proto modified, not updating.
/etc/postfix/master.cf.proto modified, not updating.
grep: /etc/postfix/master.cf: No such file or directory
grep: /etc/postfix/master.cf: No such file or directory
/var/lib/dpkg/tmp.ci/preinst: 175: retry_warning: not found
dpkg: error al procesar el archivo /var/cache/apt/archives/postfix_3.6.4-1ubuntu1.1_amd64
.deb (--unpack):
 el subproceso nuevo paquete postfix script pre-installation devolvió el código de salida
 de error 127
Preparando para desempaquetar .../libapt-pkg6.0_2.4.10_amd64.deb ...
Desempaquetando libapt-pkg6.0:amd64 (2.4.10) sobre (2.4.9) ...
Se encontraron errores al procesar:
 /var/cache/apt/archives/postfix_3.6.4-1ubuntu1.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: postfix 3.6.4-1ubuntu1.1
ProcVersionSignature: Ubuntu 6.2.0-26.26~22.04.1-generic 6.2.13
Uname: Linux 6.2.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Tue Sep 19 13:16:47 2023
Dependencies:

ErrorMessage: el subproceso nuevo paquete postfix script pre-installation devolvió el código de salida de error 127
InstallationDate: Installed on 2022-12-20 (272 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.2
 apt 2.4.9
SourcePackage: postfix
Title: package postfix 3.6.4-1ubuntu1.1 failed to install/upgrade: el subproceso nuevo paquete postfix script pre-installation devolvió el código de salida de error 127
UpgradeStatus: Upgraded to jammy on 2022-12-20 (272 days ago)

Revision history for this message
Isabel de los Angeles Ñañez (chabela1966) wrote :
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Hello Isabel,

Thank you for taking the time to file a bug.

The DpkgTerminalLog.txt file shows the following errors:

Preparando para desempaquetar .../postfix_3.6.4-1ubuntu1.1_amd64.deb ...
/etc/postfix/main.cf.proto modified, not updating.
/etc/postfix/master.cf.proto modified, not updating.
grep: /etc/postfix/master.cf: No such file or directory
grep: /etc/postfix/master.cf: No such file or directory
/var/lib/dpkg/tmp.ci/preinst: 175: retry_warning: not found
dpkg: error al procesar el archivo /var/cache/apt/archives/postfix_3.6.4-1ubuntu1.1_amd64.deb (--unpack):
 el subproceso nuevo paquete postfix script pre-installation devolvió el código de salida de error 127

This is strange; for some reason, some of the configuration files for postfix were not found under /etc/postfix/. This usually means that they have been manually removed, which is not supported. Do you remember having removed them by hand?

I'm marking this bug as Incomplete for now to reflect the fact that we're waiting on more information from you. Please set its status back to New once you provide the information requested above.

Thanks.

Changed in postfix (Ubuntu):
status: New → Incomplete
Revision history for this message
Isabel de los Angeles Ñañez (chabela1966) wrote : Re: [Bug 2036624] Re: package postfix 3.6.4-1ubuntu1.1 failed to install/upgrade: el subproceso nuevo paquete postfix script pre-installation devolvió el código de salida de error 127
Download full text (4.6 KiB)

Thank you for your reply, I did not remove the file and due to persistent
error, I have purged and removed postfix and then reinstalled.

This allowed me to go on with my task successfully.

Will be reading carefully again your response to find out what happened.

Thanks again.

Isabel Ñañez

El mié., 20 de septiembre de 2023 06:15, Sergio Durigan Junior <
<email address hidden>> escribió:

> Hello Isabel,
>
> Thank you for taking the time to file a bug.
>
> The DpkgTerminalLog.txt file shows the following errors:
>
> Preparando para desempaquetar .../postfix_3.6.4-1ubuntu1.1_amd64.deb ...
> /etc/postfix/main.cf.proto modified, not updating.
> /etc/postfix/master.cf.proto modified, not updating.
> grep: /etc/postfix/master.cf: No such file or directory
> grep: /etc/postfix/master.cf: No such file or directory
> /var/lib/dpkg/tmp.ci/preinst: 175: retry_warning: not found
> [1mdpkg: [0m error al procesar el archivo
> /var/cache/apt/archives/postfix_3.6.4-1ubuntu1.1_amd64.deb (--unpack):
> el subproceso nuevo paquete postfix script pre-installation devolvió el
> código de salida de error 127
>
> This is strange; for some reason, some of the configuration files for
> postfix were not found under /etc/postfix/. This usually means that
> they have been manually removed, which is not supported. Do you
> remember having removed them by hand?
>
> I'm marking this bug as Incomplete for now to reflect the fact that
> we're waiting on more information from you. Please set its status back
> to New once you provide the information requested above.
>
> Thanks.
>
> ** Changed in: postfix (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2036624
>
> Title:
> package postfix 3.6.4-1ubuntu1.1 failed to install/upgrade: el
> subproceso nuevo paquete postfix script pre-installation devolvió el
> código de salida de error 127
>
> Status in postfix package in Ubuntu:
> Incomplete
>
> Bug description:
> Good morning, I was trying to check use of Sysstat (I'm a student in
> Networks and Telecommunications in University del Chubut - Argentina).
> An error happens during upgrade and installation of sysstat was not
> possible.
>
> This is part of report:
> : No se pudieron obtener algunos archivos, ¿quizás deba ejecutar
> «apt-get update» o deba intentarlo de nuevo con --fix-missing?
> (Leyendo la base de datos ... 239910 ficheros o directorios instalados
> actualmente.)
> Preparando para desempaquetar .../postfix_3.6.4-1ubuntu1.1_amd64.deb ...
> /etc/postfix/main.cf.proto modified, not updating.
> /etc/postfix/master.cf.proto modified, not updating.
> grep: /etc/postfix/master.cf: No such file or directory
> grep: /etc/postfix/master.cf: No such file or directory
> /var/lib/dpkg/tmp.ci/preinst: 175: retry_warning: not found
> dpkg: error al procesar el archivo
> /var/cache/apt/archives/postfix_3.6.4-1ubuntu1.1_amd64
> .deb (--unpack):
> el subproceso nuevo paquete postfix script pre-installation devolvió el
> código de salida
> de error 127
> Preparando para desempaquetar .../libapt-pkg6.0_2.4.10...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.