[Bug 1624835] [NEW] 14.04 LTS -> 16.04 LTS upgrade breaks in libc's preinst

Marius Gedminas marius at gedmin.as
Sun Sep 18 10:10:18 UTC 2016


Public bug reported:

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 hung for, I think, unrelated reasons.

/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

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-collected dist-upgrade xenial

** Also affects: ubuntu-release-upgrader (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: atop (Ubuntu)

** Tags added: apport-collected dist-upgrade xenial

** Description changed:

  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 hung for, I think, unrelated reasons.
  
  /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.
+ 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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1624835

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

Status in ubuntu-release-upgrader package in Ubuntu:
  New

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 hung for, I think, unrelated reasons.

  /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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1624835/+subscriptions



More information about the foundations-bugs mailing list