cron doesn't upgrade because invoke-rc.d: unknown initscript

Bug #1023313 reported by Ferry Toth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cron (Ubuntu)
New
Undecided
Unassigned

Bug Description

Using synaptics I can't upgrade cron from precise to precise-updates due to above error message.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cron 3.0pl1-120ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic-pae 3.2.19
Uname: Linux 3.2.0-26-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
Date: Wed Jul 11 10:14:02 2012
InstallationMedia: Kubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
 LANGUAGE=
 TERM=xterm
 LANG=nl_NL.utf8
 SHELL=/bin/bash
SourcePackage: cron
UpgradeStatus: Upgraded to precise on 2012-05-11 (60 days ago)

Revision history for this message
Ferry Toth (ftoth) wrote :
Revision history for this message
Ferry Toth (ftoth) wrote :

Maybe it will help to see the detail log from Synaptics:

(Database inlezen ... 397254 files and directories currently installed.)
Voorbereiden om cron 3.0pl1-120ubuntu3 te vervangen (door .../cron_3.0pl1-120ubuntu4_i386.deb) ...
invoke-rc.d: unknown initscript, /etc/init.d/cron not found.
dpkg: waarschuwing: subproces verouderd pre-removal script gaf een foutwaarde 100 terug
dpkg - script uit het nieuwe pakket wordt geprobeerd ...
invoke-rc.d: unknown initscript, /etc/init.d/cron not found.
dpkg: fout bij afhandelen van /var/cache/apt/archives/cron_3.0pl1-120ubuntu4_i386.deb (--unpack):
 subproces nieuw pre-removal script gaf een foutwaarde 100 terug
Er is geen apport-verslag weggeschreven omdat het maximum aantal verslagen (MaxReports) al is bereikt
                     invoke-rc.d: unknown initscript, /etc/init.d/cron not found.
dpkg: fout tijdens opruimen:
 subproces installed post-installation script gaf een foutwaarde 100 terug
Fouten gevonden tijdens behandelen van:
 /var/cache/apt/archives/cron_3.0pl1-120ubuntu4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Een pakket kon niet geïnstalleerd worden. Aan het proberen om te herstellen:
dpkg: fout bij afhandelen van cron (--configure):
 Pakket is in een zeer inconsistente staat - u zult het opnieuw
 moeten installeren alvorens het te configureren.
Instellen van cups (1.5.3-0ubuntu1) ...
invoke-rc.d: unknown initscript, /etc/init.d/cups not found.
dpkg: fout bij afhandelen van cups (--configure):
 subproces installed post-installation script gaf een foutwaarde 100 terug
dpkg: vereistenproblemen verhinderen de configuratie van printer-driver-gutenprint:
 printer-driver-gutenprint is afhankelijk van cups (>= 1.3.0); maar:
  Pakket cups is nog niet geconfigureerd.
dpkg: fout bij afhandelen van printer-driver-gutenprint (--configure):
 vereistenproblemen - blijft ongeconfigureerd
dpkg: vereistenproblemen verhinderen de configuratie van ijsgutenprint-ppds:
 ijsgutenprint-ppds is afhankelijk van printer-driver-gutenprint; maar:
  Pakket printer-driver-gutenprint is nog niet geconfigureerd.
dpkg: fout bij afhandelen van ijsgutenprint-ppds (--configure):
 vereistenproblemen - blijft ongeconfigureerd
dpkg: vereistenproblemen verhinderen de configuratie van cups-driver-gutenprint:
 cups-driver-gutenprint is afhankelijk van printer-driver-gutenprint; maar:
  Pakket printer-driver-gutenprint is nog niet geconfigureerd.
dpkg: fout bij afhandelen van cups-driver-gutenprint (--configure):
 vereistenproblemen - blijft ongeconfigureerd
Fouten gevonden tijdens behandelen van:
 cron
 cups
 printer-driver-gutenprint
 ijsgutenprint-ppds
 cups-driver-gutenprint

Revision history for this message
Ferry Toth (ftoth) wrote :

So (translating) invoke-rc.d complains that /etc/init.d/cron is not found. Actually it does, it is a symplink to /lib/init/upstart-job

Is there a problem with upstart?

Revision history for this message
Ferry Toth (ftoth) wrote :

Ah, yes, the problem(s) is caused by upstart.

I downgraded 1.5-0ubuntu5 (precise) from 1.5-0ubuntu7 (ubuntu-updates) and the problem went away.

Then upgraded again.

Ferry

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.