Received: (at submit) by bugs.debian.org; 29 Mar 1997 08:05:32 +0000 Received: (qmail 7837 invoked from network); 29 Mar 1997 08:05:31 -0000 Received: from haven.uchicago.edu (root@128.135.12.3) by master.debian.org with SMTP; 29 Mar 1997 08:05:31 -0000 Received: from midway.uchicago.edu (root@midway.uchicago.edu [128.135.12.12]) by haven.uchicago.edu (8.8.5/8.8.5) with ESMTP id CAA07062 for ; Sat, 29 Mar 1997 02:05:17 -0600 (CST) Received: from kimbark.uchicago.edu (root@kimbark.uchicago.edu [128.135.12.52]) by midway.uchicago.edu (8.8.5/8.8.3) with ESMTP id CAA20858 for ; Sat, 29 Mar 1997 02:03:24 -0600 (CST) Received: from kimbark.uchicago.edu (3323@localhost [127.0.0.1]) by kimbark.uchicago.edu (8.8.5/8.8.3) with ESMTP id CAA29666 for ; Sat, 29 Mar 1997 02:03:23 -0600 (CST) Message-Id: <199703290803.CAA29666@kimbark.uchicago.edu> To: submit@bugs.debian.org Reply-To: c-wiegert@uchicago.edu Subject: dpkg doesn't properly upgrade? Date: Sat, 29 Mar 1997 02:03:22 -0600 From: "Craig Wiegert :: Let Us Now Honor Planck" Package: dpkg Version: 1.4.0.7 Let's say I install kpathsea_2.6-2.deb and then remove /usr/lib/texmf/web2c/texmf.cnf. Realizing my silly mistake, I want to re-install the package. So: # dpkg --install kpathsea_2.6-2.deb (Reading database ... 6471 files and directories currently installed.) Preparing to replace kpathsea 2.6-2 (using kpathsea_2.6-2.deb) ... Unpacking replacement kpathsea ... Setting up kpathsea (2.6-2) ... # ls /usr/lib/texmf/web2c/ # Why isn't texmf.cnf re-installed? The same behavior occurs even if I remove the kpathsea package (with a --force-depends because of tex package dependencies) and then re-install. However, if I remove the package, then delete /var/lib/dpkg/info/kpathsea.* and then re-install, everything is fine. This behavior doesn't occur with other files in the kpathsea package - so perhaps it has something to do with texmf.cnf being listed as a conffile?? Hmmm... I just tried the same thing with mflib_1.0-8.deb and its conffile /etc/cron.weekly/mflib, and got the same behavior. Incidentally, the missing /usr/lib/texmf/web2c/texmf.cnf may be the cause of some other bugs (e.g. #7174, #6382). I was getting the same error messages as these two while re-installing TeX. After doing a 'mv /usr/lib/texmf /usr/lib/oldtexmf' I proceeded to re-install -- but forgot to re-install kpathsea, thus causing the error reported in configuring texbin. - Craig