14.04 LTS -> 16.04 LTS upgrade breaks in libc's preinst

Bug #1624835 reported by Marius Gedminas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
New
Undecided
Unassigned

Bug Description

I upgraded a VPS from Ubuntu 14.04 LTS to 16.04 LTS. During the upgrade the libc6 preinst script showed this error:

    Checking for services that may need to be restarted...
    Checking init scripts...
    /var/lib/dpkg/tmp.ci/preinst: 355: /var/lib/dpkg/tmp.ci/preinst: runlevel: not found

Then the upgrade process deadlocked for, I think, unrelated reasons (I filed bug 1624837 about that).

/sbin/runlevel is part of the 'upstart' package in 14.04, but it was moved to systemd-sysv in 16.05.

At this point in the upgrade upstart already upgraded to the xenial version, but systemd-sysv wasn't yet installed.
---
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CrashDB: ubuntu
DistroRelease: Ubuntu 16.04
Package: ubuntu-release-upgrader (not installed)
ProcEnviron:
 LC_CTYPE=lt_LT.UTF-8
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=lt_LT.UTF-8
 SHELL=/bin/bash
Tags: xenial dist-upgrade
Uname: Linux 2.6.32-042stab116.2 x86_64
UpgradeStatus: Upgraded to xenial on 2016-09-18 (0 days ago)
UserGroups:

_MarkForUpload: True

Revision history for this message
Marius Gedminas (mgedmin) wrote : JournalErrors.txt

apport information

no longer affects: atop (Ubuntu)
tags: added: apport-collected dist-upgrade xenial
description: updated
Revision history for this message
Marius Gedminas (mgedmin) wrote : VarLogDistupgradeAptHistorylog.txt

apport information

Revision history for this message
Marius Gedminas (mgedmin) wrote : VarLogDistupgradeAptclonesystemstate.tar.gz

apport information

Revision history for this message
Marius Gedminas (mgedmin) wrote : VarLogDistupgradeAptlog.txt

apport information

Revision history for this message
Marius Gedminas (mgedmin) wrote : VarLogDistupgradeApttermlog.txt

apport information

Revision history for this message
Marius Gedminas (mgedmin) wrote : VarLogDistupgradeMainlog.txt

apport information

Revision history for this message
Marius Gedminas (mgedmin) wrote : VarLogDistupgradeScreenlog.txt

apport information

description: updated
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.