I just performed an upgrade from lenny to sketch and also ran into this problem. I'm attaching the related script excerpts. As mentioned, I successfully did dpkg-reconfigure sysv-rc afterwards, But at the end of the attachment is the list of still-obsolete conffiles which includes
/etc/default/bluetooth ae42b399df9a58ce830427cd53705f49 obsolete /etc/init.d/bluetooth 72d771738fa8480c1ad8caade6889f93 obsolete /etc/bluetooth/rfcomm.conf 0a87d3eddd29683c1456688907e67b4f obsolete /etc/bluetooth/hcid.conf 8acc8583c7d040696a64584749092d20 obsolete
Preparing to replace vim-tiny 1:7.1.314-3+lenny2 (using .../vim-tiny_2%3a7.2.445+hg~cb94c42c0e1a-1_i386.deb) ... Unpacking replacement vim-tiny ... Preparing to replace vim-common 1:7.1.314-3+lenny2 (using .../vim-common_2%3a7.2.445+hg~cb94c42c0e1a-1_i386.deb) ... Unpacking replacement vim-common ... dpkg: warning - unable to delete old directory `/usr/share/man/fr.UTF-8/man1': Directory not empty dpkg: warning - unable to delete old directory `/usr/share/man/fr.UTF-8': Directory not empty dpkg: warning - unable to delete old directory `/usr/share/man/it.ISO8859-1/man1': Directory not empty dpkg: warning - unable to delete old directory `/usr/share/man/it.ISO8859-1': Directory not empty dpkg: warning - unable to delete old directory `/usr/share/man/it.UTF-8/man1': Directory not empty dpkg: warning - unable to delete old directory `/usr/share/man/it.UTF-8': Directory not empty dpkg: warning - unable to delete old directory `/usr/share/man/pl.UTF-8/man1': Directory not empty dpkg: warning - unable to delete old directory `/usr/share/man/pl.UTF-8': Directory not empty dpkg: warning - unable to delete old directory `/usr/share/man/fr.ISO8859-1/man1': Directory not empty dpkg: warning - unable to delete old directory `/usr/share/man/fr.ISO8859-1': Directory not empty dpkg: warning - unable to delete old directory `/usr/share/man/pl.ISO8859-2/man1': Directory not empty dpkg: warning - unable to delete old directory `/usr/share/man/pl.ISO8859-2': Directory not empty ctillman@121-73-239-129:/usr/share/man$ ls -l fr.UTF-8/* fr.UTF-8/man1: total 0 fr.UTF-8/man7: total 0 fr.UTF-8/man8: total 0 ctillman@121-73-239-129:/usr/share/man$ ls -l it.UTF-8/* total 0 Unpacking replacement bluez-utils ... dpkg: warning - unable to delete old directory `/etc/bluetooth': Directory not empty ... 121-73-239-129:/var/cache/apt# aptitude safe-upgrade Reading package lists... Done ... Preparing to replace libstdc++6 4.3.2-1.1 (using .../libstdc++6_4.4.5-8_i386.deb) ... Unpacking replacement libstdc++6 ... Processing triggers for man-db ... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" perl: warning: Falling back to the standard locale ("C"). /usr/bin/mandb: can't set the locale; make sure $LC_* and $LANG are correct are supported and installed on your system. manconv: can't set the locale; make sure $LC_* and $LANG are correct manconv: can't set the locale; make sure $LC_* and $LANG are correct manconv: can't set the locale; make sure $LC_* and $LANG are correct manconv: can't set the locale; make sure $LC_* and $LANG are correct manconv: can't set the locale; make sure $LC_* and $LANG are correct manconv: can't set the locale; make sure $LC_* and $LANG are correct manconv: can't set the locale; make sure $LC_* and $LANG are correct Setting up libstdc++6 (4.4.5-8) ... ... Selecting previously deselected package linux-image-2.6.32-5-686. Unpacking linux-image-2.6.32-5-686 (from .../linux-image-2.6.32-5-686_2.6.32-45_i386.deb) ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Preparing to replace linux-image-2.6-686 2.6.26+17+lenny1 (using .../linux-image-2.6-686_2.6.32+29_i386.deb) ... Unpacking replacement linux-image-2.6-686 ... Preparing to replace udev 0.125-7+lenny3 (using .../archives/udev_164-3_i386.deb) ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory unrecognized command 'log-priority=0' Unpacking replacement udev ... ... Preparing to replace xserver-xorg 1:7.3+20 (using .../xserver-xorg_1%3a7.5+8+squeeze1_i386.deb) ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead. Unpacking replacement xserver-xorg ... dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead. Preparing to replace xserver-xorg-video-apm 1:1.2.0-1 (using .../xserver-xorg-video-apm_1%3a1.2.2-2_i386.deb) ... Unpacking replacement xserver-xorg-video-apm ... Preparing to replace xserver-xorg-input-wacom 0.7.9.3-2 (using .../xserver-xorg-input-wacom_0.10.5+20100416-1_i386.deb) ... Unpacking replacement xserver-xorg-input-wacom ... Preparing to replace xserver-xorg-core 2:1.4.2-10.lenny2 (using .../xserver-xorg-core_2%3a1.7.7-14_i386.deb) ... Unpacking replacement xserver-xorg-core ... dpkg: warning: unable to delete old directory '/etc/X11/xserver': Directory not empty [the above set of warnings continued for various packages whenever man-db triggers were encountered, until this rather serious-sounding alert:] Setting up sysv-rc (2.88dsf-13.1+squeeze1) ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory info: Checking if it is safe to convert to dependency based boot. /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory Package configuration <DA><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4> <C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4>Ä´ Configuring sysv-rc <C3><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4> : <<B3> bug in the package, it should be reported to the BTS and fixed in the package. See <<B3> http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot for more information about how to <<B3> fix the problems preventing migration. <<B3> <<B3> To reattempt the migration process after the problems have been fixed, run "dpkg-reconfigure <<B3> sysv-rc". <<B3> <<B3> <Ok> <<B3> <<C0><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4> <C ><C4><C4><C4><C4><C4><C4><C4> <C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4> <C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><C4><D9> error: Unable to migrate to dependency based boot sequencing. error: Problems detected: package bluez-utils left obsolete init.d script behind See http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot for more information about dependency based boot sequencing. To reattempt the migration process run 'dpkg-reconfigure sysv-rc'. [There were no more locale or man-db errors after this point. Note that:] Selecting previously deselected package bluez. Unpacking bluez (from .../archives/bluez_4.66-3_i386.deb) ... dpkg: error processing /var/cache/apt/archives/bluez_4.66-3_i386.deb (--unpack): trying to overwrite '/etc/init.d/bluetooth', which is also in package bluez-utils 4.66-3 dpkg-deb: subprocess paste killed by signal (Broken pipe) Preparing to replace bluetooth 3.36-3 (using .../bluetooth_4.66-3_all.deb) ... ... Setting up sudo (1.7.4p4-2.squeeze.3) ... Installing new version of config file /etc/init.d/sudo ... mv: cannot stat `/var/run/sudo/*': No such file or directory Setting up xfonts-mathml (4) ... ... Setting up locales (2.11.3-3) ... Installing new version of config file /etc/locale.alias ... Generating locales (this might take a while)... en_US.UTF-8... done Generation complete. Setting up python2.5 (2.5.5-11) ... Setting up ed (1.4-3) ... Setting up libck-connector0 (0.4.1-4) ... Setting up libxcb-event1 (0.3.6-1) ... dpkg: dependency problems prevent configuration of bluez-gstreamer: bluez-gstreamer depends on bluez; however: Package bluez is not installed. dpkg: error processing bluez-gstreamer (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of bluetooth: bluetooth depends on bluez; however: Package bluez is not installed. dpkg: error processing bluetooth (--configure): dependency problems - leaving unconfigured Setting up libbluetooth3 (4.66-3) ... [After all packages are reported up to date in sketch (stable), I still got:] 121-73-239-129:~# dpkg-query -W -f='${Conffiles}\n' | grep obsolete /etc/default/bluetooth ae42b399df9a58ce830427cd53705f49 obsolete /etc/init.d/bluetooth 72d771738fa8480c1ad8caade6889f93 obsolete /etc/bluetooth/rfcomm.conf 0a87d3eddd29683c1456688907e67b4f obsolete /etc/bluetooth/hcid.conf 8acc8583c7d040696a64584749092d20 obsolete /etc/dbus-1/system.d/bluetooth.conf 7c8bef945980858418f98c05cde95be3 obsolete /etc/gnome-vfs-2.0/modules/theme-method.conf a37fc349b77cac4f210cb03755966b96 obsolete /etc/gnome-vfs-2.0/modules/font-method.conf ebf6d2796167da9826c434446c740a22 obsolete /etc/xdg/autostart/gnome-at-session.desktop 52c4eeb72650f572198ac3edead9e66b obsolete /etc/cups/oopstops.convs b1037d7b91885f0f7b82224d4bcc2766 obsolete /etc/cups/mime.types a7a6f550ad9e9a2bb8890bf9b7a7f445 obsolete /etc/cups/mime.convs d5b176354ef33b73e7087d662cffa430 obsolete /etc/cups/oopstops.types 725b23d5db635b3952bda4d97bb7a741 obsolete /etc/cups/pdftops.conf 04efb7cf36d45ee490b1c57b6e30d736 obsolete /etc/cups/acroread.conf 74fde568dd7616b3052f2cf6ee13e681 obsolete /etc/kde3/kdeglobals 03f62af2e6af270e0cb1b9e396fc5a78 obsolete /etc/dhcp3/dhclient-exit-hooks.d/rfc3442-classless-routes 1560edae6a0b640ab07593809f045f9b obsolete /etc/dhcp3/dhclient-exit-hooks.d/debug 34b179df34a6ac20dbb07542f33c8104 obsolete /etc/dhcp3/dhclient-enter-hooks.d/debug 23cdc0f2053ca58ee7ba5926af1296bc obsolete /etc/dhcp3/dhclient.conf 6e3910d75cd5cde0042ecb6d48492ae9 obsolete /etc/gnome/epiphany/default-prefs.js 60a28c11263b258f32928db025210473 obsolete /etc/magic.mime 272913026300e7ae9b5e2d51f138e674 obsolete /etc/magic 272913026300e7ae9b5e2d51f138e674 obsolete /etc/X11/Xsession.d/55gnome-session_gnomerc eb71ab7814b4b140f253fbd066c4a5d4 obsolete /etc/gnome/config/xrdb/Xaw.ad 8b1d2b8fd63d2966d223c36ac56a8081 obsolete /etc/gnome/config/xrdb/Tk.ad 0774b17084384112e7e2b5ef3d044b3c obsolete /etc/gnome/config/xrdb/Motif.ad 12aca8840f777bcbec2894578141f8e2 obsolete /etc/gnome/config/xrdb/Emacs.ad 348fea42a2bc046db8ba8323027d545b obsolete /etc/gnome/config/xrdb/Editres.ad 05a3123759008f95ddc2425c822bcfa4 obsolete /etc/gnome/config/xrdb/General.ad 49682440378a2c7ef52c37ee91f0ba0d obsolete /etc/defoma/hints/gsfonts.hints 593bec3fae2b36f13707f3f84f8f21e6 obsolete /etc/sane.d/dll.d/hplip 60fc397b1570c0694184588f86d56807 obsolete /etc/X11/Xsession.d/60seahorse a873ce5d2ea5e8c7eef6b9734ea632e1 obsolete /etc/xdg/autostart/update-notifier.desktop f3022b07111c965019c4dbc6672b3d1c obsolete /etc/udev/rules.d/z60_xserver-xorg-input-wacom.rules 32d6382e25ec786b58a85c4714ace969 obsolete