apt-get dist-upgrade from woody to sid has left my system with a bunch of packages that are broken and unremoveable; no combination of apt-get -f install, apt-get -f dist-upgrade, dpkg --configure -a, dpkg -P [broken packages], apt-get remove [broken packages] has sorted it out.
(please cc [EMAIL PROTECTED] with any replies.) geordie. an example from my world of pain: # apt-get -fuy dist-upgrade Reading Package Lists... Building Dependency Tree... The following packages will be upgraded ark groff kchart kedit kghostview killustrator kpackage kpresenter kspread kview kword ssh 12 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 33 packages not fully installed or removed. Need to get 0B/8667kB of archives. After unpacking 1030kB will be used. (Reading database ... 27624 files and directories currently installed.) Preparing to replace groff 1.16-3 (using .../groff_1.16-3.2_i386.deb) ... Unpacking replacement groff ... Can't locate warnings.pm in @INC (@INC contains: /usr/lib/perl5 /usr/lib/perl5/5.6/i386-linux /usr/lib/perl5/5.6 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 .) at /usr/lib/perl5/5.6/warnings/register.pm line 3. Compilation failed in require at /usr/lib/perl5/5.6/vars.pm line 11. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/vars.pm line 11. Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. Compilation failed in require at /usr/sbin/update-mime line 48. BEGIN failed--compilation aborted at /usr/sbin/update-mime line 48. dpkg: warning - old post-removal script returned error exit status 2 dpkg - trying script from the new package instead ... Can't locate warnings.pm in @INC (@INC contains: /usr/lib/perl5 /usr/lib/perl5/5.6/i386-linux /usr/lib/perl5/5.6 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 .) at /usr/lib/perl5/5.6/warnings/register.pm line 3. Compilation failed in require at /usr/lib/perl5/5.6/vars.pm line 11. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/vars.pm line 11. Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. Compilation failed in require at /usr/sbin/update-mime line 48. BEGIN failed--compilation aborted at /usr/sbin/update-mime line 48. dpkg: error processing /var/cache/apt/archives/groff_1.16-3.2_i386.deb (--unpack): subprocess new post-removal script returned error exit status 2 Can't locate warnings.pm in @INC (@INC contains: /usr/lib/perl5 /usr/lib/perl5/5.6/i386-linux /usr/lib/perl5/5.6 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 .) at /usr/lib/perl5/5.6/warnings/register.pm line 3. Compilation failed in require at /usr/lib/perl5/5.6/vars.pm line 11. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/vars.pm line 11. Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. Compilation failed in require at /usr/sbin/update-mime line 48. BEGIN failed--compilation aborted at /usr/sbin/update-mime line 48. dpkg: error while cleaning up: [...] Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. Compilation failed in require at /usr/sbin/update-mime line 48. BEGIN failed--compilation aborted at /usr/sbin/update-mime line 48. dpkg: warning - old post-removal script returned error exit status 2 dpkg - trying script from the new package instead ... Can't locate warnings.pm in @INC (@INC contains: /usr/lib/perl5 /usr/lib/perl5/5.6/i386-linux /usr/lib/perl5/5.6 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 .) at /usr/lib/perl5/5.6/warnings/register.pm line 3. Compilation failed in require at /usr/lib/perl5/5.6/vars.pm line 11. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/vars.pm line 11. Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. Compilation failed in require at /usr/sbin/update-mime line 48. BEGIN failed--compilation aborted at /usr/sbin/update-mime line 48. dpkg: error processing /var/cache/apt/archives/kview_4%3a2.1-beta2-2_i386.deb (--unpack): subprocess new post-removal script returned error exit status 2 Can't locate warnings.pm in @INC (@INC contains: /usr/lib/perl5 /usr/lib/perl5/5.6/i386-linux /usr/lib/perl5/5.6 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 .) at /usr/lib/perl5/5.6/warnings/register.pm line 3. Compilation failed in require at /usr/lib/perl5/5.6/vars.pm line 11. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/vars.pm line 11. Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. Compilation failed in require at /usr/sbin/update-mime line 48. BEGIN failed--compilation aborted at /usr/sbin/update-mime line 48. dpkg: error while cleaning up: subprocess post-removal script returned error exit status 2 Preparing to replace kword 2.0.1-0.potato2 (using .../kword_2.1-beta2-0128-1_i386.deb) ... Unpacking replacement kword ... Can't locate warnings.pm in @INC (@INC contains: /usr/lib/perl5 /usr/lib/perl5/5.6/i386-linux /usr/lib/perl5/5.6 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 .) at /usr/lib/perl5/5.6/warnings/register.pm line 3. Compilation failed in require at /usr/lib/perl5/5.6/vars.pm line 11. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/vars.pm line 11. Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. Compilation failed in require at /usr/sbin/update-mime line 48. BEGIN failed--compilation aborted at /usr/sbin/update-mime line 48. dpkg: warning - old post-removal script returned error exit status 2 dpkg - trying script from the new package instead ... Can't locate warnings.pm in @INC (@INC contains: /usr/lib/perl5 /usr/lib/perl5/5.6/i386-linux /usr/lib/perl5/5.6 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 .) at /usr/lib/perl5/5.6/warnings/register.pm line 3. Compilation failed in require at /usr/lib/perl5/5.6/vars.pm line 11. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/vars.pm line 11. Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. Compilation failed in require at /usr/sbin/update-mime line 48. BEGIN failed--compilation aborted at /usr/sbin/update-mime line 48. dpkg: error processing /var/cache/apt/archives/kword_2.1-beta2-0128-1_i386.deb (--unpack): subprocess new post-removal script returned error exit status 2 Can't locate warnings.pm in @INC (@INC contains: /usr/lib/perl5 /usr/lib/perl5/5.6/i386-linux /usr/lib/perl5/5.6 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 .) at /usr/lib/perl5/5.6/warnings/register.pm line 3. Compilation failed in require at /usr/lib/perl5/5.6/vars.pm line 11. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/vars.pm line 11. Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/Errno.pm line 6. Compilation failed in require at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6/i386-linux/File/Glob.pm line 10. Compilation failed in require at /usr/sbin/update-mime line 48. BEGIN failed--compilation aborted at /usr/sbin/update-mime line 48. dpkg: error while cleaning up: subprocess post-removal script returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/groff_1.16-3.2_i386.deb /var/cache/apt/archives/lynx_2.8.3-1_i386.deb /var/cache/apt/archives/ssh_1%3a2.3.0p1-1.11_i386.deb /var/cache/apt/archives/ark_4%3a2.1-beta2-0128-1_i386.deb /var/cache/apt/archives/kchart_2.1-beta2-0128-1_i386.deb /var/cache/apt/archives/kedit_4%3a2.1-beta2-0128-1_i386.deb /var/cache/apt/archives/kghostview_4%3a2.1-beta2-2_i386.deb /var/cache/apt/archives/killustrator_2.1-beta2-0128-1_i386.deb /var/cache/apt/archives/kivio_2.1-beta2-0128-1_i386.deb /var/cache/apt/archives/kpackage_4%3a2.1-beta2-1_i386.deb /var/cache/apt/archives/kpresenter_2.1-beta2-0128-1_i386.deb /var/cache/apt/archives/kspread_2.1-beta2-0128-1_i386.deb /var/cache/apt/archives/kview_4%3a2.1-beta2-2_i386.deb /var/cache/apt/archives/kword_2.1-beta2-0128-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)