Package: sysv-rc
Version: 2.88dsf-26
Severity: normal

Having procrastinated on fixing sysv-rc's complaints about being unable to
switch to a dependency-based boot sequence for months, and finally looking
into it now that we're dependency-only and I can't install or upgrade
anything until I fix it, I finally dug in and started purging packages that
sysv-rc.postinst tells me were leaving obsolete init.d scripts lying around.

But, having spent several hours removing one thing after another and being
unable to appease the script, it finally gave me the following dubious advice:

  % sudo dpkg --configure sysv-rc
  Setting up sysv-rc (2.88dsf-26) ...
  info: Checking if it is safe to convert to dependency based boot.
  
  error: Unable to migrate to dependency based boot sequencing.
  error: Problems detected: package initscripts left obsolete init.d script 
behind, package initscripts left obsolete init.d script behind, package 
initscripts left obsolete init.d script behind
  
  If this is due to the presence of unpurged obsolete initscripts,
  it is suggested that the following is run to remove them:
    dpkg --purge initscripts initscripts initscripts

Not wanting to completely break my system by removing 'initscripts', I wanted
to find out exactly which obsolete scripts were causing the problem. To that
end, I finally applied the following patch to sysv-rc.postinst, which I
submit might be nice to include upstream:

--- /var/lib/dpkg/info/sysv-rc.postinst 2012-06-06 15:26:49.000000000 -0700
+++ /usr/home/warner/sysv-rc.postinst   2012-06-19 21:57:44.000000000 -0700
@@ -85,7 +85,7 @@
             for initscript in $obsolete_initscripts; do
                 if [ -e "$initscript" ]; then
                     retval=0
-                    add_problematic "package $package left obsolete init.d 
script behind"
+                    add_problematic "package $package left obsolete init.d 
script $initscript behind"
                     add_suggestion "$package"
                 fi
             done

That pinpointed the trouble to three files: bootlogd, stop-bootlogd, and
stop-bootlogd-single. I still don't understand what problem they're causing,
but I've got more information to go on now.

cheers,
 -Brian


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages sysv-rc depends on:
ii  debconf [debconf-2.0]  1.5.43
ii  insserv                1.14.0-3
ii  sysvinit-utils         2.88dsf-26

Versions of packages sysv-rc recommends:
ii  lsb-base  4.1+Debian6

Versions of packages sysv-rc suggests:
pn  bum           <none>
pn  sysv-rc-conf  <none>

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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to