Debian Bug report logs - #545261
sysv-rc upgrade fails (Unable to migrate to dependency based boot sequencing)

version graph

Package: sysv-rc; Maintainer for sysv-rc is Debian sysvinit maintainers <pkg-sysvinit-devel@lists.alioth.debian.org>; Source for sysv-rc is src:sysvinit.

Reported by: Vincent Lefevre <vincent@vinc17.org>

Date: Sun, 6 Sep 2009 04:09:01 UTC

Severity: grave

Found in version sysvinit/2.87dsf-3

Fixed in version 2.87dsf-4

Done: Petter Reinholdtsen <pere@hungry.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian sysvinit maintainers <pkg-sysvinit-devel@lists.alioth.debian.org>:
Bug#545261; Package sysv-rc. (Sun, 06 Sep 2009 04:09:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vincent Lefevre <vincent@vinc17.org>:
New Bug report received and forwarded. Copy sent to Debian sysvinit maintainers <pkg-sysvinit-devel@lists.alioth.debian.org>. (Sun, 06 Sep 2009 04:09:08 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Vincent Lefevre <vincent@vinc17.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: sysv-rc upgrade fails (Unable to migrate to dependency based boot sequencing)
Date: Sun, 6 Sep 2009 06:06:13 +0200
Package: sysv-rc
Version: 2.87dsf-3
Severity: grave
Justification: renders package unusable

During the sysv-rc upgrade:

dpkg: considering deconfiguration of sysv-rc, which would be broken by installation of insserv ...
dpkg: yes, will deconfigure sysv-rc (broken by insserv).
(Reading database ... 400875 files and directories currently installed.)
Preparing to replace insserv 1.12.0-10 (using .../insserv_1.12.0-11_amd64.deb) ...
De-configuring sysv-rc ...
Unpacking replacement insserv ...
Processing triggers for man-db ...
Setting up insserv (1.12.0-11) ...
Installing new version of config file /etc/insserv.conf ...
(Reading database ... 400875 files and directories currently installed.)
Preparing to replace sysv-rc 2.87dsf-2 (using .../sysv-rc_2.87dsf-3_all.deb) ...
Unpacking replacement sysv-rc ...
dpkg: warning: unable to delete old directory '/usr/share/man/fr.UTF-8': Directory not empty
Processing triggers for man-db ...
Setting up sysv-rc (2.87dsf-3) ...
info: Checking if it is safe to convert to dependency based boot.
error: Unable to migrate to dependency based boot sequencing.
dpkg: error processing sysv-rc (--configure):
 subprocess installed post-installation script returned error exit status 128
Errors were encountered while processing:
 sysv-rc
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up sysv-rc (2.87dsf-3) ...
info: Checking if it is safe to convert to dependency based boot.
error: Unable to migrate to dependency based boot sequencing.
dpkg: error processing sysv-rc (--configure):
 subprocess installed post-installation script returned error exit status 128
Errors were encountered while processing:
 sysv-rc

-- System Information:
Debian Release: squeeze/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26.5-20080922 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages sysv-rc depends on:
ii  debconf [debconf-2.0]         1.5.27     Debian configuration management sy
ii  insserv                       1.12.0-11  Tool to organize boot sequence usi
ii  sysvinit-utils                2.87dsf-3  System-V-like utilities

Versions of packages sysv-rc recommends:
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip

Versions of packages sysv-rc suggests:
pn  bum                           <none>     (no description available)
ii  sysv-rc-conf                  0.99-6     SysV init runlevel configuration t

-- debconf information:
* sysv-rc/unable-to-convert:
  sysv-rc/convert-legacy: true




Information forwarded to debian-bugs-dist@lists.debian.org, Debian sysvinit maintainers <pkg-sysvinit-devel@lists.alioth.debian.org>:
Bug#545261; Package sysv-rc. (Sun, 06 Sep 2009 05:24:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Amos Jeffries <amos@treenet.co.nz>:
Extra info received and forwarded to list. Copy sent to Debian sysvinit maintainers <pkg-sysvinit-devel@lists.alioth.debian.org>. (Sun, 06 Sep 2009 05:24:03 GMT) Full text and rfc822 format available.

Message #10 received at 545261@bugs.debian.org (full text, mbox):

From: Amos Jeffries <amos@treenet.co.nz>
To: 545261@bugs.debian.org
Subject: sysv-rc upgrade fails (package X removed by not purged)
Date: Sun, 06 Sep 2009 17:16:52 +1200
Am also hitting this issue....  with a workaround for some.

In my case the system is quite old with crud leftover from ancient 
packages (hotplug etc) which were automatically installed and 
automatically removed but never manually purged.
(Attempts were made to manually purge during the Etch/Lenny upgrade 
years ago but dpkg was unable then to purge already removed packages.)

Thus we have init.d scripts and other files wasting space on the system 
and now causing issues. sysv-rc upgrader says "package X removed by not 
purged, " for each and every one.

The quick solution would be for sysv-rc during the upgrade checks to 
question the need for each package and if permitted run a purge for them.

Workaround:
  read the error dialog boxes and manually handle every issue mentioned 
one by one. Probably with "dpkg --purge remove X"  which I see now works 
without the package being installed. Very many kudos to whomever fixed 
that one :).


AYJ




Reply sent to Petter Reinholdtsen <pere@hungry.com>:
You have taken responsibility. (Sun, 06 Sep 2009 07:15:07 GMT) Full text and rfc822 format available.

Notification sent to Vincent Lefevre <vincent@vinc17.org>:
Bug acknowledged by developer. (Sun, 06 Sep 2009 07:15:08 GMT) Full text and rfc822 format available.

Message #15 received at 545261-done@bugs.debian.org (full text, mbox):

From: Petter Reinholdtsen <pere@hungry.com>
To: 545261-done@bugs.debian.org
Subject: Re: Bug#545261: sysv-rc upgrade fails (Unable to migrate to dependency based boot sequencing)
Date: Sun, 6 Sep 2009 09:04:00 +0200
Version: 2.87dsf-4

This was already solved last nigth with the following upload:

 sysvinit (2.87dsf-4) unstable; urgency=low
 .
   * Send all output from the sysv-rc postinst to stderr, to make sure
     we do not confuse debconf.
   * Fix sysv-rc postinst to not fail when insserv report more than one
     error (Closes: #545205)

Sorry for the inconvenience. :)

Happy hacking,
-- 
Petter Reinholdtsen




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 04 Oct 2009 07:38:23 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 10:13:41 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.