As far as I know, by default Debian does not use termcap. There for, I consider the following a bug somewhere.
Cannot find termcap: Can't find a valid termcap file at /usr/lib/perl5/5.005/Term/ReadLine.pm line 305 Am I right? Whose package is responsible? The more complete picture is the following: [04:14:04 /tmp]# apt-get dist-upgrade Reading Package Lists... Done Building Dependency Tree... Done Calculating Upgrade... Done 1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 5 packages not fully installed or removed. Need to get 0B/118kB of archives. After unpacking 62.5kB will be freed. Do you want to continue? [Y/n] Cannot find termcap: Can't find a valid termcap file at /usr/lib/perl5/5.005/Term/ReadLine.pm line 305 Configuring packages ... (Reading database ... 37904 files and directories currently installed.) Preparing to replace debconf 0.2.60 (using .../debconf_0.2.65_all.deb) ... Unpacking replacement debconf ... dpkg: error processing /var/cache/apt/archives/debconf_0.2.65_all.deb (--unpack): trying to overwrite directory `/usr/sbin' in package logrotate with nondirectory Cannot find termcap: Can't find a valid termcap file at /usr/lib/perl5/5.005/Term/ReadLine.pm line 305 Errors were encountered while processing: /var/cache/apt/archives/debconf_0.2.65_all.deb E: Sub-process returned an error code (1) [04:15:36 /tmp]# The debconf error is already reported by someone else.