package ntp 1:4.2.8p4+dfsg-3ubuntu5.5 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntp (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Trying to install the updates along with audacity through Synaptic, it had problems and didn't install.
I didn't copy the error message but it was something related to: util-linux
And I think the error message was something related to that "it can't be true!" and it included a message like this:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thereafter I couldn't install nor uninstall anything.
In http://
Then, I could uninstall util-linux and everything seems Ok now.
But, I just did a # apt-get -f install, and it returns that:
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios.
linux-
linux-
linux-
Utilice «sudo apt autoremove» para eliminarlos.
0 actualizados, 0 nuevos se instalarán, 0 para eliminar y 43 no actualizados.
1 no instalados del todo o eliminados.
Se utilizarán 0 B de espacio de disco adicional después de esta operación.
Configurando ntp (1:4.2.
insserv: warning: script 'K01smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: Starting smfpd depends on grub-common and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on grub-common and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on grub-common and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on grub-common and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and grub-common if started
insserv: loop involving service grub-common at depth 7
insserv: loop involving service smfpd at depth 1
insserv: Starting smfpd depends on grub-common and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error al procesar el paquete ntp (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
Se encontraron errores al procesar:
ntp
E: Sub-process /usr/bin/dpkg returned an error code (1)
Perhaps, Synaptic tried to install at its own some updates that it were retained by Ubuntu, But I don't know.
I am fulfilling this bug because Ubuntu so requested me to do on the next time I have started the OS.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: ntp 1:4.2.8p4+
ProcVersionSign
Uname: Linux 4.4.0-79-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
Date: Sat Jul 8 11:05:11 2017
ErrorMessage: el subproceso instalado el script post-installation devolvió el código de salida de error 1
InstallationDate: Installed on 2017-05-23 (45 days ago)
InstallationMedia: Ubuntu-MATE 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
NtpStatus: ntpq: read: Connection refused
ProcCmdline: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.4ubuntu1.2
apt 1.2.20
SourcePackage: ntp
Title: package ntp 1:4.2.8p4+
UpgradeStatus: No upgrade log present (probably fresh install)
Hi,
the root cause lies in this of your log:
insserv: Starting smfpd depends on grub-common and therefore on system
smfpd is not part of the archive, you might check /etc/init.d/smfpd where it is from and what is in its headers.
This breaks the update/upgrade of other packages by causing service dependency issues.