package init 1.29ubuntu3 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration

Bug #1644572 reported by Dhairav Mehta
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
init-system-helpers (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Cannot install any new packages, broke init

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: init 1.29ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-47.68-generic 4.4.24
Uname: Linux 4.4.0-47-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Thu Nov 24 19:57:35 2016
DpkgTerminalLog:
 dpkg: error processing package init (--configure):
  package is in a very bad inconsistent state; you should
  reinstall it before attempting configuration
ErrorMessage: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
InstallationDate: Installed on 2016-11-24 (0 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.10ubuntu1
SourcePackage: init-system-helpers
Title: package init 1.29ubuntu3 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
UpgradeStatus: No upgrade log present (probably fresh install)

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

Hi,

Usually people are recommending to uninstall and reinstall the package.
That is harder to do on init.

But you could try to do:
$ sudo apt-get --reinstall install init

I wonder as it is just an almost empty package where not that much should be able to break, but to be sure If the former doesn't help could you report back with the output of these commands:
$ dpkg -s init
$ dpkg --verify init
$ debconf-show init
$ dpkg -L init

Note - that might be related from the log:
Nov 24 19:57:37 hostname org.debian.apt[662]: /usr/lib/python3/dist-packages/aptdaemon/progress.py:491: Warning: Source ID 95 was not found when attempting to remove it
Nov 24 19:57:37 hostname org.debian.apt[662]: GLib.source_remove(id)
Nov 24 19:57:37 hostname org.debian.apt[662]: /usr/lib/python3/dist-packages/aptdaemon/progress.py:491: Warning: Source ID 96 was not found when attempting to remove it
Nov 24 19:57:37 hostname org.debian.apt[662]: GLib.source_remove(id)
Nov 24 19:57:37 hostname org.debian.apt[662]: /usr/lib/python3/dist-packages/aptdaemon/progress.py:491: Warning: Source ID 99 was not found when attempting to remove it
Nov 24 19:57:37 hostname org.debian.apt[662]: GLib.source_remove(id)
Nov 24 19:57:37 hostname org.debian.apt[662]: /usr/lib/python3/dist-packages/aptdaemon/progress.py:491: Warning: Source ID 100 was not found when attempting to remove it
Nov 24 19:57:37 hostname org.debian.apt[662]: GLib.source_remove(id)

Changed in init-system-helpers (Ubuntu):
status: New → Incomplete
Revision history for this message
Dhairav Mehta (dhairav007) wrote :

Hi,
I was trying to upgrade on a fresh 16.04 system, and maybe certain packages were causing dependency issues, I broke down the updates into smaller package installs and installed them one after the other, and it and the upgrade worked from 16.04 to 16.04.1.
Thanks for your reply.

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

[Expired for init-system-helpers (Ubuntu) because there has been no activity for 60 days.]

Changed in init-system-helpers (Ubuntu):
status: Incomplete → Expired
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.