package ntp 1:4.2.8p4+dfsg-3ubuntu5.7 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1

Bug #1727562 reported by De de Oliveira
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ntp (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

~$ lsb_release -rd
Description: Ubuntu 16.04.3 LTS
Release: 16.04
~$ apt-cache policy ntp
ntp:
  Instalado: 1:4.2.8p4+dfsg-3ubuntu5.7
  Candidato: 1:4.2.8p4+dfsg-3ubuntu5.7
  Tabela de versão:
 *** 1:4.2.8p4+dfsg-3ubuntu5.7 500
        500 http://br.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:4.2.8p4+dfsg-3ubuntu5.5 500
        500 http://br.archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages
     1:4.2.8p4+dfsg-3ubuntu5 500
        500 http://br.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: ntp 1:4.2.8p4+dfsg-3ubuntu5.7
ProcVersionSignature: Ubuntu 4.4.0-97.120-generic 4.4.87
Uname: Linux 4.4.0-97-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Sun Oct 22 03:09:46 2017
ErrorMessage: sub-processo script post-installation instalado retornou estado de saída de erro 1
InstallationDate: Installed on 2016-12-17 (312 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.4.0-97-generic root=UUID=eb654371-ee60-40e3-b2c8-78e71eeb818f ro quiet splash acpi_enforce_resources=lax vt.handoff=7
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.24
SourcePackage: ntp
Title: package ntp 1:4.2.8p4+dfsg-3ubuntu5.7 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
UpgradeStatus: Upgraded to xenial on 2016-12-18 (311 days ago)

Revision history for this message
De de Oliveira (de-oliveir4) wrote :
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
from your log:

[...]
insserv: There is a loop at service plymouth if started
insserv: Starting GlassFish_domain1 depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
[...]

That is due to the "GlassFish_domain1" being invalid.
But this is not not part of a package from the archive, there Ubuntu has no way to fix your problem as it is from a 3rd party source not controlled by Ubuntu.

So you have to find your "GlassFish_domain1", check where it came from (maybe an install from tgz or by a script?) and fix or uninstall it.

Then with the loop resolved insserv will be able to work and that will unblock your upgrades.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete.

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

Changed in ntp (Ubuntu):
status: New → Incomplete
Revision history for this message
De de Oliveira (de-oliveir4) wrote :

This is not a bug. A startup script, from Oracle's Glassfish, was not properly written and caused this error at installation of ntp package. I modified file /etc/init.d/GlassFish_domain1 to include information for systemd and installation went fine.

Sorry for the trouble.

Revision history for this message
De de Oliveira (de-oliveir4) wrote :

I said that the script GlassFish_domain1 was not properly written but it is a mistake, the script was correct. The error was from systemd because it cannot recognize a script if this script don't has some extra information to systemd.

Revision history for this message
De de Oliveira (de-oliveir4) wrote : Re: [Bug 1727562] Re: package ntp 1:4.2.8p4+dfsg-3ubuntu5.7 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
Download full text (3.3 KiB)

Sorry for the trouble.

You are correct. Was a local problem and unrelated with ntp package. A
startup script from Oracle's Glassfish, without extra information to
systemd, caused the problem. May be is a systemd's bug. I think that any
startup script would cause the same error if it do not has that required
information to systemd.

Thank's

Em 27 de out de 2017 7:01 AM, "ChristianEhrhardt" <
<email address hidden>> escreveu:

Thank you for taking the time to report this bug and helping to make Ubuntu
better.

Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I'm marking this bug as Incomplete.

If indeed this is a local configuration problem, you can find pointers
to get help for this sort of problem here:
http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it
helpful to read "How to report bugs effectively"
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful
if you would then provide a more complete description of the problem,
explain why you believe this is a bug in Ubuntu rather than a problem
specific to your system, and then change the bug status back to New.

** Changed in: ntp (Ubuntu)
       Status: New => Incomplete

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1727562

Title:
  package ntp 1:4.2.8p4+dfsg-3ubuntu5.7 failed to install/upgrade: sub-
  processo script post-installation instalado retornou estado de saída
  de erro 1

Status in ntp package in Ubuntu:
  Incomplete

Bug description:
  ~$ lsb_release -rd
  Description: Ubuntu 16.04.3 LTS
  Release: 16.04
  ~$ apt-cache policy ntp
  ntp:
    Instalado: 1:4.2.8p4+dfsg-3ubuntu5.7
    Candidato: 1:4.2.8p4+dfsg-3ubuntu5.7
    Tabela de versão:
   *** 1:4.2.8p4+dfsg-3ubuntu5.7 500
          500 http://br.archive.ubuntu.com/ubuntu xenial-updates/main amd64
Packages
          100 /var/lib/dpkg/status
       1:4.2.8p4+dfsg-3ubuntu5.5 500
          500 http://br.archive.ubuntu.com/ubuntu xenial-security/main
amd64 Packages
       1:4.2.8p4+dfsg-3ubuntu5 500
          500 http://br.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: ntp 1:4.2.8p4+dfsg-3ubuntu5.7
  ProcVersionSignature: Ubuntu 4.4.0-97.120-generic 4.4.87
  Uname: Linux 4.4.0-97-generic x86_64
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: amd64
  Date: Sun Oct 22 03:09:46 2017
  ErrorMessage: sub-processo script post-installation instalado retornou
estado de saída de erro 1
  InstallationDate: Installed on 2016-12-17 (312 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64
(20141022.1)
  ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.4.0-97-generic
root=UUID=eb654371-ee60-40e3-b2c8-78e71eeb818f ro quiet splash
acpi_enforce_resources=lax vt.handoff=7
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.2
   apt 1.2.24
  SourcePackage: ntp
  Title: package ntp 1:4.2.8p4+dfsg-3ubuntu5.7 failed to install/upgrade:
sub-processo script post-installation instalado retornou estado de s...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ntp (Ubuntu) because there has been no activity for 60 days.]

Changed in ntp (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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