I have been stuck unable to upgrade this server for quite some time now and gave up. instead of re-installing I want to understand why im in such a pickle. here are the details (perl seems to be broken or something)
tuxlino2:/var/cache/apt/archives# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies. libaudio-cd-perl: Depends: libcdaudio1 (>= 0.99.12p2) but it is not installed libcdb-file-perl: Depends: perlapi-5.8.0 but it is not installable libdbd-dbftp-perl: Depends: perlapi-5.8.4 but it is not installable libdigest-nilsimsa-perl: Depends: perlapi-5.8.0 but it is not installable libgtk2-spell-perl: Depends: perlapi-5.8.4 but it is not installable libgtk2-trayicon-perl: Depends: perlapi-5.8.3 but it is not installable libgtk2-traymanager-perl: Depends: perlapi-5.8.4 but it is not installable libimage-rsvg-perl: Depends: perlapi-5.8.4 but it is not installable libiptables-ipv4-ipqueue-perl: Depends: perlapi-5.8.4 but it is not installable libmdn-perl: Depends: perlapi-5.8.0 but it is not installable libmsgcat-perl: Depends: perlapi-5.8.0 but it is not installable libnet-libidn-perl: Depends: perlapi-5.8.3 but it is not installable libogg-vorbis-header-perl: Depends: perlapi-5.8.2 but it is not installable libpsp-html-parser-perl: Depends: perlapi-5.8.0 but it is not installable libquota-perl: Depends: perlapi-5.8.2 but it is not installable libtext-chasen-perl: Depends: perlapi-5.8.1 but it is not installable libtext-unaccent-perl: Depends: perlapi-5.8.4 but it is not installable libunicode-japanese-perl: Depends: perlapi-5.8.4 but it is not installable E: Unmet dependencies. Try using -f. tuxlino2:/var/cache/apt/archives# apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies...Done The following packages were automatically installed and are no longer required: libsufary2 libgstreamer0.8-0 gnome-nettool libcfitsio2 libbeagle0 java-common gnome-themes libart2 libedata-cal1.2-5 libsoup2.2-8 libttf2 libdata-compare-perl finger libegroupwise1.2-10 libxmu-dev libecal1.2-6 libxml1 libgdk-pixbuf2 libcdaudio0 libedataserver1.2-7 libgstreamer-plugins0.8-0 libmdnkit9 libtotem-plparser1 gtk2-engines-spherecrystal x-dev Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libcdaudio1 libchasen2 libgtk2-spell-perl libgtk2-trayicon-perl libgtk2-traymanager-perl libiptables-ipv4-ipqueue-perl libmsgcat-perl libnet-libidn-perl libogg-vorbis-header-perl libpsp-html-parser-perl libquota-perl libtext-chasen-perl libtext-unaccent-perl libunicode-japanese-perl The following packages will be REMOVED libcdb-file-perl libchasen0 libdbd-dbftp-perl libdigest-nilsimsa-perl libimage-rsvg-perl libmdn-perl The following NEW packages will be installed libcdaudio1 libchasen2 The following packages will be upgraded: libgtk2-spell-perl libgtk2-trayicon-perl libgtk2-traymanager-perl libiptables-ipv4-ipqueue-perl libmsgcat-perl libnet-libidn-perl libogg-vorbis-header-perl libpsp-html-parser-perl libquota-perl libtext-chasen-perl libtext-unaccent-perl libunicode-japanese-perl 12 upgraded, 2 newly installed, 6 to remove and 1203 not upgraded. 12 not fully installed or removed. Need to get 0B/603kB of archives. After this operation, 1524kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 225127 files and directories currently installed.) Unpacking libcdaudio1 (from .../libcdaudio1_0.99.12p2-7_i386.deb) ... dpkg: error processing /var/cache/apt/archives/libcdaudio1_0.99.12p2-7_i386.deb (--unpack): trying to overwrite `/usr/lib/libcdaudio.so.1.0.0', which is also in package libcdaudio0 Errors were encountered while processing: /var/cache/apt/archives/libcdaudio1_0.99.12p2-7_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) tuxlino2:/var/cache/apt/archives# ls /usr/lib/libcdaudio.so.1.0.0 /usr/lib/libcdaudio.so.1.0.0 tuxlino2:/var/cache/apt/archives# ls -o /usr/lib/libcdaudio.so.1.0.0 -rw-r--r-- 1 root 0 2009-04-07 14:36 /usr/lib/libcdaudio.so.1.0.0 tuxlino2:/var/cache/apt/archives# chmod 777 /usr/lib/libcdaudio.so.1.0.0 tuxlino2:/var/cache/apt/archives# apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies...Done The following packages were automatically installed and are no longer required: libsufary2 libgstreamer0.8-0 gnome-nettool libcfitsio2 libbeagle0 java-common gnome-themes libart2 libedata-cal1.2-5 libsoup2.2-8 libttf2 libdata-compare-perl finger libegroupwise1.2-10 libxmu-dev libecal1.2-6 libxml1 libgdk-pixbuf2 libcdaudio0 libedataserver1.2-7 libgstreamer-plugins0.8-0 libmdnkit9 libtotem-plparser1 gtk2-engines-spherecrystal x-dev Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libcdaudio1 libchasen2 libgtk2-spell-perl libgtk2-trayicon-perl libgtk2-traymanager-perl libiptables-ipv4-ipqueue-perl libmsgcat-perl libnet-libidn-perl libogg-vorbis-header-perl libpsp-html-parser-perl libquota-perl libtext-chasen-perl libtext-unaccent-perl libunicode-japanese-perl The following packages will be REMOVED libcdb-file-perl libchasen0 libdbd-dbftp-perl libdigest-nilsimsa-perl libimage-rsvg-perl libmdn-perl The following NEW packages will be installed libcdaudio1 libchasen2 The following packages will be upgraded: libgtk2-spell-perl libgtk2-trayicon-perl libgtk2-traymanager-perl libiptables-ipv4-ipqueue-perl libmsgcat-perl libnet-libidn-perl libogg-vorbis-header-perl libpsp-html-parser-perl libquota-perl libtext-chasen-perl libtext-unaccent-perl libunicode-japanese-perl 12 upgraded, 2 newly installed, 6 to remove and 1203 not upgraded. 12 not fully installed or removed. Need to get 0B/603kB of archives. After this operation, 1524kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 225127 files and directories currently installed.) Unpacking libcdaudio1 (from .../libcdaudio1_0.99.12p2-7_i386.deb) ... dpkg: error processing /var/cache/apt/archives/libcdaudio1_0.99.12p2-7_i386.deb (--unpack): trying to overwrite `/usr/lib/libcdaudio.so.1.0.0', which is also in package libcdaudio0 Errors were encountered while processing: /var/cache/apt/archives/libcdaudio1_0.99.12p2-7_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) tuxlino2:/var/cache/apt/archives# dpkg -l perl\* | awk '/^i/{print $1,$2,$3}' ii perl 5.10.0-19 ii perl-base 5.10.0-19 ii perl-debug 5.10.0-19 ii perl-mapscript 5.0.2-2+b1 ii perl-modules 5.10.0-19 ii perl-suid 5.10.0-19 ii perl-tk 1:804.028-1+b1 ii perl2html 0.9.2-2 ii perlindex 1.502-2.1 ii perlmagick 7:6.3.7.9.dfsg1-2+b2 tuxlino2:/var/cache/apt/archives# stat /usr/share/perl/5.10.0/Pod/Usage.pm File: `/usr/share/perl/5.10.0/Pod/Usage.pm' Size: 21329 Blocks: 48 IO Block: 4096 regular file Device: 301h/769d Inode: 2099659 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2009-04-07 14:14:53.000000000 -0400 Modify: 2009-01-01 08:03:08.000000000 -0500 Change: 2009-04-07 14:15:00.000000000 -0400 tuxlino2:/var/cache/apt/archives# ls -l /usr/share/perl total 12 lrwxrwxrwx 1 root root 6 2008-06-17 13:42 5.10 -> 5.10.0 drwxr-xr-x 46 root root 8192 2009-04-07 14:15 5.10.0 drwxr-xr-x 3 root root 4096 2008-06-17 13:42 5.8.8 thank you for your time Jason