Upgrade from 14.04 to 15.04 missed systemd-sysv and init package init 1.22ubuntu11 failed to install/upgrade: pre-dependency problem - not installing init

Bug #1509816 reported by Permalac
102
This bug affects 22 people
Affects Status Importance Assigned to Milestone
init-system-helpers (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

everything was updated to 14.04
several other failures appeared during update

ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: init (not installed)
ProcVersionSignature: Ubuntu 3.19.0-31.36-generic 3.19.8-ckt7
Uname: Linux 3.19.0-31-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.5
Architecture: amd64
Date: Sun Oct 25 14:57:21 2015
DuplicateSignature: package:init:1.22ubuntu11:pre-dependency problem - not installing init
ErrorMessage: pre-dependency problem - not installing init
InstallationDate: Installed on 2015-09-04 (50 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
RelatedPackageVersions:
 dpkg 1.17.25ubuntu1
 apt 1.0.9.7ubuntu4.2
SourcePackage: init-system-helpers
Title: package init 1.22ubuntu11 failed to install/upgrade: pre-dependency problem - not installing init
UpgradeStatus: Upgraded to vivid on 2015-10-25 (0 days ago)

Revision history for this message
Permalac (joanmarcriera) wrote :
Revision history for this message
intherye (intherye) wrote :

Did you upgrade via 14.10. Direct upgrade from 14.04 to 15.04 is not supported:

https://askubuntu.com/questions/618741/update-ubuntu-14-04-to-15-04

Revision history for this message
Permalac (joanmarcriera) wrote : Re: [Bug 1509816] Re: Upgrade from 14.04 to 15.04 missed systemd-sysv and init package init 1.22ubuntu11 failed to install/upgrade: pre-dependency problem - not installing init

I upgraded directly. The option appeared as a default option, since I'm not
used to do upgrades using the GUI I accepted its suggestion, the strange
thing for me was not seeing 15.10 as an option. I though that 15.10 was not
supported and I was ok with that.

Before rebooting I installed the systemd-sysv and init , and with this I
moved on. (reboot command not was available, :) )

I'm upgrading to 15.10 now. Which I guess was not supported coming from
14.04 either.

Regards.

On 25 October 2015 at 16:11, intherye <email address hidden> wrote:

> Did you upgrade via 14.10. Direct upgrade from 14.04 to 15.04 is not
> supported:
>
> https://askubuntu.com/questions/618741/update-ubuntu-14-04-to-15-04
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1509816
>
> Title:
> Upgrade from 14.04 to 15.04 missed systemd-sysv and init package init
> 1.22ubuntu11 failed to install/upgrade: pre-dependency problem - not
> installing init
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/init-system-helpers/+bug/1509816/+subscriptions
>

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in init-system-helpers (Ubuntu):
status: New → Confirmed
Revision history for this message
jowfdoijdfdwfwdf (dsfkljo322332) wrote :

I reproduced this bug with 2 different setups while doing a system upgrade from Ubuntu 14.04.3 LTS.
1) In software & updates - Updates - Notify me of a new Ubuntu version - For any new version
2) run software updater, select upgrade

systemd-sysv and init fails to install, broken dependency causing more packages not installed. And the system will not boot again.

If this particular action leads to problems, why not block the upgrade in first place?

tags: removed: need-duplicate-check
Revision history for this message
Jan (jdorsman) wrote :

I don't think this duplicates #1032823. Had the same problem while upgrading from 14.04 to 15.04 (which is apparently a direct upgrade path now, rather than the update manager doing 14.04 to 14.10 first). Have to manually install the systemd-sysv package to be able to reboot the server at all.

Revision history for this message
Nicolas Riesco (nicolas-riesco) wrote :

To recover a machine affected by this issue:

* I followed the instructions in https://help.ubuntu.com/community/LiveCdRecovery#Update_Failure

* sudo dpkg --configure -a

* sudo apt-get install systemd-sysv init

Revision history for this message
Nicolas Riesco (nicolas-riesco) wrote :

In my case, this bug happen while upgrading from 14.04 to 16.04.

Revision history for this message
Nicolas Riesco (nicolas-riesco) wrote :

I've checked Apttermlog.txt more carefully, and it seems to be caused by a circular dependency:

systemd-sysv < systemd < libcryptsetup4 < libdevmapper1.02.1:amd64 < dmsetup < libdevmapper1.02.1

Revision history for this message
Tibor Harcsa (silurust) wrote :

Same issue with Lubuntu upgrade from 15.10 to 16.04.
Could not install '/var/cache/apt/archives/systemd-sysv_229-4ubuntu4_amd64.deb'
pre-dependency problem - not installing systemd-sysv

Revision history for this message
Kevin Kratzer (kratzer-kevin) wrote :

Same issue with Xubuntu upgrade from 15.10 to 16.04

Revision history for this message
FOFafik (fofafik) wrote :

Same issue with Ubuntu upgrade from 15.10 to 16.04 64bit.

Revision history for this message
Jimi Wills (jimiwills) wrote :

Same issue with Lubuntu upgrade from 15.10 to 16.04 64bit.

Could not install '/var/cache/apt/archives/systemd-sysv_229-4ubuntu4_amd64.deb'
The upgrade will continue but the '/var/cache/apt/archives/systemd-sysv_229-4ubuntu4_amd64.deb' package may not be in a working state. Please consider submitting a bug report about it.
pre-dependency problem - not installing systemd-sysv

sudo apt-get -f install
sudo apt-get install systemd-sysv

worked for me... I hope.

Revision history for this message
Lionel Roubeyrie (lionel-roubeyrie) wrote :

Same issue when upgrading from 14.04.4 to 16.04, with this message when doing an 'apt-get -f install':
Initializing machine ID from D-Bus machine ID.
Failed to mount /etc/machine-id: Not a directory

Moving /etc/machine-id away and recalling apt-get -f install does the trick

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.